![]() |
eBoard
①⑧⑨
Written for SIA 2017/2018
|
This tutorial shows you how to deal with the Shift extension! More...
This tutorial shows you how to deal with the Shift extension!
It is possible to extend the amount of available pins via SN74HC595 Shift-Registers. Connect them like this:
To assign this pins with the special values you can use the SoccerBoard::power() [SoccerBoard::powerOn(); SoccerBoard::powerOff()] Syntax with pinIDs >99 [100 => 0 etc.] This is an example-program:
This will set the Output value of Pin 100 (Q0 on the first SN74HC595) to HIGH.
store_bits can be modified via bitSet()/bitClear() or long assignment (like = 1000);