This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sbc1 | |
| from gpio import * | |
| from time import * | |
| from ioeclient import * | |
| from environment import * | |
| state = LOW | |
| def detect(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SBC1 | |
| from gpio import * | |
| from time import * | |
| from ioeclient import * | |
| from environment import * | |
| state = LOW | |
| def detect(): | |
| global state |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sbc0 | |
| from gpio import * | |
| from time import * | |
| from ioeclient import * | |
| from environment import * | |
| state = LOW | |
| def detect(): |