
Hi to all,
I have been using bonsai, but now I am adding some Arduino-based stuff (that I am new at) that I want to align with the rest of behaviour (cameras).
My simple question is: I am trying to read in Bonsai the same thing i have in the Serial Monitor of Arduino (in my case a series of 0s and 1s, that corresponds to the TTL sign I'm receiving in Arduino).
I've been using the DigitalInput in Bonsai and it does not get nothing. I've set up the baudrate to 57600 and still nothing. .
Could it have to do with my arduino code?
// the setup routine runs once when you press reset:
void setup() {
Serial.begin(57600);
}
// the loop routine runs over and over again forever:
void loop() {
int sensorValue = digitalRead(2);
Serial.println(sensorValue);
}
Or with the port configuration in Bonsai?
Thanks for your precious help
(This is my beautiful signal)
