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

User avatar
By omid ba
#24101 Hello guys How can I use ADC n esphttp program ?
I want to have a battery voltage status and display it on web pages ,
How can I implement ADC.c on this program
please help me
User avatar
By ale.capu
#30046 Hi,
how can I call i2c_writeReg_Mask_def from Arduino Sketch??? I'm not able to invoke it. I've this error:

/Users/Alessandro/Sviluppo/DevTools/arduino/Arduino-1.6.6-ESP8266.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/esp8266_peri.h:32:134: error: 'rom_i2c_writeReg_Mask' was not declared in this scope
#define i2c_writeReg_Mask(block, host_id, reg_add, Msb, Lsb, indata) rom_i2c_writeReg_Mask(block, host_id, reg_add, Msb, Lsb, indata)

Where's defined this function?