lorawan/sodaq_one/nsarduino.h

35 lines
532 B
C
Raw Normal View History

2017-01-04 09:33:19 +01:00
#include <Arduino.h>
2016-10-22 22:38:24 +02:00
/* battery.ino */
2017-01-04 09:33:19 +01:00
// uint16_t getBatteryVoltage();
int getB();
2016-10-22 22:38:24 +02:00
void blink(int length);
void buzzerOn();
void buzzerOff();
void buzz(int ms);
/* compass.ino */
extern char compassReport[80];
2016-10-24 21:34:02 +02:00
/* ledcolours.ino */
void setupLED();
/* loudness.ino */
int readLoudness();
2016-10-22 22:38:24 +02:00
/* lora.ino */
void setupLoRa();
void sendPacket(String packet);
/* sunlight.ino */
String getSunLight();
void setupSunLight();
2016-11-27 20:03:44 +01:00
/* gps.ino */
void gpsSetup();
String gpsGetPostion(long waittime);
String gpsGetDateTime(long waittime);