NXC
Version 1.2.1 r5
|
Constants for controlling the 8 digital pins. More...
Macros | |
#define | DIGI_PIN0 0x01 |
#define | DIGI_PIN1 0x02 |
#define | DIGI_PIN2 0x04 |
#define | DIGI_PIN3 0x08 |
#define | DIGI_PIN4 0x10 |
#define | DIGI_PIN5 0x20 |
#define | DIGI_PIN6 0x40 |
#define | DIGI_PIN7 0x80 |
Constants for controlling the 8 digital pins.
The eight digital inputs are returned as a byte representing the state of the eight inputs. The eight digital outputs are controlled by two bytes, the first of which sets the state of any of the signals which have been defined as outputs and the second of which controls the input/output state of each signal.