Can Opener - ME 507
main.cpp File Reference
#include <Arduino.h>
#include <STM32FreeRTOS.h>
#include <PrintStream.h>
#include "shares.h"
#include "tasks/taskLimitSwitch.h"
#include "tasks/taskMoveMachine.h"
#include "tasks/taskTemp.h"
#include "tasks/taskWriteToDisplay.h"
#include "tasks/taskEncoder.h"
#include "tasks/taskPhotoInterrupt.h"

Functions

Share< float > currentTemp ("Current Temperature")
 Share that holds the current temperature.
 
Share< bool > canDetected ("Can Detected")
 Share that tells whether a can is in the machine.
 
Share< bool > canTopDetected ("Can Top Detected")
 Share that tells if the can top limit switch is depressed.
 
Share< bool > canTabDetected ("Can Tab Detected")
 Share that tells if the can tab has been detected.
 
Share< int64_t > enc1 ("Encoder 1")
 Share that holds the current encoder 1 value.
 
Share< int64_t > enc2 ("Encoder 2")
 Share that holds the current encoder 2 value.
 
Share< bool > kill ("Kill Switch")
 Share that tells if the kill switch is depressed.
 

Detailed Description

Main file for the ME 507 CanOpener robot Developed on a Nucleo L476RG Development Board using FreeRTOS

Authors
Hunter Morse, Ben Bons, Kyle Van Housen
Date
Fall 2021