You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggestion:
It should be a method in I2C library so it's possible to send int arrays, instead of only byte arrays.
Java don't have unsigned datatypes. But int can be between 0 and 255 and above that. Byte can only be between -127 and 128.
Hi!
Just started to read values with I2C and it failed.
Code: https://github.com/DanielMartensson/OpenSourceLogger/blob/master/src/main/java/se/danielmartensson/pi4j/ADS1115_ADS1015.java
Also code in C:
https://github.com/DanielMartensson/STM32-Libraries/blob/master/ADS1015_ADS1115/ADS1015_ADS1115.c
Suggestion:
It should be a method in I2C library so it's possible to send int arrays, instead of only byte arrays.
Java don't have unsigned datatypes. But int can be between 0 and 255 and above that. Byte can only be between -127 and 128.
The text was updated successfully, but these errors were encountered: