giuliomoro Ciao Giulio!
Nice to hear from you! Thanks for helping again. When I run that code, I get this message:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
And suddenly, no more bad outputs! (thanks!) :
Building project...
Build finished
Running project...
Mode = 3
Prescaler set to 1.
Threshold set to 60.
Device type: 1
Firmware version: 1
Mode: 3
At the moment I'm still searching a way how to track in sc, Jon probably knows how to do it, I'm contacting him for it.
But should I consider it to track the values from the SDA > PIN 11 and SCL > PIN 9 ? Maybe then I would write something like:
var d1 = DigitalIn.kr(x); (x = 9 or 13)
Should I get a matrix with the numbers from each pin of the trill craft?