0

MCP9808 interfacing with ESP8266 12E using Lua
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

MCP9808 interfacing with ESP8266 12E using Lua

by Cowboyfan2001 on Fri Mar 29, 2019 3:53 pm

Can anyone tell me what is wrong with this code?
I am trying to get a MCP9808 to interface with a ESP8266 12E using Lua. I want the temperature readout of the sensor to be logged in a text file for later use.

The code came from here: http://esp8266-projects.blogspot.com/2015/02/part3-esp8266-cheap-and-dirty-basic.html
I tried to call "mcp9809.lua" a file, as it wasn't working as a variable. Now I'm getting even more errors.

I was trying to diagnose the problem, but I haven't gotten a response from anyone on Discord yet. It's been a few days, and the internet isn't very helpful when it comes to the ESP8266 and Lua. Did I mention that I'm a novice at programming?
Attachments
MCP9809 Terminal Log 2.txt
(2.73 KiB) Downloaded 26 times

Cowboyfan2001
 
Posts: 1
Joined: Fri Mar 29, 2019 3:41 pm

Please be positive and constructive with your questions and comments.