Bug? Type error in B4R 3.7

santook

Member
All libraries available in previous versions had similar problems. The data type is not defined.

from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\B4RArduino.cpp:1:
rAnyAnlogSensors.h:31:30: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
rAnyAnlogSensors.h:31:51: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
In file included from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\B4RDefines.h:24:0,
from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\B4RStream.cpp:1:
rAnyAnlogSensors.h:31:30: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
rAnyAnlogSensors.h:31:51: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
In file included from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\B4RDefines.h:24:0,
from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\B4RCore.cpp:1:
rAnyAnlogSensors.h:31:30: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
rAnyAnlogSensors.h:31:51: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
In file included from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\B4RDefines.h:24:0,
from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\Scheduler.cpp:2:
rAnyAnlogSensors.h:31:30: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
rAnyAnlogSensors.h:31:51: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
In file included from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\B4RDefines.h:24:0,
from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\rAnyAnlogSensors.cpp:1:
rAnyAnlogSensors.h:31:30: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
rAnyAnlogSensors.h:31:51: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
rAnyAnlogSensors.cpp:7:9: error: prototype for 'double B4R::rAnyAnlogSensors::ConvertToRealValue(Byte, Byte)' does not match any in class 'B4R::rAnyAnlogSensors'
double rAnyAnlogSensors::ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType)
^~~~~~~~~~~~~~~~
In file included from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\B4RDefines.h:24:0,
from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\rAnyAnlogSensors.cpp:1:
rAnyAnlogSensors.h:31:11: error: candidate is: double B4R::rAnyAnlogSensors::ConvertToRealValue(int, int)
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~~~~~~~~~~~~~~~
In file included from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\B4RDefines.h:24:0,
from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\src\src.ino:1:
rAnyAnlogSensors.h:31:30: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
rAnyAnlogSensors.h:31:51: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
In file included from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\B4RDefines.h:24:0,
from C:\Users\SANTOO~1\Desktop\XXXXXX\jjjjj\ttttt\Objects\bin\sketch\b4r_main.cpp:1:
rAnyAnlogSensors.h:31:30: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
rAnyAnlogSensors.h:31:51: error: 'Byte' has not been declared
double ConvertToRealValue(Byte ConnectAnlogPin,Byte SensorType);
^~~~
exit status 1
 
Top