Created
July 29, 2014 13:01
-
-
Save imp-guru/39907ed147ce90058f50 to your computer and use it in GitHub Desktop.
Define constants for Electric Imp
This file contains 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
// Integer constants | |
const ACTIVE = 0; | |
const IDLE = 1; | |
// Hex constants | |
const READ = 0x80; | |
const WRITE = 0x00; | |
const BURST = 0x40; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment