lorawan/sodaq_one/nsarduino.h

35 lines
532 B
C
Raw Normal View History

2017-01-04 08:33:19 +00:00
#include <Arduino.h>
2016-10-22 20:38:24 +00:00
/* battery.ino */
2017-01-04 08:33:19 +00:00
// uint16_t getBatteryVoltage();
int getB();
2016-10-22 20:38:24 +00:00
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();
2016-11-27 19:03:44 +00:00
/* gps.ino */
void gpsSetup();
String gpsGetPostion(long waittime);
String gpsGetDateTime(long waittime);