Renamed MySensor.h -> MySensors.h (#481)

* Renamed MySensor.h -> MySensors.h

Replaced all references to MySensor.h in examples with MySensors.h

* MySensorCore.* renamed to MySensorsCore.*

This should make it comply more with naming standards

* Updated reference to MySensors core lib
This commit is contained in:
Thomas Mørch
2016-06-21 07:51:51 +02:00
committed by Olivier
parent 22ce382046
commit be92707cc6
78 changed files with 95 additions and 95 deletions
+2 -2
View File
@@ -307,14 +307,14 @@ int FindSensor (const int id, int maxsensor)
{
int EepromId=0;
for (int i=0; i<maxsensor; i++){
#ifdef MySensor_h
#ifdef MySensors_h
int SensorID = loadState(i);
#else
int SensorID = EEPROM.read(i);
#endif
if(SensorID == 255)
{
#ifdef MySensor_h
#ifdef MySensors_h
saveState(i,id);
#else
EEPROM.write(i,id);