The theme of the thread has changed a little. It appears whilst we don’t have a dedicated working device library yet… The following might help. I’ll try and keep it up to date as people post more below or I find them in other threads.
We could link them all in here, but ultimately this thread will get lost. Maybe Spark can host a Wiki page for user examples? Even if we just add links to our Github, Pastebin, Blog etc… locations… or spend the time to add it all in a user’s Wiki page.
Brainstorming with Carl Danley, we’re thinking just a dedicated section in the Spark Forums would be perfect for WIP, and FINAL code examples. We are kind of doing it already, and they are going into the Libraries and Projects sections mostly… but small code examples might be better found in a section called Snippets. Not really a full project, or library… just a short code snippet.
Maybe we could sticky a post to the top of the Snippets section that encourages users to post their code on Github, Pastebin, in a Gist or just in the post itself (and explain how to format it nicely with CTRL+K), and include whether or not the code is tested and working, or what limitations remain… and what is left TODO.
This also gives us a place for those users who’ve posted to talk about improvements to the snippet and so on. I think it’s a great way to organize code and give us a spot to post cool snippets. +1 for this idea BDub!
Dom, how about for now we drop a bunch of links in here and you manage editing the first post with a nice list of links? They can be Formatted Links too… would keep it nice and neat.
(verified) A Remote Starter example that’s a customize-able simple Spark Core web app controller with feedback through Variables: https://github.com/technobly/Remote-Spark
Porting the Arduino library by Christopher Ladden was dead easy. I commented out the Wire.h and Arduino.h includes and changed the i2c address from 0x40 to 0x80 (because of the 7-bit/8-bit address issue, this will need to be changed back once that issue is resolved).
Note that this is a blocking/synchronous library. A non-blocking version should be possible. Tested with SHT21 but SHT25 should also be compatible.