micro-manager / mmCoreAndDevices

Micro-Manager's device control layer, written in C++
40 stars 108 forks source link

Arduino: make number of patterns in sequence dynamic #512

Open nicost opened 5 days ago

nicost commented 5 days ago

This number is now hard coded in the device adapter. Since there are now plenty of Arduinos with more memory than there used to be, it would be nice to have the device adapter query this number on startup. See: https://forum.image.sc/t/using-arduino-mega-for-triggering-in-micro-manager/103605/7

simonecoppola commented 4 days ago

Not a long term solution, but I have recompiled the device adapter and changed the firmware to support a max sequence length of 256 (which works on the latest Arduino UNO Rev3). I've put it here in case somebody else needs it in a pinch.