pin_control: implement v4l2 capture

This commit is contained in:
Alejandro Soto 2023-09-13 03:56:25 -06:00
parent e8178f0a54
commit 14766561af
No known key found for this signature in database
GPG key ID: 570448E3382BDEC5
3 changed files with 230 additions and 8 deletions

View file

@ -2,19 +2,15 @@
#define GPIO_CONTROL_H
int init_gpio();
void cleanup_gpio();
int turn_on_pin(int pin);
int turn_off_pin(int pin);
int probe_pin(int pin);
int turn_on_all_pins();
int turn_off_all_pins();
int wait_for_button_press(const unsigned pins[static 5]);
int capture_image(const char *out);
#endif /* GPIO_CONTROL_H */