Matt McWilliams
3881dd4891
Update McopySerial to have a sendStr method, which is distinct from print, which should be used for debug logging.
2023-06-17 11:40:56 -04:00
Matt McWilliams
8f7a40075a
Add connected and identified member booleans to determine when fully connected to mcopy.
2023-04-20 22:37:37 -04:00
Matt McWilliams
4e0149e752
Fixed issue with baud being stored as const overflowed. Silly mistake.
...
Also storing command chars as public const variables to shorten code and allow for mc.COMMAND rather than McopySerial::COMMAND. Cleans up example code a lot.
2023-03-21 20:35:00 -04:00
Matt McWilliams
210dc85558
Add getString and print methods
2023-03-18 17:04:06 -04:00
Matt McWilliams
e09fe7d42f
McopySerial now has a confirm() method which marks the end of a command. This is a wrapper around Serial.println()
2023-03-09 21:51:29 -05:00
Matt McWilliams
d7017af245
Move connect and identify methods to internal ones.
2023-03-09 21:26:31 -05:00
Matt McWilliams
f49c70ead6
Define all command chars as static constants. Provide an identity when initializing and allow for setting with another method.
2023-03-09 21:18:10 -05:00
Matt McWilliams
9a89dbe6a5
Automatically toggle debug state internally
2023-03-09 21:08:36 -05:00
Matt McWilliams
844bb286a5
Build the skeleton of McopySerial. Contains all command chars as flags. Is now re-built with latest command flags automatically when syncing to all projects. Compiles. Will implement more in canon firmware.
2023-03-09 21:01:20 -05:00
Matt McWilliams
95e2e997e5
Move mcopy serial script. Add work (isn't working).
2023-03-08 21:28:09 -05:00
Matt McWilliams
e27cae353f
Work on McopySerial library. Still having trouble with compiling.
2023-03-04 19:25:50 -05:00
Matt McWilliams
b12a08e47a
Rename lib to match style of others
2023-03-04 19:04:55 -05:00