We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Digital Read doesn't work in the simulation.
To Reproduce Please use this program: basic.forever(function () { if (pins.digitalReadPin(DigitalPin.P0) == 0) { basic.setLedColor(0xff0000) } else { basic.setLedColor(0x00ff00) } })
Expected behavior When you set pin P0 to 1 in the simulation there won't be a change on the light color.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Thank you for finding that issue.
Will be fixed in #261
Sorry, something went wrong.
No branches or pull requests
Digital Read doesn't work in the simulation.
To Reproduce
Please use this program:
basic.forever(function () {
if (pins.digitalReadPin(DigitalPin.P0) == 0) {
basic.setLedColor(0xff0000)
} else {
basic.setLedColor(0x00ff00)
}
})
Expected behavior
When you set pin P0 to 1 in the simulation there won't be a change on the light color.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: