lorawan/sodaq_one/nsarduino.h

32 lines
440 B
C
Raw Normal View History

2016-11-02 16:57:55 +00:00
#define SWISSCOM 1
#define TTN 2
#define LORIOT 3
2016-10-22 20:38:24 +00:00
/* battery.ino */
uint16_t getBatteryVoltage();
void blink(int length);
void buzzerOn();
void buzzerOff();
void buzz(int ms);
/* compass.ino */
extern char compassReport[80];
2016-10-24 19:34:02 +00:00
/* ledcolours.ino */
void setupLED();
/* loudness.ino */
int readLoudness();
2016-10-22 20:38:24 +00:00
/* lora.ino */
void setupLoRa();
void sendPacket(String packet);
/* sunlight.ino */
String getSunLight();
void setupSunLight();