Skip to content
Jarek Zgoda edited this page May 9, 2017 · 5 revisions

Sming comes with handful of ported libraries that cover many areas of embedded programming but for sure not all. This page provies list of other libraries that are known to work with Sming or not.

Working libraries

Rotary encoder support. This library is loop-based - requires periodic call to event collector method, once per 400 ms seems enough and can be resolved with Timer.

Both polling and interrupt based interfaces work without modifications. Once per 400 ms polling seems enough and can be resolved with Timer. There is I2C version too but it requires Sming >= 3.2 with I2C subsystem ported from Arduino.

Libraries that are known to not work

Adapted Arduino libraries

Some libraries require adaptation for use with Sming, or at least benefit from couple of small changes. The interface is identical to original lib or changes are so small that the client code can be reused on Arduino platform.

More features than I2CIO.h and support for 16-pin PCF8575. Stripped of unnecessary items, fits only Sming (not interchangeable with original Arduino code). Library interface not changed so the code is completely portable.