Open RobertHardwick opened 8 years ago
Note, former object "Photosensor" is now renamed FTDI (since it is an FTDI usb-to-serial cable), and the relevant .h and .cpp code exists in the FTDI folder along with the relevant library. Additionally, this object can be used for just general purpose digital i/o (up to 4 channels), such as for TMS triggering.
This is to distinguish it from the Arduino code that Alex is working on, which will have a separate photosensor.
I propose we maintain Aaron's trial/target table handling. It makes more sense to have an array of structures than an object. Key thing is to keep experiment-specific stuff all within main.cpp. All other stuff should be generic and not need to change for each new experiment. Or at least change by adding functionality, not changing it.
For displaying objects, I think replacing the "drawstruc" with flags stored inside the objects themselves makes sense as it reduces the amount of extraneous code and improves readability.
In that case, it will be necessary to embed flags in all the other objects to be drawn, i.e., image/object2D, path2D, and region2D.
High Priority
Low Priority