pfodParser 5.0.1 The pfodParser library is handles commands sent from the Android pfodApp, pfodApp supports WiFi, BLE, Bluetooth and SMS connections

pfodEEPROM.h
Go to the documentation of this file.
1 /*
2 * (c)2014-2017 Forward Computing and Control Pty. Ltd.
3 * NSW Australia, www.forward.com.au
4 * This code is not warranted to be fit for any purpose. You may only use it at your own risk.
5 * This code may be freely used for both private and commercial use
6 * Provide this copyright is maintained.
7 */
8 #ifndef pfodEEPROM_h
9 #define pfodEEPROM_h
10
11 #if defined( ARDUINO_ARCH_AVR ) || defined( ARDUINO_ARCH_ESP8266 ) || defined( ARDUINO_ARCH_ESP32 ) || defined( ARDUINO_ARCH_ARC32 ) || defined( TEENSYDUINO )
12 // NOTE: Teensy does not need to use begin() or end() but no harm in calling them
13 #include <EEPROM.h>
14 #else
15 //#ifdef __RFduino__
16 //#define __no_pfodEEPROM__
17 // all other arch not explicitly mentioned do no support EEPROM.H
18 // they may support FLASH EEPROM simulation but that is not included here
19 // if __no_pfodEEPROM__ is defined then use randu instead of EEPROM for power cycle count
20 // initialize randu from analogRead(A0) and micros() to complete setup
21 #define __no_pfodEEPROM__
22 #endif
23
24
25 #endif //pfodEEPROM_h
26