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();
|
2017-02-19 11:07:05 +01:00
|
|
|
int getBattery();
|
2016-10-22 22:38:24 +02:00
|
|
|
|
|
|
|
void blink(int length);
|
2017-02-19 11:07:05 +01:00
|
|
|
void led_on();
|
|
|
|
void led_off();
|
2017-02-20 09:45:16 +01:00
|
|
|
void signal_loop_start();
|
2017-02-19 11:07:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
void setupBuzzer(int pin);
|
2016-10-22 22:38:24 +02:00
|
|
|
|
|
|
|
void buzzerOn();
|
|
|
|
void buzzerOff();
|
2017-02-19 11:07:05 +01:00
|
|
|
void buzz(int pin, int ms);
|
2016-10-22 22:38:24 +02:00
|
|
|
|
|
|
|
/* 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);
|