![](/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
Diff: quattro.h
- Revision:
- 0:11b872c2badc
diff -r 000000000000 -r 11b872c2badc quattro.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/quattro.h Fri Feb 05 02:30:50 2016 +0000 @@ -0,0 +1,31 @@ +#ifndef QUATTRO_H +#define QUATTRO_H included + +#define PIN_OLED_MISO PTD7 +#define PIN_OLED_MOSI PTD6 +#define PIN_OLED_SCLK PTD5 +#define PIN_OLED_CS PTD4 +#define PIN_OLED_RS PTA13 + +extern DigitalOut *led3_org ; +extern DigitalOut *led4_org ; +extern DigitalOut *led5_org ; +extern DigitalOut *led6_org ; +extern DigitalOut *led7_grn ; + +extern DigitalOut *oled_cs ; +extern DigitalOut *oled_rs ; + +extern DigitalIn *sw3_r ; +extern DigitalIn *sw4_g ; +extern DigitalIn *sw4_b ; + +extern InterruptIn *int3_r ; +extern InterruptIn *int4_g ; +extern InterruptIn *int5_b ; + +extern SPI *oled ; + +void init_quattro(void) ; + +#endif /* QUATTRO_H */ \ No newline at end of file