Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By RogerClark
#5230 Is there any C code for this temperature sensor. I see the the Lua bin has this built in, but AFIK the Lua source has not been released.

I'd like to use this module, but not using Lua
User avatar
By alonewolfx2
#5242 i attached example source code from CHERTS eclipse ide examples.
You do not have the required permissions to view the files attached to this post.
User avatar
By PuceBaboon
#5511
RogerClark wrote:Is there any C code for this temperature sensor. I see the the Lua bin has this built in, but AFIK the Lua source has not been released.

I'd like to use this module, but not using Lua


Roger,

There's a whole bunch of code on the Dallas/Maxim website, but it's difficult to find nowadays
(dalsemi.com seems to have gone away :-( ) .
Try this for starters:-

http://pdfserv.maximintegrated.com/en/an/AN126.pdf

There's a package somewhere with tons of code for various micros. It included a fairly general
8-bit implementation for the 8051 (if I remember correctly) which could be very easily adapted
for other microcontrollers.

-John-