diff options
Diffstat (limited to 'include/msp430fr5969lp')
-rw-r--r-- | include/msp430fr5969lp/driver/gpio.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/msp430fr5969lp/driver/gpio.h b/include/msp430fr5969lp/driver/gpio.h new file mode 100644 index 0000000..177e7c5 --- /dev/null +++ b/include/msp430fr5969lp/driver/gpio.h @@ -0,0 +1,18 @@ +#ifndef GPIO_H +#define GPIO_H + +class GPIO { + private: + GPIO(const GPIO ©); + + public: + GPIO () {} + void setup(); + void led_on(unsigned char id); + void led_off(unsigned char id); + void led_toggle(unsigned char id); +}; + +extern GPIO gpio; + +#endif |