C Language - Sensirion SHT11 temperature humidity - Part #28018
John Kauffman
Posts: 653
C Language - Sensirion SHT11 temperature humidity - Part #28018:
I don't see a C Language example in downloads from product page. No hits on searches of fora. On OBEX only found SPIN.
Before I start porting from the BS2 example, has anyone written code for getting SHT11 data into Prop 1 using C Language?
Thanks.
I don't see a C Language example in downloads from product page. No hits on searches of fora. On OBEX only found SPIN.
Before I start porting from the BS2 example, has anyone written code for getting SHT11 data into Prop 1 using C Language?
Thanks.
Comments
https://github.com/practicalarduino/SHT1x
- At git hub you have Arduino library to interface arduino to the Sensirion chip
- That works with SHT11 as mounted on Parallax breadboard.
- Independent of the SHT11, you are writing libPropelleruino that will allow propeller C language to use any (or most or some) Arduino libraries? That would be super-useful.
If you want someone to try beta code & give feedback, feel free to IM me.
See this thread for (a tiny bit) more info: http://forums.parallax.com/discussion/162597/make-simpleide-compatible-with-arduino-code-and-libraries
http://www.aestheticacoustics.com/SHT11_05.htm
I've finished adding libPropelleruino into PropWare's packages. If you're running Windows and prefer to use SimpleIDE, the easiest way to start using libPropelleruino and the rest of PropWare's libraries is by following the instructions at the top of this page: http://david.zemon.name/PropWare-develop/Download.xhtml.
An example of blinking an LED can be found here: http://david.zemon.name/PropWare-develop/libPropelleruino_Demo_8cpp-example.xhtml
Do please let me know if you give it a try. You'll be the first!
I needed to #define ARDUINO 100 at the beginning of the SHT1x.cpp file, which I included in the project...
dgately
Glad to hear it! Thanks for testing.