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_temp.h

Committer:
Jan Tetour
Date:
2015-12-18
Revision:
18:be0130c42925
Parent:
11:e89f89c0920b

File content as of revision 18:be0130c42925:

/*
 * TSK_TEMP.H
 */
#ifndef TSK_TEMP_H
#define TSK_TEMP_H

struct temp_data_struct {
    uint32_t    temp_raw;
    float       temperature;
};

extern struct temp_data_struct temp_data;

extern uint32_t initDS1620Temp(void const *args);
extern void temp_thread(void const *args);

#endif