i2c.cxx: add functionality to write to i2c
i2c.cxx: add functionality to write to i2c

Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>

g-vidal/mraa,yangjae/mraa,ProfFan/mraa,petreeftime/mraa,g-vidal/mraa,arunlee77/mraa,Meirtz/mraa,ProfFan/mraa,jontrulson/mraa,tripzero/mraa,seem-sky/mraa,arfoll/mraa,KurtE/mraa,ncrastanaren/mraa,whbruce/mraa,Kiritoalex/mraa,intel-iot-devkit/mraa,stefan-andritoiu/mraa,alexandru-elisei/mraa,malikabhi05/mraa,sergev/mraa,zBMNForks/mraa,neuroidss/mraa,sundw2014/mraa,tripzero/mraa,Hbrinj/mraa,Propanu/mraa,damcclos/mraa,timrtoo/Intel,Hbrinj/mraa,Kiritoalex/mraa,intel-iot-devkit/mraa,nioinnovation/mraa,sundw2014/mraa,ProfFan/mraa,yoyojacky/mraa,sundw2014/mraa,jontrulson/mraa,jontrulson/mraa,andreivasiliu2211/mraa,neuroidss/mraa,STANAPO/mraa,allela-roy/mraa,yoyojacky/mraa,matt-auld/mraa,KurtE/mraa,sergev/mraa,andreivasiliu2211/mraa,alex1818/mraa,yoyojacky/mraa,arfoll/mraa,alexandru-elisei/mraa,Meirtz/mraa,w4ilun/mraa,yongli3/mraa,g-vidal/mraa,Propanu/mraa,timrtoo/Intel,nioinnovation/mraa,SyrianSpock/mraa,mircea/mraa,g-vidal/mraa,KurtE/mraa,spitfire88/mraa,alex1818/mraa,yangjae/mraa,neuberfran/mraa,pctj101/mraa,petreeftime/mraa,alext-mkrs/mraa,alex1818/mraa,ncrastanaren/mraa,neuberfran/mraa,allela-roy/mraa,Pillar1989/mraa,malikabhi05/mraa,spitfire88/mraa,stefan-andritoiu/mraa,SyrianSpock/mraa,w4ilun/mraa,neuberfran/mraa,Propanu/mraa,anonymouse64/mraa,Hbrinj/mraa,zBMNForks/mraa,KurtE/mraa,spitfire88/mraa,STANAPO/mraa,zBMNForks/mraa,petreeftime/mraa,yongli3/mraa,intel-iot-devkit/mraa,stefan-andritoiu/mraa-gpio-chardev,alexandru-elisei/mraa,seem-sky/mraa,petreeftime/mraa,noahchense/mraa,ProfFan/mraa,arfoll/mraa,neuroidss/mraa,malikabhi05/mraa,intel-iot-devkit/mraa,Jon-ICS/mraa,yongli3/mraa,whbruce/mraa,sundw2014/mraa,noahchense/mraa,Meirtz/mraa,andreivasiliu2211/mraa,yongli3/mraa,jontrulson/mraa,stefan-andritoiu/mraa,sundw2014/mraa,ncrastanaren/mraa,alext-mkrs/mraa,sergev/mraa,stefan-andritoiu/mraa-gpio-chardev,noahchense/mraa,stefan-andritoiu/mraa,KurtE/mraa,arunlee77/mraa,arfoll/mraa,spitfire88/mraa,seem-sky/mraa,sergev/mraa,alext-mkrs/mraa,arunlee77/mraa,anonymouse64/mraa,timrtoo/Intel,noahchense/mraa,neuberfran/mraa,stefan-andritoiu/mraa-gpio-chardev,alext-mkrs/mraa,timrtoo/Intel,pctj101/mraa,yangjae/mraa,w4ilun/mraa,yangjae/mraa,Propanu/mraa,smileboywtu/mraa,Jon-ICS/mraa,noahchense/mraa,arunlee77/mraa,Pillar1989/mraa,neuberfran/mraa,ncrastanaren/mraa,pctj101/mraa,jontrulson/mraa,smileboywtu/mraa,SyrianSpock/mraa,smileboywtu/mraa,alexandru-elisei/mraa,alext-mkrs/mraa,g-vidal/mraa,w4ilun/mraa,allela-roy/mraa,damcclos/mraa,malikabhi05/mraa,anonymouse64/mraa,sergev/mraa,whbruce/mraa,stefan-andritoiu/mraa,mircea/mraa,nioinnovation/mraa,Pillar1989/mraa,Kiritoalex/mraa,seem-sky/mraa,matt-auld/mraa,intel-iot-devkit/mraa,yongli3/mraa,Hbrinj/mraa,pctj101/mraa,malikabhi05/mraa,Propanu/mraa,whbruce/mraa,Jon-ICS/mraa,ncrastanaren/mraa,damcclos/mraa,tripzero/mraa,pctj101/mraa,stefan-andritoiu/mraa-gpio-chardev,stefan-andritoiu/mraa-gpio-chardev,seem-sky/mraa,timrtoo/Intel,andreivasiliu2211/mraa,arfoll/mraa,alexandru-elisei/mraa,STANAPO/mraa,mircea/mraa,matt-auld/mraa