whitecatboard / Lua-RTOS-ESP32

Lua RTOS for ESP32
Other
1.2k stars 221 forks source link

small issues in /examples/lua/bme280-tft.lua #217

Closed elsbiet closed 5 years ago

elsbiet commented 5 years ago

line 23 should read

s1 = sensor.attach("BME280", i2c.I2C0, 0x76, 400)

instead of

s1 = sensor.attach("BME280", i2c.I2C0, 400, 0x76)

elsbiet commented 5 years ago

likewise in the same file

line 16 should read

gdisplay.setfont(gdisplay.FONT_UBUNTU16)

instead of

gdisplay.setfont(gdisplay.UBUNTU16_FONT)

jolivepetrus commented 5 years ago

@spellauge,

Thanks to report this. Solved in https://github.com/whitecatboard/Lua-RTOS-ESP32/commit/da4b57c45a3068de9e2c0e3d63b13ba3ac71a60f.