@@ -6,23 +6,32 @@ In order to work correctly, the Sense HAT requires an up to date kernel, I2C ena
6
6
7
7
1 . Ensure your apt package list is up to date:
8
8
9
- sudo apt-get update
9
+ ``` bash
10
+ sudo apt-get update
11
+ ```
10
12
11
- 2 . Next, install the sense-hat package, which will ensure the kernel is up to date, enable I2C and install the necessary libraries and programs:
13
+ 1 . Next, install the sense-hat package, which will ensure the kernel is up to date, enable I2C and install the necessary libraries and programs:
12
14
13
- sudo apt-get install sense-hat
15
+ ` ` ` bash
16
+ sudo apt-get install sense-hat
17
+ ` ` `
14
18
15
- 3 . The python-sense-hat library requires pillow to be installed in order to work under Python 3:
19
+ 1 . The python-sense-hat library requires pillow to be installed in order to work under Python 3:
16
20
17
- sudo pip-3.2 install pillow
21
+ ` ` ` bash
22
+ sudo apt-get install python3-pip
23
+ sudo pip-3.2 install pillow
24
+ ` ` `
18
25
19
- 4 . Finally, a reboot may be required if I2C was disabled or the kernel was not up to date prior to the install:
26
+ 1 . Finally, a reboot may be required if I2C was disabled or the kernel was not up to date prior to the install:
20
27
21
- sudo shutdown -r now
28
+ ` ` ` bash
29
+ sudo reboot
30
+ ` ` `
22
31
23
32
# # Software overview
24
33
25
- After installation, example code can be found under /usr/src/sense-hat/examples.
34
+ After installation, example code can be found under ` /usr/src/sense-hat/examples` .
26
35
27
36
These can be copied to the user' s home directory by running `cp /usr/src/sense-hat/examples ~/ -a`.
28
37
@@ -36,7 +45,7 @@ The RTIMULibDrive11 example comes pre-compiled to help ensure everything works a
36
45
37
46
sense-hat is the officially supported library for the Sense HAT and provides access to all of the on-board sensors and the LED matrix.
38
47
39
- Complete documentation can be found [ here ] ( https://pythonhosted.org/sense-hat/ ) .
48
+ Complete documentation can be found at [pythonhosted.org/sense-hat ](https://pythonhosted.org/sense-hat/).
40
49
41
50
### RTIMULib
42
51
0 commit comments