39 lines
569 B
C
39 lines
569 B
C
/**
|
|
* @brief Program to read onboard temperature sensor and print out the average
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
|
|
// pico sdk libraries
|
|
#include "pico/cyw43_arch.h"
|
|
#include "pico/stdlib.h"
|
|
|
|
// FreeRTOS libraries
|
|
#include "FreeRTOS.h"
|
|
#include "task.h"
|
|
|
|
#include "motor_speed.h"
|
|
#include "motor_direction.h"
|
|
|
|
#define READ_LEFT_WHEEL_SPEED_PRIO (tskIDLE_PRIORITY + 1UL)
|
|
#define READ_RIGHT_WHEEL_SPEED_PRIO (tskIDLE_PRIORITY + 1UL)
|
|
|
|
void
|
|
launch()
|
|
{
|
|
|
|
vTaskStartScheduler();
|
|
}
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
stdio_usb_init();
|
|
|
|
launch();
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*** end of file ***/
|