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.h
00001 /* 00002 * Aconno Board Support Packet 00003 * Made by Jurica Resetar @ aconno 00004 * More info @ aconno.de 00005 */ 00006 00007 #ifndef __STM_BSP_H__ 00008 #define __STM_BSP_H__ 00009 00010 #include "mbed.h" 00011 00012 #define BUTTON_TRUE (1) 00013 #define BUTTON_FALSE (!BUTTON_TRUE) 00014 00015 #define USER_BUTTON_PIN (PC_13) 00016 #define RED_LED_PIN (PE_4) 00017 #define GREEN_LED_PIN (PE_3) 00018 #define BLUE_LED_PIN (PE_1) 00019 00020 extern DigitalOut redLed; 00021 extern DigitalOut blueLed; 00022 extern DigitalOut greenLed; 00023 00024 00025 enum led_state{ 00026 LED_ON = 0, 00027 LED_OFF = 1 00028 }; 00029 00030 void bsp_init(); 00031 int bsp_read_button(); 00032 void bsp_ctrl_led(DigitalOut led, led_state state); 00033 void bsp_toggle_led(DigitalOut led); 00034 00035 #endif // __STM_BSP_H__
Generated on Tue Jul 12 2022 15:46:17 by
1.7.2
