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
5c6b9191e5
Work in progress: Serial does not work from external library
2023-03-20 19:45:32 -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
Matt McWilliams
9b298ac676
Sync actual files
2023-03-04 19:01:35 -05:00
Matt McWilliams
78450e9e6a
Add mcopy_serial library
2023-03-04 18:52:51 -05:00