Shiftregister implementation (#135)

* Basic support of SIPO shift register

* typo

* add example of shiftregister for arduino and nucleo

* Fix build flag for nucleof103rb

* Fix wrong data pin configuration

* Change README.md for Shift registers

* Add API for individual register's output pin

* Rewrite shift register example to show ShiftPin usage

* Fix target for shiftregister example smoke test

* Fix type in makefile

* Add shiftregister compatble IC

* Edit comment and readme
This commit is contained in:
Jean François CASSAN
2020-03-04 18:48:06 +01:00
committed by GitHub
parent 12ac4c2c06
commit c7cbd7c6cd
4 changed files with 221 additions and 1 deletions
+2
View File
@@ -121,5 +121,7 @@ smoke-test:
@md5sum ./build/test.hex
tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/l9110x/speed/main.go
@md5sum ./build/test.hex
tinygo build -size short -o ./build/test.hex -target=nucleo-f103rb ./examples/shiftregister/main.go
@md5sum ./build/test.hex
test: clean fmt-check smoke-test