![](/media/cache/group/quattro-II-150930.jpg.50x50_q85.jpg)
Vishay VEML6075 UV Sensor test program on quattro
Dependencies: TFT_fonts UniGraphic VEML6075 mbed vt100
quattro.h@0:11b872c2badc, 2016-02-05 (annotated)
- Committer:
- shockey
- Date:
- Fri Feb 05 02:30:50 2016 +0000
- Revision:
- 0:11b872c2badc
First working version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shockey | 0:11b872c2badc | 1 | #ifndef QUATTRO_H |
shockey | 0:11b872c2badc | 2 | #define QUATTRO_H included |
shockey | 0:11b872c2badc | 3 | |
shockey | 0:11b872c2badc | 4 | #define PIN_OLED_MISO PTD7 |
shockey | 0:11b872c2badc | 5 | #define PIN_OLED_MOSI PTD6 |
shockey | 0:11b872c2badc | 6 | #define PIN_OLED_SCLK PTD5 |
shockey | 0:11b872c2badc | 7 | #define PIN_OLED_CS PTD4 |
shockey | 0:11b872c2badc | 8 | #define PIN_OLED_RS PTA13 |
shockey | 0:11b872c2badc | 9 | |
shockey | 0:11b872c2badc | 10 | extern DigitalOut *led3_org ; |
shockey | 0:11b872c2badc | 11 | extern DigitalOut *led4_org ; |
shockey | 0:11b872c2badc | 12 | extern DigitalOut *led5_org ; |
shockey | 0:11b872c2badc | 13 | extern DigitalOut *led6_org ; |
shockey | 0:11b872c2badc | 14 | extern DigitalOut *led7_grn ; |
shockey | 0:11b872c2badc | 15 | |
shockey | 0:11b872c2badc | 16 | extern DigitalOut *oled_cs ; |
shockey | 0:11b872c2badc | 17 | extern DigitalOut *oled_rs ; |
shockey | 0:11b872c2badc | 18 | |
shockey | 0:11b872c2badc | 19 | extern DigitalIn *sw3_r ; |
shockey | 0:11b872c2badc | 20 | extern DigitalIn *sw4_g ; |
shockey | 0:11b872c2badc | 21 | extern DigitalIn *sw4_b ; |
shockey | 0:11b872c2badc | 22 | |
shockey | 0:11b872c2badc | 23 | extern InterruptIn *int3_r ; |
shockey | 0:11b872c2badc | 24 | extern InterruptIn *int4_g ; |
shockey | 0:11b872c2badc | 25 | extern InterruptIn *int5_b ; |
shockey | 0:11b872c2badc | 26 | |
shockey | 0:11b872c2badc | 27 | extern SPI *oled ; |
shockey | 0:11b872c2badc | 28 | |
shockey | 0:11b872c2badc | 29 | void init_quattro(void) ; |
shockey | 0:11b872c2badc | 30 | |
shockey | 0:11b872c2badc | 31 | #endif /* QUATTRO_H */ |