LoRa_Node_STM32F103C8T6

Dependencies:   mbed mbed-STM32F103C8T6 OneWireCRC_LoRa_Node SX1276Lib_LoRa_Node

main.cpp

Committer:
lukas_formanek
Date:
2021-05-08
Revision:
9:bc6233d6a997
Parent:
8:978eb43296ae

File content as of revision 9:bc6233d6a997:

#include "mbed.h"
#include "stm32f103c8t6.h"
#include "Thermometer.h"


int main()
{
    confSysClock();
//    HAL_NVIC_SetPriority(TIM3_IRQn,0,0);
    thermometer.Init();
    rfm.Init();
    thermometer.StartPeriodicMeassure(MEASURE_INTERVAL);
    while(1) {
        sleep();
    }
}