mirror of
https://github.com/CopterExpress/clover.git
synced 2026-06-01 07:29:32 +00:00
Compare commits
1 Commits
v0.23-rc.3
...
fix-gpio
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a72bf9cbad |
@@ -26,6 +26,7 @@ cd /home/pi/catkin_ws/src/clover/builder/test/
|
||||
./tests.sh
|
||||
./tests.py
|
||||
./tests_py3.py
|
||||
./test_pigpio.py
|
||||
[[ $(./test_qr.py) == "Found QRCODE with data Проверка Unicode with center at x=66.0, y=66.0" ]]
|
||||
[[ $(./tests_clever.py) == "Warning: clever package is renamed to clover" ]] # test backwards compatibility
|
||||
|
||||
|
||||
6
builder/test/test_pigpio.py
Normal file
6
builder/test/test_pigpio.py
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import pigpio
|
||||
pi = pigpio.pi()
|
||||
pi.set_mode(24, pigpio.OUTPUT)
|
||||
pi.write(24, True)
|
||||
Reference in New Issue
Block a user