ESPBasic

ESPBasic

ESPBasic – Web Interface – CSS elements example

A quick example on how to change your Web interface GUI objects properties without using a separate CSS file: Reading Humidity and Temperature from a DHT22 Sesor connected to the GPIO5 and also retrieving Date and Time from NTP Server: PinDHT = 5 DHT.SETUP(22, PinDHT) cls timer 1000, [branch] ‘ ## Time for auto refresh

ESPBasic

AC Dimmer DevBoard – MPDMv7.5 – Part 2

For a more detailed description please take a look at the Part 1: MPDMv7.5 AC Dimmer devboard overview MPDMv7.5 AC Dimmer devboard ESP Basic program example for the basic version configuration: ‘write(“starttimer”,10) cls ‘VCNT GPIO pin let pinNo = 13 ‘ON-OFF GPIO pin let off = 16 io(po,off,0) ‘ Software option for Light FULL ON at power-up ‘

ESPBasic

AC Dimmer DevBoard – MPDMv7.5 – Part 3 – DAC

For a more detailed description please take a look at the Part 1: MPDMv7.5 AC Dimmer devboard overview MPDMv7.5 AC Dimmer devboard ESP Basic program example for the Extra DAC version configuration: address = 96 ‘MPC4726 DAC I2C Address cls i2c.setup(4,5) ‘choose your I2C bus pins let off = 16 io(po,off,0) ‘stat = “on” ‘let sw = 0

ESPBasic, RTC

ESPBasic driver example for AT24C32 – I2C EEPROM

Do you remember the widely used DS3231 RTC Module ?As you might rememeber we have identified onboard an EEPROM chip, a 32k AT24C32 one and have written some driver examples for LUA I was looking a few days ago for a I2C EEPROM to do some tests with ESPBasic and the results…can be seen below 🙂 1. MAIN

ESPBasic, Temperature

ESPBasic – Web Interface – CSS elements example

A quick example on how to change your Web interface GUI objects properties without using a separate CSS file: Reading Humidity and Temperature from a DHT22 Sesor connected to the GPIO5 and also retrieving Date and Time from NTP Server: PinDHT = 5 DHT.SETUP(22, PinDHT) cls timer 1000, [branch] ‘ ## Time for auto refresh

Scroll to Top