LoRaWAN VIT
Dependencies: mbed DigitDisplay Chainable_RGB_LED LoRaWAN-lib SX1276Lib
board/board.cpp@4:cd9a19f40d47, 2019-11-29 (annotated)
- Committer:
- balarayar
- Date:
- Fri Nov 29 12:35:54 2019 +0000
- Revision:
- 4:cd9a19f40d47
- Parent:
- 0:cb80564f40e1
VIT LoRaWAN
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mluis | 0:cb80564f40e1 | 1 | /* |
mluis | 0:cb80564f40e1 | 2 | / _____) _ | | |
mluis | 0:cb80564f40e1 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
mluis | 0:cb80564f40e1 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
mluis | 0:cb80564f40e1 | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
mluis | 0:cb80564f40e1 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
mluis | 0:cb80564f40e1 | 7 | (C)2015 Semtech |
mluis | 0:cb80564f40e1 | 8 | |
mluis | 0:cb80564f40e1 | 9 | Description: Target board general functions implementation |
mluis | 0:cb80564f40e1 | 10 | |
mluis | 0:cb80564f40e1 | 11 | License: Revised BSD License, see LICENSE.TXT file include in the project |
mluis | 0:cb80564f40e1 | 12 | |
mluis | 0:cb80564f40e1 | 13 | Maintainer: Miguel Luis and Gregory Cristian |
mluis | 0:cb80564f40e1 | 14 | */ |
mluis | 0:cb80564f40e1 | 15 | #include "mbed.h" |
mluis | 0:cb80564f40e1 | 16 | #include "board.h" |
mluis | 0:cb80564f40e1 | 17 | |
mluis | 0:cb80564f40e1 | 18 | SX1276MB1xAS Radio( NULL ); |
mluis | 0:cb80564f40e1 | 19 | |
mluis | 0:cb80564f40e1 | 20 | void BoardInit( void ) |
mluis | 0:cb80564f40e1 | 21 | { |
mluis | 0:cb80564f40e1 | 22 | TimerTimeCounterInit( ); |
mluis | 0:cb80564f40e1 | 23 | } |
mluis | 0:cb80564f40e1 | 24 | |
mluis | 0:cb80564f40e1 | 25 | |
mluis | 0:cb80564f40e1 | 26 | uint8_t BoardGetBatteryLevel( void ) |
mluis | 0:cb80564f40e1 | 27 | { |
mluis | 0:cb80564f40e1 | 28 | return 0xFE; |
mluis | 0:cb80564f40e1 | 29 | } |