New Flash library

I wrote a new library, Flash, which abstracts away most of the complexity of PROGMEM programming. It provides String, Array, and Table types that make ROM-based data collections as easy to use as “normal” types. Each overrides the C++ [] operator, so to get at individual elements, one simply uses familiar array syntax. For example, if you have 1000 floating point temperatures in a flash-based “temperature_table” array, you might write code like this:

for (int i=0; i<temperature_table.count(); ++i)
  if (temperature_table[i] > 98.6)
    Serial.println(temperature_table[i]);

Interested to learn more? Read all about it here!

Mikal

18 Responses to “New Flash library”

  1. Kylie Batt says:

    Ну это ты точно зря….

    управляющий/заместитель/ помощник/ менеджер Each overrides the C++ [] operator, so to get at individual elements, one simply uses familiar array syntax. For example, […….

  2. Alisa Fox says:

    Сборная России выиграла чемпионат мира по пятиборью…

    [...]Сборная России выиграла чемпионат мира по пятиборью[...] …

  3. harry says:

    < a href = :?

    sps :neutral:

  4. lawrence says:

    :o

    спс за инфу :P

Leave a Reply