Strength of Irradiance and the UV Index chart page added

Dependencies:   TFT_fonts UniGraphic VEML6075 mbed vt100

Fork of quattro_vishay_6075 by quattro_dev

This is a forked version of quattro_vishay_6075.
An additional Strength of Irradiance and the UV Index page added.

NOTE: Please update the VEML6075.lib before compile.

/media/uploads/Rhyme/img_2118.jpg

Revision:
0:11b872c2badc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/quattro.cpp	Fri Feb 05 02:30:50 2016 +0000
@@ -0,0 +1,39 @@
+#include "mbed.h"
+#include "quattro.h"
+// #include "oled_lcd.h"
+
+DigitalOut *led3_org = 0 ;
+DigitalOut *led4_org = 0 ;
+DigitalOut *led5_org = 0 ;
+DigitalOut *led6_org = 0 ;
+DigitalOut *led7_grn = 0 ;
+DigitalOut *oled_cs = 0 ;
+DigitalOut *oled_rs = 0 ;
+
+DigitalIn *sw3_r = 0 ;
+DigitalIn *sw4_g = 0 ;
+DigitalIn *sw5_b = 0 ;
+
+InterruptIn *int3_r = 0 ;
+InterruptIn *int4_g = 0 ;
+InterruptIn *int5_b = 0 ;
+
+void init_quattro(void)
+{
+ //   oled_cs = new DigitalOut(PIN_OLED_CS, 1) ;
+ //   oled_rs = new DigitalOut(PIN_OLED_RS, 1) ;
+    
+    led3_org = new DigitalOut(PTB0, 1) ;
+    led4_org = new DigitalOut(PTB1, 1) ;
+    led5_org = new DigitalOut(PTC5, 1) ;
+    led6_org = new DigitalOut(PTC6, 1) ;
+    led7_grn = new DigitalOut(PTC7, 1) ;
+/*
+    sw3_r = new DigitalIn(PTC1) ;
+    sw4_g = new DigitalIn(PTC8) ;
+    sw5_b = new DigitalIn(PTC9) ;
+*/
+    int3_r = new InterruptIn(PTC1) ;
+    int4_g = new InterruptIn(PTC8) ;
+    int5_b = new InterruptIn(PTC9) ;
+}
\ No newline at end of file