• Carlos's avatar
    Improved IO block generator: · 865d8971
    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.
    865d8971
io.js 7.86 KB