Hi bonsai users,
I'm using arduino to stimulate LED light into specific ROIs in bonsai, using (EPM, OFT, and real time place preference).
My issue is that in this protocol i want to stimulate multiple ROIs (Borders of Open field), yet bonsai only detects one ROI at time, which worked in the previous experiments stimulating only one ROI [First attached bonsai file]
- When trying to draw more than one ROI within the same node, it doesn't work, i think because it has to be 1 roi in the node.
- When i try to make more ROI activity nodes and link them to python transform so that if the mouse is within the ROIs, then it makes the digital output to be 1, but the problem is that now no light is coming from arduino. [second attached bonsai file]
i also attached the arudino files (firmata, and the stimulation parameters).
I thought of logic of making the program not stimulate if it's in the ROI, but that didn't work.
I think maybe my question is not clearly stated, but i tried a lot of things, and would love if someone helps, as i am not very good in the technical side
Best,
--
Hazim Eldirdiri
Beyeler Lab, Neurocentre Magendie,
INSERM (French NIH), University of Bordeaux
146 Rue Léo Saignat, 33000 Bordeaux, France