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