Check two demo projects of menu implementation using rotary encoder with button switch, including 2x16 Character LCD and Nextion touchscreen display:
Read provided App Note for details.
I've seen your implementation and , sadly for me, it does not apply to my situation. I'm going to attach my project in order to show what sort of solution I'm trying to create.
Also, so far, I can only send 64 bytes (due to limitation with the USBUART component) but my data array has 1024 samples. Before I had a way to make the psoc continuously sending data, so that my python interface could retrieve it.
Basically, how can I increment the array position, after sending the first 64 bytes (DMA or another solution)?
p.s the project's name is "memoryTOusbfs"
thesis.cywrk.Archive01.zip 4.7 MB
The sample16 array has 1024 samples.
Here is where I send the data over USBFS. Since I can only do it 64 bytes at a time, I'd like to know if there is a way to assign the pointer to the begining of the next 64 bytes inside the sample16 array. Something like a counter.