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

Not working for Atmega8a/pu #416

Open
Sinamajidi opened this issue Dec 25, 2024 · 0 comments
Open

Not working for Atmega8a/pu #416

Sinamajidi opened this issue Dec 25, 2024 · 0 comments

Comments

@Sinamajidi
Copy link

I just tried using the "simple" example in platformIO from this library for the ATmega8A/PU. I changed the LED count to 12 and configured the LED pin to PB0, but after uploading it to the ATmega, the LED ring didn't light up.

I also tried switching PB0 to other pins and used the pin numbers directly instead of the directives, but none of those changes worked. Additionally, I toggled between 400 kHz and 800 kHz in the "simple" example, but that didn't resolve the issue either. I used an oscilloscope to check for data output and confirmed that it wasn't outputting anything.

I made sure to test the ATmega with Arduino.h, manually toggling PORTB and setting DDRB beforehand, which worked for toggling. However, the Adafruit NeoPixel library still isn't functioning.

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