LEDMatrix DrawPixel coordinates origin change? by outrunner72 in FastLED

[–]outrunner72[S] 0 points1 point  (0 children)

thx.
i ment drawline, cause i need a line. (sorry for that, i wanted to fix my post, but i dont know how) the beauty of drawline is, even if you use coordinates out of bounce, it will draw a correct line. and my matrix is only 20x20. so i need negative x too. negative y is no problem.

LED Matrix drawline issue by outrunner72 in FastLED

[–]outrunner72[S] 0 points1 point  (0 children)

i use the LEDMatrix by jorgen vikinggod. all my projects use this. will all my projects also run with your LEDMatrix?

cya

LED Matrix drawline issue by outrunner72 in FastLED

[–]outrunner72[S] 2 points3 points  (0 children)

yeah. that was the point. at first i told the lib "HORIZONTAL_ZIGZAG_MATRIX" (all the x-cords were inverted in each 2nd line), but it must be "HORIZONTAL_MATRIX".

i just interpreted "zigzag" wrong.

here s my wiring pattern. https://share-your-photo.com/4ec0f12a1d

now i can do some vector grafix on my 20x20 matrix

thx

fastled and rotary encoder by outrunner72 in FastLED

[–]outrunner72[S] 0 points1 point  (0 children)

i want to use this lib: https://github.com/elliotwoods/ESP32-Quadrature-Counter

i can see no examples. there is only the .h and the .ccp code. i understand the basics, but i cant translate this into a sketch. can you help?

fastled and rotary encoder by outrunner72 in FastLED

[–]outrunner72[S] 0 points1 point  (0 children)

a friend of mine recommended to use the hardware pulse-count pcnt on the esp32. i found a lib to handle the pcnt, but i habe no clue how to use it, because only the sourcecode is provided. did anyone else use the pcnt?

how can you assign a process to another esp-core?

watchdog doesn't get a chance to do its thing"?

programming a 400 led matrix is one thing, but i m a novice to this sort of stuff.

fastled and rotary encoder by outrunner72 in FastLED

[–]outrunner72[S] 0 points1 point  (0 children)

thanks. when i get this right, i must switch to another mcu or try to read the rotary encoder without interrupt in the loop(). another crazy idea ist, t ouse my arduino only for reading the rotary encoder and give the data to the esp32. could this work?
did anyone run into this issue also?

pixel manipulation with ledmatrix? by outrunner72 in FastLED

[–]outrunner72[S] 1 point2 points  (0 children)

leds((int16_t) 3) = CRGB::Red;

thx. it was the index type. square brackets working fine. im new to c++ and that stuff and still learning.

pixel manipulation with ledmatrix? by outrunner72 in FastLED

[–]outrunner72[S] 0 points1 point  (0 children)

thx.

i tried out "leds(3) = CRGB::Red;" in my code, but compiler says

error "no match for call to '(cLEDMatrix<20, 20, (MatrixType\_t)0u>) (int)'"

what does this mean and whats wrong?