PinguinoIDE / pinguino-libraries

Pinguino librairies, keywords and other useful files.
24 stars 27 forks source link

toogle() function does not toogle in v13 #24

Open luzemario opened 3 years ago

luzemario commented 3 years ago

Hi,

Using toogle() function makes the line go to HIGH state, but once at HIGH it does not invert the logic to LOW. So, an LED with toogle (i.e. the Blink example) will stay ON.

luzemario commented 3 years ago

The alternate form of Blink example (with digitalWrite) works.

luzemario commented 3 years ago

Using SDCC compiler SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/TININative/ds400/hc08/s08/stm8 3.8.0 #10562 (Linux) published under GNU General Public License (GPL)