10-16-2023, 08:26 AM
Hello,
I have loaded the library PCF8575 by Renzo Mischianti like in the sample but the compilation abort :
C:\Users\regis\AppData\Local\Temp\f5fbfc26-b151-4eb0-8b55-51a854384440_KC868-A64-PCF8575-DI (2).zip.440\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI.ino: In function 'void loop()':
C:\Users\regis\AppData\Local\Temp\f5fbfc26-b151-4eb0-8b55-51a854384440_KC868-A64-PCF8575-DI (2).zip.440\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI.ino:37:38: error: cannot convert 'PCF8575:igitalInput' to 'uint16_t' {aka 'short unsigned int'} in assignment
var_1 = pcf8575_IN1.digitalReadAll();
^
C:\Users\regis\AppData\Local\Temp\f5fbfc26-b151-4eb0-8b55-51a854384440_KC868-A64-PCF8575-DI (2).zip.440\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI.ino:38:38: error: cannot convert 'PCF8575:igitalInput' to 'uint16_t' {aka 'short unsigned int'} in assignment
var_2 = pcf8575_IN2.digitalReadAll();
^
C:\Users\regis\AppData\Local\Temp\f5fbfc26-b151-4eb0-8b55-51a854384440_KC868-A64-PCF8575-DI (2).zip.440\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI.ino:39:38: error: cannot convert 'PCF8575:igitalInput' to 'uint16_t' {aka 'short unsigned int'} in assignment
var_3 = pcf8575_IN3.digitalReadAll();
^
C:\Users\regis\AppData\Local\Temp\f5fbfc26-b151-4eb0-8b55-51a854384440_KC868-A64-PCF8575-DI (2).zip.440\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI.ino:40:38: error: cannot convert 'PCF8575:igitalInput' to 'uint16_t' {aka 'short unsigned int'} in assignment
var_4 = pcf8575_IN4.digitalReadAll();
^
exit status 1
Compilation error: cannot convert 'PCF8575:igitalInput' to 'uint16_t' {aka 'short unsigned int'} in assignment
Can you help ?
I have loaded the library PCF8575 by Renzo Mischianti like in the sample but the compilation abort :
C:\Users\regis\AppData\Local\Temp\f5fbfc26-b151-4eb0-8b55-51a854384440_KC868-A64-PCF8575-DI (2).zip.440\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI.ino: In function 'void loop()':
C:\Users\regis\AppData\Local\Temp\f5fbfc26-b151-4eb0-8b55-51a854384440_KC868-A64-PCF8575-DI (2).zip.440\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI.ino:37:38: error: cannot convert 'PCF8575:igitalInput' to 'uint16_t' {aka 'short unsigned int'} in assignment
var_1 = pcf8575_IN1.digitalReadAll();
^
C:\Users\regis\AppData\Local\Temp\f5fbfc26-b151-4eb0-8b55-51a854384440_KC868-A64-PCF8575-DI (2).zip.440\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI.ino:38:38: error: cannot convert 'PCF8575:igitalInput' to 'uint16_t' {aka 'short unsigned int'} in assignment
var_2 = pcf8575_IN2.digitalReadAll();
^
C:\Users\regis\AppData\Local\Temp\f5fbfc26-b151-4eb0-8b55-51a854384440_KC868-A64-PCF8575-DI (2).zip.440\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI.ino:39:38: error: cannot convert 'PCF8575:igitalInput' to 'uint16_t' {aka 'short unsigned int'} in assignment
var_3 = pcf8575_IN3.digitalReadAll();
^
C:\Users\regis\AppData\Local\Temp\f5fbfc26-b151-4eb0-8b55-51a854384440_KC868-A64-PCF8575-DI (2).zip.440\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI\KC868-A64-PCF8575-DI.ino:40:38: error: cannot convert 'PCF8575:igitalInput' to 'uint16_t' {aka 'short unsigned int'} in assignment
var_4 = pcf8575_IN4.digitalReadAll();
^
exit status 1
Compilation error: cannot convert 'PCF8575:igitalInput' to 'uint16_t' {aka 'short unsigned int'} in assignment
Can you help ?