Cosa: An Object-Oriented Platform for Arduino programming

Some news on the latest Cosa updates:

  1. TCS230 color sensor device driver
    Interface: https://github.com/mikaelpatel/Cosa/blob/master/cores/cosa/Cosa/Driver/TCS230.hh
    Example: https://github.com/mikaelpatel/Cosa/blob/master/examples/Sandbox/CosaTCS230/CosaTCS230.ino

  2. Arduino String class
    Refactoring of the Arduino String class and support for Cosa IOStream output operator with String.
    Interface: https://github.com/mikaelpatel/Cosa/blob/master/cores/cosa/String.hh
    Example: Cosa/CosaString.ino at master · mikaelpatel/Cosa · GitHub

  3. Removed offsetof() macro warning
    Older version of AVR GCC will give warnings on usage of offsetof() macro.
    Cosa/Types.h at master · mikaelpatel/Cosa · GitHub

  4. MCP7940N Alarm interrupt handler and example sketch
    The device driver supports alarm interrupts so that the MCU can power-down and wake up on a RTCC alarm. Both device alarms may be used to trigger a wake up. The device driver has been tested on Anarduino MiniWireless. A new example sketch is available. https://github.com/mikaelpatel/Cosa/blob/master/examples/Time/CosaMCP7940N/CosaMCP7940N.ino

  5. Breaking the 30 KLOC barrier
    The Cosa source code repository is 30+ KLOC without comments and 58+ KLOC with comments. This does not include the 150+ example sketches. Please see Ohloh for more details. https://www.ohloh.net/p/cosa

Cheers!