Anonymous

Project:Dispatcher: Difference between revisions

From London Hackspace Wiki
m (moved Projects/Dispatcher to Project:Dispatcher: Moving namespaces)
Line 43: Line 43:
  wht    1a              led strobe               
  wht    1a              led strobe               
  yel    5y              from buttons data (output from the board)
  yel    5y              from buttons data (output from the board)
NOTE: the colours are NOT CONSISTENT across boards. I've found some with flipped orange/black - tomw


There are 32 leds, the bits are:
There are 32 leds, the bits are:
Line 86: Line 89:


When you read in the button bits and the result with 0x3fffffff to ignore the unused bits.
When you read in the button bits and the result with 0x3fffffff to ignore the unused bits.
Also if you use Arduinos make sure you cast things to longs before bit shifting, otherwise 1<< 31 doesnt work
77

edits