SINTEF-9012 / JArduino

Program your Arduino in Java
https://github.com/SINTEF-9012/JArduino/wiki
177 stars 63 forks source link

I2C support? #52

Closed lobsteroh closed 8 years ago

lobsteroh commented 8 years ago

I am planning to have my arduino in a great electronic powow with some analog devices over I2C or SPI. Has anyone taken a stab at doing this from JArduino. If not, what is the preferred I2C implementation for arduino, what about SPI? If I can get or make a shared library from them, I can build a java bridge using JNAerator. Has anyone taken a stab at this? Thanks,

lobsteroh commented 8 years ago

i guess the answer to questions above is 'NO'. bummer ... Not keen on reinventing the wheel at the moment, will try to implement this project with LinkM device to control I2C protocol from java instead of arduino/jarduino. There seems to be a java implementation for using TWI on that hardware at https://github.com/todbot/LinkM

lobsteroh commented 8 years ago

update on issue. managed to get I2C communication over LinkM in java. have not gone any further on SPI.