Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toogle() function does not toogle in v13 #24

Open
luzemario opened this issue Dec 21, 2020 · 2 comments
Open

toogle() function does not toogle in v13 #24

luzemario opened this issue Dec 21, 2020 · 2 comments

Comments

@luzemario
Copy link

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
Copy link
Author

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

@luzemario
Copy link
Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant