1,649
edits
(→Code) |
(→Code) |
||
Line 47: | Line 47: | ||
The code is available on [https://github.com/londonhackspace/spacensus GitHub] - please be kind it's my first Arduino project and I know the code is filth. | The code is available on [https://github.com/londonhackspace/spacensus GitHub] - please be kind it's my first Arduino project and I know the code is filth. | ||
The detection aspects of spacensus use an interrupt driven state machine. | The detection aspects of spacensus use an interrupt driven state machine. Anything that isn't time critical stuff happens in a run-loop. | ||
[[File:Spacensus state machine diagram.png|border|640px|left]] | [[File:Spacensus state machine diagram.png|border|640px|left]] |
edits