- Notifications
You must be signed in to change notification settings - Fork0
FanuelConrad/L293D-Motor-Driver-FreeRTOS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project is all about spinning a small motor using L923D Motor driver and FreeRTOS.
We will create the SpinClockwise and the SpinAntiClockwise function. These functions will do their respective jobs of spinnig the motor in clockwise and anticlockwise directions.
For Task1 we want the motor to spin in clockwise direction. This function takes in a single global argument called a parameter. First, we will display on the serial monitor the core ID on which the particular task is running. Next, we will usefor(;;)
to create an infinite loop where the motor will spin in clockwise direction every 1 second. This will be achieved by using thedigitalWrite()
function and passing the GPIO pin connected to pinIn1
of the motor driver andHIGH
orLOW
as the second parameter.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Seedeployment for notes on how to deploy the project on a live system.
What things you need to have the project up and running.
Visual Studio CodePlatformIOESP32 development boardBreadboardMotorJumper wires
Add notes about how to use the system.
About
Resources
Uh oh!
There was an error while loading.Please reload this page.