![]() |
Can Opener - ME 507
|
#include <Arduino.h>#include <PrintStream.h>#include "taskPhotoInterrupt.h"#include "../pins.h"#include "../shares.h"Functions | |
| void | taskPhotoInterrupt (void *p_params) |
| Task: Check Photo Interrupt. More... | |
Task to check the status of the photo interrupt sensor Lit vs ambient IR light data is compared to determine if a reflective object is present in front of the sensor. Results are put to the canDetected share.
| void taskPhotoInterrupt | ( | void * | p_params | ) |
Task: Check Photo Interrupt.
Period: 500ms, Priority: 4/4 Check whether or not a reflective object (can) is present on the platform
| p_params | task parameters |