lora experiments
Dependencies: BLE_API LoRaWAN-lib SX1276Lib mbed nRF51822 HCSR04Lib
Fork of LoRa by
board.cpp@0:4c1fcbfcc7bf, 2016-05-09 (annotated)
- Committer:
- olav
- Date:
- Mon May 09 08:06:21 2016 +0000
- Revision:
- 0:4c1fcbfcc7bf
initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
olav | 0:4c1fcbfcc7bf | 1 | /* |
olav | 0:4c1fcbfcc7bf | 2 | / _____) _ | | |
olav | 0:4c1fcbfcc7bf | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
olav | 0:4c1fcbfcc7bf | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
olav | 0:4c1fcbfcc7bf | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
olav | 0:4c1fcbfcc7bf | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
olav | 0:4c1fcbfcc7bf | 7 | (C)2015 Semtech |
olav | 0:4c1fcbfcc7bf | 8 | |
olav | 0:4c1fcbfcc7bf | 9 | Description: Target board general functions implementation |
olav | 0:4c1fcbfcc7bf | 10 | |
olav | 0:4c1fcbfcc7bf | 11 | License: Revised BSD License, see LICENSE.TXT file include in the project |
olav | 0:4c1fcbfcc7bf | 12 | |
olav | 0:4c1fcbfcc7bf | 13 | Maintainer: Miguel Luis and Gregory Cristian |
olav | 0:4c1fcbfcc7bf | 14 | */ |
olav | 0:4c1fcbfcc7bf | 15 | #include "mbed.h" |
olav | 0:4c1fcbfcc7bf | 16 | #include "board.h" |
olav | 0:4c1fcbfcc7bf | 17 | |
olav | 0:4c1fcbfcc7bf | 18 | SX1276MB1xAS Radio( NULL ); |
olav | 0:4c1fcbfcc7bf | 19 | |
olav | 0:4c1fcbfcc7bf | 20 | void BoardInit( void ) |
olav | 0:4c1fcbfcc7bf | 21 | { |
olav | 0:4c1fcbfcc7bf | 22 | TimerTimeCounterInit( ); |
olav | 0:4c1fcbfcc7bf | 23 | } |
olav | 0:4c1fcbfcc7bf | 24 | |
olav | 0:4c1fcbfcc7bf | 25 | |
olav | 0:4c1fcbfcc7bf | 26 | uint8_t BoardGetBatteryLevel( void ) |
olav | 0:4c1fcbfcc7bf | 27 | { |
olav | 0:4c1fcbfcc7bf | 28 | return 0xFE; |
olav | 0:4c1fcbfcc7bf | 29 | } |