The program sends the current location over the cellular network.
Dependencies: aconno_I2C ublox-at-cellular-interface gnss ublox-cellular-base Lis2dh12 ublox-cellular-base-n2xx ublox-at-cellular-interface-n2xx low-power-sleep
Fork of example-gnss by
STM32Bsp/STM32Bsp.cpp
- Committer:
- jurica238814
- Date:
- 2018-11-30
- Revision:
- 8:2bf886335fd0
File content as of revision 8:2bf886335fd0:
/*
* Aconno Board Support Packet
* Made by Jurica Resetar @ aconno
* More info @ aconno.de
*/
#include "mbed.h"
#include "STM32Bsp.h"
/*
DigitalOut redLed(RED_LED_PIN);
DigitalOut blueLed(BLUE_LED_PIN);
DigitalOut greenLed(GREEN_LED_PIN);
*/
void bsp_init()
{
bsp_ctrl_led(redLed, LED_OFF);
bsp_ctrl_led(greenLed, LED_OFF);
bsp_ctrl_led(blueLed, LED_OFF);
}
void bsp_ctrl_led(DigitalOut led, led_state state)
{
led = state;
}
void bsp_toggle_led(DigitalOut led)
{
led = !led;
}
int bsp_read_button()
{
//return userButton.read();
}
