Hacker News new | ask | show | jobs
by revelation 4744 days ago
I don't know about the JavaScript code, but I did look at the uC code (EE459 repo I guess?).

Since you are already taking the flash hit with sprintf, you might be interested to know that you can redirect stdout to print all data through your serial line, i.e. just using printf. Saves going through an intermediate buffer. Looks something like this:

http://pastie.org/8073251

1 comments

Thanks for the tip! I'll try and implement this once I get the parts in for my new board.