Matt McWilliams
8e9a57bcd3
Add new command flags for camera open camera closed. Re-organized and separated identifiers and cmd flags
2024-06-13 13:35:25 -04:00
Matt McWilliams
fcf24b5539
Add the OFFSET command to the McopySerial library
2023-11-25 20:06:16 -05:00
Matt McWilliams
c4456e458f
Add "home" as command character "I".
2023-10-10 21:16:49 -04:00
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
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