blackbox/main.h

changeset 64
61f88f973eba
parent 47
34ac9f92bc1e
child 69
27c0c0095e26
equal deleted inserted replaced
63:ea1e8dcbec44 64:61f88f973eba
88 88
89 #define DDR(x) (*(&x - 1)) // address of data direction register of port x 89 #define DDR(x) (*(&x - 1)) // address of data direction register of port x
90 #define PIN(x) (*(&x - 2)) // address of input register of port x 90 #define PIN(x) (*(&x - 2)) // address of input register of port x
91 91
92 92
93 // constants
94 #define MAX_SLOTS 6
95
93 96
94 // MAYBE USELESS STUFF: 97 // MAYBE USELESS STUFF:
95 98
96 #define uchar unsigned char 99 #define uchar unsigned char
97 #define uint unsigned int 100 #define uint unsigned int

mercurial