Skip to content

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

Open
@jpliew

Description

@jpliew

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"));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions