Comments (6)
Have a look at the Arduino version. It actually uses sts for port access.
from light_ws2812.
Did you define a port register that is part of the I/O region?
from light_ws2812.
I have just found that the PORTC register that I am using is out of the I/O region. The solution in my case has been to use the VPORTC_OUT register that it is on that region. Thank you for the response anyway.
from light_ws2812.
Hi, is there a way to use a register outside the I/O region? In my case I need to use PH5 on ATMega2560. In iomxx0_1.h
PORTH is defined as _SFR_MEM8(0x102)
.
from light_ws2812.
The way I understand this is to replace out
instructions with sts
and fiddle with the amount of noop
's. I'll probably resort to rewiring the board 😅
from light_ws2812.
Version 2.5 should fix this issue.
from light_ws2812.
Related Issues (20)
- Blink example works for when LED(112) or smaller but not larger. HOT 2
- inline assembly not recognized HOT 2
- undefined reference to `__heap_end' HOT 3
- Request to add a tag for v2.4 HOT 5
- LED Strip turns off automatically after some time
- 3 lights turn on at a time when it should be just 1 pixel
- new release planned?
- Cant change the color but the led count HOT 1
- AVR Attiny2313. Limit 41 LEDs HOT 1
- Licensing of your code HOT 2
- Operation with SAMD11? HOT 1
- WS2812B with BeagleBone Black HOT 2
- Unable to use light_ws2812 with USBMIDI HOT 8
- ARM Cortex M0 Setup Problems
- it disables the planned interrupt requests HOT 1
- EFM8 support? HOT 1
- Question about implementation - SPI? HOT 2
- Compile error: DDRB is not declared (AVR) HOT 14
- Void zip file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from light_ws2812.