Code clean up - modify Datatypes
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_3rd_nov_2017_15th_dec_2017_magicno_removal by
i2c_dec.cpp
- Committer:
- nikitateggi
- Date:
- 2017-12-19
- Revision:
- 61:2143f39103f7
- Parent:
- 60:945c4a1e9a13
File content as of revision 61:2143f39103f7:
#include "mbed.h" #include "main.h" #define ADDR 0x70 // address of the I2C void i2c_spec() { I2C i2c(I2C_SDA_PIN, I2C_SCL_PIN); char dat[1]; i2c.start(); dat[0] = 0xBB; i2c.write(ADDR,dat,1); i2c.stop(); }