Compare commits

...

1 Commits

Author SHA1 Message Date
Oleg Kalachev
a72bf9cbad Add tests for pigpio 2021-11-22 17:45:39 +03:00
2 changed files with 7 additions and 0 deletions

View File

@@ -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

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env python3
import pigpio
pi = pigpio.pi()
pi.set_mode(24, pigpio.OUTPUT)
pi.write(24, True)