How to use UPS HAT via driver: Difference between revisions
No edit summary |
|||
| Line 18: | Line 18: | ||
* Download the zip package;([[File:Rpi-ups-hat-20190621.zip]] [[File:Rpi-ups-hat.zip]]) | * Download the zip package;([[File:Rpi-ups-hat-20190621.zip]] [[File:Rpi-ups-hat.zip]]) | ||
unzip Rpi-ups-hat.zip | unzip Rpi-ups-hat.zip | ||
cd rpi-ups-hat | cd rpi-ups-hat | ||
| Line 24: | Line 23: | ||
* Run the sample program | * Run the sample program | ||
sudo python example.py | sudo python example.py | ||
[[Category:Knowledge]] | |||