Simple test program to get familiar with functionality of MBED RTOS on ST Nucleo-F411RE. Tasks for LED blinking, user button, temperature measurement with DS1620, temperature measurement with internal temperature sensor of ST32F411RE, ultrasonic distance measurement and displaying result on 16x2 TextLCD.

Dependencies:   DS1620_improved TextLCD_improved mbed-rtos mbed

tsk_led.h

Committer:
dzoni
Date:
2015-12-14
Revision:
9:645f0e517017
Child:
11:e89f89c0920b

File content as of revision 9:645f0e517017:

#ifndef TSK_LED_H
#define TSK_LED_H

struct led_flash_times_struct {
    uint32_t on_time;
    uint32_t off_time;
};

extern struct led_flash_times_struct led_flash_times;

extern void led2_thread(void const *args);

#endif