Skip to content

Instantly share code, notes, and snippets.

View atduskgreg's full-sized avatar

Greg Borenstein atduskgreg

View GitHub Profile
// I am forking this separately.
#import <Foundation/Foundation.h>
typedef enum _WRSideIdentifier {
kWRSideLeft = 1 << 0,
kWRSideRight = 1 << 1,
kWRSideBottom = 1 << 2,
kWRSideTop = 1 << 3
} WRSideIdentifier
// I am changing this 1
#import <Foundation/Foundation.h>
typedef enum _WRSideIdentifier {
kWRSideLeft = 1 << 0,
kWRSideRight = 1 << 1,
kWRSideBottom = 1 << 2,
kWRSideTop = 1 << 3
} WRSideIdentifier

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support

P1 -> propeller(:motor)
P2 -> led
P3, P4 <-> xbee(:serial)
P6 <- button(:button)
P7 <- thermometer(:analog)
when button.pushed
led.off
end