Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HC_SR04_Ultrasonic_Library X_NUCLEO_IKS01A2 mbed LoRaWAN-lib SX1272Lib
Fork of LoRaWANdemoUnina by
board/board.cpp@1:263aa4ff29cd, 2016-02-18 (annotated)
- Committer:
- mluis
- Date:
- Thu Feb 18 07:49:29 2016 +0000
- Revision:
- 1:263aa4ff29cd
- Parent:
- 0:45496a70a8a5
- Child:
- 7:5077515c163b
Updated to the new versions of mbed and SX1272Lib libraries
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mluis | 0:45496a70a8a5 | 1 | /* |
| mluis | 0:45496a70a8a5 | 2 | / _____) _ | | |
| mluis | 0:45496a70a8a5 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
| mluis | 0:45496a70a8a5 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
| mluis | 0:45496a70a8a5 | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
| mluis | 0:45496a70a8a5 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
| mluis | 0:45496a70a8a5 | 7 | (C)2015 Semtech |
| mluis | 0:45496a70a8a5 | 8 | |
| mluis | 0:45496a70a8a5 | 9 | Description: Target board general functions implementation |
| mluis | 0:45496a70a8a5 | 10 | |
| mluis | 0:45496a70a8a5 | 11 | License: Revised BSD License, see LICENSE.TXT file include in the project |
| mluis | 0:45496a70a8a5 | 12 | |
| mluis | 0:45496a70a8a5 | 13 | Maintainer: Miguel Luis and Gregory Cristian |
| mluis | 0:45496a70a8a5 | 14 | */ |
| mluis | 0:45496a70a8a5 | 15 | #include "mbed.h" |
| mluis | 0:45496a70a8a5 | 16 | #include "board.h" |
| mluis | 0:45496a70a8a5 | 17 | |
| mluis | 1:263aa4ff29cd | 18 | SX1272MB2xAS Radio( NULL ); |
| mluis | 0:45496a70a8a5 | 19 | |
| mluis | 0:45496a70a8a5 | 20 | void BoardInit( void ) |
| mluis | 0:45496a70a8a5 | 21 | { |
| mluis | 0:45496a70a8a5 | 22 | TimerTimeCounterInit( ); |
| mluis | 0:45496a70a8a5 | 23 | } |
| mluis | 0:45496a70a8a5 | 24 | |
| mluis | 0:45496a70a8a5 | 25 | |
| mluis | 0:45496a70a8a5 | 26 | uint8_t BoardGetBatteryLevel( void ) |
| mluis | 0:45496a70a8a5 | 27 | { |
| mluis | 0:45496a70a8a5 | 28 | return 0xFE; |
| mluis | 0:45496a70a8a5 | 29 | } |
