• Carlos's avatar
    Improved IO block generator: · a867bf01
    Carlos authored
    It now checks if the pin has been used by a previous block to be in a different configuration (Input, output, pwm, etc) and if it has, it alerts the user using a warning.
    This was implemented, instead of temporarily changing the pin status because and output can not keep state as an input, and an input cannot be inlined into a line of code if the pinMode has to be changed before and after.
    a867bf01
arduino.js 10.9 KB