Read digital pin is giving "===" and using 1 as string to compare


#1

Hi all,

For some reason with the latest update read digital pin and the “=” comparison block is creating triple === in the arduino c code. Also, it is comparing to string “1”.
The problem is with the default blocks, Is there any way to fix it?

Thanks in advance


#2

Hi
I have the same problem! I solved it by creating a new block

Regards


#3

Hi Sharad and Lucdag, thanks for the info, we’ve fixed the issue and it should be updated later today. Please come back and check later or tomorrow and you will find it’s been fixed.