extern "C" {
#include "user_interface.h"
uint16 readvdd33(void);
}
Otherwise I got a compiler error.
I want to read vdd33 into a variable
vdd33 = readvdd33
But what do I declare vdd33 as? If I use uint16 I get this error :-
error: invalid conversion from 'uint16 (*)() {aka short unsigned int (*)()}' to 'uint16 {aka short unsigned int}' [-fpermissive]
Thanks