But, as I mentioned earlier, good luck communicating that local to the outer scope. I'm pretty sure Huan would need the decls outside the switch scope for what he was attempting, but I could be wrong.Pete -------- Original message --------From: Rodney Radford via TriEmbed <[email protected]> Date: 7/2/20 12:03 PM (GMT-05:00) To: Huan Truong <[email protected]> Cc: Triangle Embedded Computing Discussion <[email protected]> Subject: Re: [TriEmbed] Hacking a fake vintage radio (with Arduino + Pi 0) Huan, I think I see the issue with the switch statement. Technically, you are not supposed to declare a new variable inside a case without using braces to create a new stack frame.Try going back to your original code and just adding {} around each of the code sections inside of the case labels and see if that fixes the issue.More info here:https://forum.arduino.cc/index.php?topic=627154.0On Wed, Jun 24, 2020 at 12:44 PM Huan Truong via TriEmbed <[email protected]> wrote:This has taken me way more time than I thought, but finishing this retrofit is a big achievement for me. It's really silly and serves exactly no purpose other than RE'ing something no one cares about. So I just want to share for some shits and giggles.
http://www.tnhh.net/posts/adventures-hacking-fake-vivitar-vintage-radio.html -- Huan Truong www tnhh.net / twitter @huant _______________________________________________ Triangle, NC Embedded Computing mailing list To post message: [email protected] List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org TriEmbed web site: http://TriEmbed.org To unsubscribe, click link and send a blank message: mailto:[email protected]?subject=unsubscribe
_______________________________________________ Triangle, NC Embedded Computing mailing list To post message: [email protected] List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org TriEmbed web site: http://TriEmbed.org To unsubscribe, click link and send a blank message: mailto:[email protected]?subject=unsubscribe
