[TriEmbed] Hacking a fake vintage radio (with Arduino + Pi 0)

Rodney Radford ncgadgetry at gmail.com
Thu Jul 2 11:03:09 CDT 2020

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:


On Wed, Jun 24, 2020 at 12:44 PM Huan Truong via TriEmbed <
triembed at triembed.org> 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: TriEmbed at triembed.org
> 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:
> unsubscribe-TriEmbed at bitser.net?subject=unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20200702/9bde2f00/attachment.html>

More information about the TriEmbed mailing list