Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By AcmeUK
#14527 Thanks for that. I had to use
extern "C" {
#include "user_interface.h"
uint16 readvdd33(void);
}
Otherwise I got a compiler error.
I want to read vdd33 into a variable
Code: Select allvdd33 = readvdd33

But what do I declare vdd33 as? If I use uint16 I get this error :-
Code: Select all error: invalid conversion from 'uint16 (*)() {aka short unsigned int (*)()}' to 'uint16 {aka short unsigned int}' [-fpermissive]

Thanks