Post Created date
Anyone have a working WS2812 Library for the DAs?
El Tangas wrote: edit #2: A more polished option is:   #define ws2812_PORTREG CONCAT_EXP(VPORT,ws2812_port).OUT #define ws2812_DDRREG CONCAT_EXP(VPORT,ws2812_port)....
Monday, 5 July 2021 - 21:23
Anyone have a working WS2812 Library for the DAs?
from what I gather, the way the registers are layed out don't allow that to work.  I've always used Light_Ws2812 in the past.  I was hoping someone had or has updated a...
Monday, 14 June 2021 - 03:01
Anyone have a working WS2812 Library for the DAs?
Any updates on a bit bang method?
Monday, 14 June 2021 - 02:28
Anyone have a working WS2812 Library for the DAs?
kabasan wrote: With proper use of peripherals, you only need to write data to the SPI. This configuration is possible with mega0 / tiny1 / AVR-Dx. However, the available pins are...
Wednesday, 3 February 2021 - 04:04
Anyone have a working WS2812 Library for the DAs?
obdevel wrote: The Arduino core for these parts has a Neopixel library. I haven't used it though. https://github.com/SpenceKonde/D...   I just played with that one for...
Wednesday, 3 February 2021 - 04:01
Timer programming info for DA series
I think this is what I want to do. TCB0.CTRLA = (!(TCB_CLKSEL0_bm | TCB_CLKSEL1_bm | TCB_CLKSEL2_bm));
Monday, 18 January 2021 - 20:40
Timer programming info for DA series
The github example for what I'm try to do doesn't seem to exist yet.  Maybe I just have the wrong datasheet?  I'm using whatever one pops up when you open it from the...
Monday, 18 January 2021 - 20:35
4 encoders - is 8mhz not fast enough?
OK, back to pin masking and worked my way up to all 4.  The problem is 100% read speed and the detented encoders I have having shorter pulse widths.   I hooked up some...
Sunday, 22 November 2020 - 07:28
4 encoders - is 8mhz not fast enough?
kk6gm wrote: chriscalandro wrote:I'm not seeing how this would end with one encoder controlling the variable for another.   Using your original code as an example,  ...
Sunday, 22 November 2020 - 04:29
4 encoders - is 8mhz not fast enough?
kk6gm wrote: I think you have another serious problem when you start reading multiple encoders.  If encoder #1 changes and generates an interrupt, you will adjust e.g...
Sunday, 22 November 2020 - 03:45
4 encoders - is 8mhz not fast enough?
kk6gm wrote: chriscalandro wrote: if (PORTD = 0b11111110)     No x2   First, you're using = when I assume you mean ==   Second, you don't care what the other...
Saturday, 21 November 2020 - 23:40
4 encoders - is 8mhz not fast enough?
It's a PEC12R-3225F-S0024-ND   Speed isn't critical, it just needs to read properly most of the time.
Saturday, 21 November 2020 - 22:43

Pages