sqefqsdf
Dependencies: C12832 EthernetInterface LM75B mbed-rtos mbed
Fork of app-board-LM75B by
LCD.h@6:77a4c45f6416, 2017-03-23 (annotated)
- Committer:
- gimohd
- Date:
- Thu Mar 23 12:51:27 2017 +0000
- Revision:
- 6:77a4c45f6416
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gimohd | 6:77a4c45f6416 | 1 | #ifndef LCD_H |
gimohd | 6:77a4c45f6416 | 2 | #define LCD_H |
gimohd | 6:77a4c45f6416 | 3 | |
gimohd | 6:77a4c45f6416 | 4 | #include "mbed.h" |
gimohd | 6:77a4c45f6416 | 5 | #include "C12832.h" |
gimohd | 6:77a4c45f6416 | 6 | |
gimohd | 6:77a4c45f6416 | 7 | //Class to control an RGB LED using three PWM pins |
gimohd | 6:77a4c45f6416 | 8 | class LCD: public C12832 |
gimohd | 6:77a4c45f6416 | 9 | { |
gimohd | 6:77a4c45f6416 | 10 | public: |
gimohd | 6:77a4c45f6416 | 11 | |
gimohd | 6:77a4c45f6416 | 12 | /** |
gimohd | 6:77a4c45f6416 | 13 | * Create a C12832 object connected to SPI1 |
gimohd | 6:77a4c45f6416 | 14 | */ |
gimohd | 6:77a4c45f6416 | 15 | LCD(PinName mosi, PinName sck, PinName reset, PinName a0, PinName ncs); |
gimohd | 6:77a4c45f6416 | 16 | }; |
gimohd | 6:77a4c45f6416 | 17 | |
gimohd | 6:77a4c45f6416 | 18 | #endif |