Hi,
I don't understand why it crash, even in emulator.
Even in setup() loop. I use arduino IDE, it's not support debug mode.
I always code into C/C++, and I don't see anything wrong.
Few bit help please. Code is working when I rewrite for Linux.
Regards,
Crash
-
bruleherman
- Posts: 4
- Joined: Sat Sep 06, 2025 1:01 pm
Re: Crash
Normally, I'd ask for you to get the backtrace and decode that, in this case that probably would have lead you to the issue, but here it's obvious enough for me to spot it immediately:
Could be that there are more bugs later on, I didn't look that closely.
Code: Select all
#define BUFFERSIZE 256
int16_t buffer[BUFFERSIZE];//one value each ms
[...]
memset(buffer,0,1024*2);
Who is online
Users browsing this forum: Amazon [Bot], Bytespider, Google [Bot], PerplexityBot and 6 guests
