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
I decided to run RGB led with python Pyfirmata, I read documents, and use the following script:
import pyfirmata import time arduino =pyfirmata.Arduino('/dev/cu.usbmodem1411', baudrate=9600) arduino.digital[9].mode = pyfirmata.OUTPUT arduino.digital[10].mode = pyfirmata.OUTPUT arduino.digital[11].mode = pyfirmata.OUTPUT while True: arduino.digital[9].write(0.56) arduino.digital[10].write(0.76) arduino.digital[11].write(0.67) time.sleep(5) arduino.exit()
no error or exceptions occurred, but the led is not turned on. even I changed the pin modes to PWM.
PWM
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I decided to run RGB led with python Pyfirmata, I read documents, and use the following script:
no error or exceptions occurred, but the led is not turned on. even I changed the pin modes to
PWM
.The text was updated successfully, but these errors were encountered: