Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: LSM9DS1 Si7006A20 aconno_SEGGER_RTT aconno_bsp adc52832_common
aconnoConfig.h
00001 /** 00002 * Made by Jurica Resetar @ aconno 00003 * ResetarJurica@gmail.com 00004 * More info @ aconno.de 00005 * 00006 */ 00007 00008 #ifndef __ACONNO_CONFIG_H__ 00009 #define __ACONNO_CONFIG_H__ 00010 00011 /* Change these values bellow for iBeacon parameters setup */ 00012 #define UUID_INIT 0x00, 0x11, 0x22, 0x33, \ 00013 0x44, 0x55, 0x66, 0x77, \ 00014 0x88, 0x99, 0xAA, 0xBB, \ 00015 0xCC, 0xDD, 0xEE, 0xFF 00016 #define MAJOR (0xBABA) 00017 #define MINOR (0xADDE) 00018 #define RSSI_INIT (-1) 00019 00020 #define UPDATE_SENSORS_TIME_MS (1000) 00021 #define V0 0.50 /* In volts */ 00022 #define TC 0.01 /* In volts */ 00023 #define VCC (3.6) 00024 #define VALUE_TO_PERCENTAGE (100) 00025 #define WAKEUP_TIME_DELAY_MS (150) 00026 #define APPLICATION_ID (0xCF170059) 00027 00028 #define ADC_REFERENCE (3.6f) /* adc reference voltage */ 00029 #define ADC_RESOLUTION (1024) /* 10-bit adc */ 00030 00031 #define I2C_DATA (p19) 00032 #define I2C_CLK (p20) 00033 #define SPI_MISO (p5) 00034 #define SPI_MOSI (p3) 00035 #define SPI_SCLK (p4) 00036 00037 #define DEBUG_PRINT (1) 00038 #define SLEEP_TIME (0.150) /* Sleep time in seconds */ 00039 #define WAKE_UP_TIME (1) /* Awake time in ms */ 00040 #define ADV_INTERVAL (1000) /* Advertising interval in ms */ 00041 #define CALIBRATION_STEPS (20) 00042 #define TX_POWER_DB (4) 00043 #define INVERT_AXES (1) 00044 00045 #endif // __ACONNO_CONFIG_H__
Generated on Fri Jul 15 2022 07:56:49 by
1.7.2