Hi, I am trying to get analog inputs working and a Adafruit TSC2007 I2C board.

I tried installing the dev as recommended in the other thread and thats not helping me get the Adafruit TSC2007 I2C to work and it also seems to breaks the analog inputs.

https://github.com/BelaPlatform/Bela/archive/refs/heads/dev.zip

Just updated to the current master and the current master, analog pins working but not able to get the library to work. I currently have this set up and can get analog pins working but not the Adafruit TSC2007 I2C .

image:
v0.3.8h, 5 January 2023

Core code:
Last updated on '3 Oct 2024 15:38:53 '
from file 'Bela-master'
via 'update_board'
Update was successful
Git desc: 'e43b8abe-dirty'

Here is the error message when trying to install the I2c library.

Makefile:510: recipe for target '/root/Bela/projects/Adafruit_TSC2007-Linux-master1/build/main.o' failed
Build finished
no member named 'sendNonRt' in 'OscSender' column: 44, line: 25
/root/Bela/projects/Adafruit_TSC2007-Linux-master
1/main.cpp:25:44: error: no member named 'sendNonRt' in 'OscSender'
oscSender.add(x).add(y).add(z1).add(z2).sendNonRt();

1 error generated.
make: *** [/root/Bela/projects/Adafruit_TSC2007-Linux-master__1_/build/main.o] Error 1




Any ideas?
Cheers

Analog inputs broken --->>> what Bela cape are you using? Rev B or Rev C?

Strange... It was working on the regular firmware but this Dev version seems to be throwing wild unstable numbers into my ADC.

Ideally I want to run the analog inputs and the i2C sensor but I am a bit stuck on both at the moment.

Cheers

Simon

-05
print: 0.000152588
print: 0.000106812
print: 1.52588e-05
print: 0.00038147
print: 0.000793457
print: 0.00050354
print: 0.000473022
print: 0.000335693
print: 0.000579834
print: 3.05176e-05
print: 3.05176e-05
print: 3.05176e-05
print: 0.000106812
print: 1.52588e-05
print: 0.00038147
print: 0.000900269
print: 0.000595093
print: 0.00062561
print: 0.000457764
print: 1.52588e-05
print: 1.52588e-05
print: 1.52588e-05
print: 1.52588e-05
print: 4.57764e-05
print: 0.000198364
print: 0.000396729
print: 0.00120544
print: 0.000717163
print: 0.000671387
print: 0.000427246
print: 3.05176e-05
print: 0.000213623
print: 1.52588e-05
print: 3.05176e-05
print: 0.000106812
print: 7.62939e-05
print: 1.52588e-05
print: 0.000335693
print: 0.000839233
print: 0.000656128
print: 0.000442505
print: 4.57764e-05
print: 1.52588e-05
print: 1.52588e-05
print: 0.000167847
print: 0.000320435
print: 0.000289917
print: 0
print: 0.000411987
print: 0.001297
print: 0.00088501
print: 0.000549316
print: 0.000518799
print: 1.52588e-05
print: 0.000518799
print: 0
print: 9.15527e-05
print: 4.57764e-05
print: 0.000137329
print: 0
print: 0.000289917
print: 0.000167847
print: 4.57764e-05
print: 0.000167847
print: 3.05176e-05
print: 0.000457764
print: 1.52588e-05
print: 1.52588e-05
print: 9.15527e-05
print: 0.000198364
print: 3.05176e-05
print: 9.15527e-05
print: 0.000152588
print: 0.000778198
print: 1.52588e-05
print: 0.000595093
print: 3.05176e-05
print: 0.000564575
print: 3.05176e-05
print: 6.10352e-05
print: 6.10352e-05
print: 3.05176e-05
print: 1.52588e-05
print: 6.10352e-05
print: 0.000946045
print: 0.00062561
print: 0.000244141
print: 0
print: 0.00050354
print: 1.52588e-05
print: 0
print: 7.62939e-05
print: 0.000228882
print: 1.52588e-05

Version details
Image:
v0.3.8h, 5 January 2023

Core code:
Last updated on '10 Oct 2024 22:57:32 '
from file 'Bela-dev-attempt-fix-analog-in'
via 'update_board'
Update was successful
Git desc: 'e43b8abe-dirty'

I am not sure I understand: does it work with dev-attempt-fix-analog-in ? The values you are printing would be compatible with a channel being floating or connected to ground. Does any channel work properly?

Hi, No it seems not to work with the the dev version (prints out floating values) but seems fine with the standard version.

4 days later
5 days later