| Age | Commit message (Collapse) | Author |
|
Turns out uint8_t is passed by reference by default since it's just a
typedef for char. As a result the length of args cannot be computed in
runCommand. The caller is now responsible for computing the number of
args and then passing them to runCommand
openCameraFd now returns the result and writes the file descriptor in
the fd pointer.
Fix an inverted if statement in runComamnd
Fix inverted read logic in snapShotToFile function
|
|
1. Put the serial connection in 'raw mode'
2. Use the write and read calls properly
3. Add support for flushing the buffer
|
|
|
|
|
|
|
|
I think this is correct...
|
|
Mostly lifted from here https://github.com/adafruit/Adafruit-VC0706-Serial-Camera-Library/tree/master/examples/Snapshot
|
|
|
|
These function should be called from a seperate component which I may or
may not include in this repository
|
|
Most of this is ported directly from the Adafruit repo with some small
changes
Still lots of magic numbers floating around that I would like to squash
but I'm not sure if there is really any point.
|
|
|
|
|
|
|