You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm battling what I'm guessing is a memory issue. In my main loop(), I'm creating a parser then parsing a message. If I create the parser as a 64, I can only send 4 messages successfully and get the proper response before the AVR starts rebooting repeatedly and becomes unresponsive even after reset, requiring power off. If I create the parser as a 16, I can send and respond to more messages, 16. It's as if I need a free() for the parser. I'm relatively new to AVR programming, so perhaps it's something I'm doing.
message being parsed: {"color":[200,0,0],"lednum":4,"msgtype":"ledcolor"}
I'm battling what I'm guessing is a memory issue. In my main loop(), I'm creating a parser then parsing a message. If I create the parser as a 64, I can only send 4 messages successfully and get the proper response before the AVR starts rebooting repeatedly and becomes unresponsive even after reset, requiring power off. If I create the parser as a 16, I can send and respond to more messages, 16. It's as if I need a free() for the parser. I'm relatively new to AVR programming, so perhaps it's something I'm doing.
message being parsed: {"color":[200,0,0],"lednum":4,"msgtype":"ledcolor"}
The text was updated successfully, but these errors were encountered: