Updated with option to return from BP screen to main screen, resolved screen navigation issues

Dependencies:   SDFileSystem TFTLCD_8bit ds3231 program mbed

Fork of poc_dis_5 by SenseSemi

Committer:
nikitateggi
Date:
Mon Jan 30 07:45:41 2017 +0000
Revision:
1:8316c23ec6b9
Child:
4:6bd81bb1790d
POC code

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nikitateggi 1:8316c23ec6b9 1 #include "mbed.h"
nikitateggi 1:8316c23ec6b9 2 #define ADDR 0x70
nikitateggi 1:8316c23ec6b9 3
nikitateggi 1:8316c23ec6b9 4 void i2c_spec()
nikitateggi 1:8316c23ec6b9 5 {
nikitateggi 1:8316c23ec6b9 6 I2C i2c(PTC11, PTC10);
nikitateggi 1:8316c23ec6b9 7 char dat[1];
nikitateggi 1:8316c23ec6b9 8 i2c.start();
nikitateggi 1:8316c23ec6b9 9 dat[0]=0xBB;
nikitateggi 1:8316c23ec6b9 10 i2c.write(ADDR,dat,1);
nikitateggi 1:8316c23ec6b9 11 i2c.stop();
nikitateggi 1:8316c23ec6b9 12
nikitateggi 1:8316c23ec6b9 13 }