Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A thought for a nice edition to the library...by Peter Scargill, via MicroView disqus #24

Open
jpliew opened this issue Oct 18, 2014 · 0 comments

Comments

@jpliew
Copy link
Contributor

jpliew commented Oct 18, 2014

Peter Scargill • an hour ago

A thought for a nice edition to the library...

Microview supports print() and println() which is great - but bearing in mind this is a 328 chip which doesn't have a lot of RAM it does not support direct use of PROGMEM for strings. Newbies to Arduino might not be aware that strings are stored no only in FLASH but also in RAM, wasting valuable space.

So this will fail...

char PROGMEM fred[]="Hello";

uView.print(fred);

Arduino serial printing AND Ethernet printing both support this and it would be nice for consistency and ease of use if the Microview library also did... there is an alternative that's not quite so useful which DOES work of course..

uView.print(F("Hello"));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant