lorawan/sodaq_one/nsarduino.h
2016-11-02 17:57:55 +01:00

31 lines
440 B
C

#define SWISSCOM 1
#define TTN 2
#define LORIOT 3
/* battery.ino */
uint16_t getBatteryVoltage();
void blink(int length);
void buzzerOn();
void buzzerOff();
void buzz(int ms);
/* compass.ino */
extern char compassReport[80];
/* ledcolours.ino */
void setupLED();
/* loudness.ino */
int readLoudness();
/* lora.ino */
void setupLoRa();
void sendPacket(String packet);
/* sunlight.ino */
String getSunLight();
void setupSunLight();