Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem TFTLCD_8bit ds3231 program mbed
Fork of poc_dis_5 by
i2c_dec.cpp
- Committer:
- suhasini
- Date:
- 2017-03-30
- Revision:
- 5:a3ea7c82b7e1
- Parent:
- 4:6bd81bb1790d
File content as of revision 5:a3ea7c82b7e1:
#include "mbed.h" #define ADDR 0x70 // address of the I2C void i2c_spec() { I2C i2c(PTC11, PTC10); char dat[1]; i2c.start(); dat[0]=0xBB; i2c.write(ADDR,dat,1); i2c.stop(); }