Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20696

BASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY

$
0
0
[quote:808bde15b3="Flyby123"][code:1:808bde15b3]ld r0,x+[/code:1:808bde15b3][/quote:808bde15b3] Loads the byte indexed by X (XL & XH) into r0 and after the read increments X by one, this way pointing to the next memory location. But here's the first problem, you've just threw yourself on one of the ASM lines, which do not need altered. In case you'll want to step into ASM, get the AVR Instruction Set pdf from Atmel first, to have a reference about these opcodes. I won't teach you, as I'd be faster rewriting the code, than telling you how do do it. The first or the latter however would deprive you from all the fun :D Should you struggle with some minor details, after doing your own work - feel free to ask.

Viewing all articles
Browse latest Browse all 20696


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>