Improved IO block generator:
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.
Showing
Please register or sign in to comment