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 |