Hallo Rolf, auch dies geht nicht.
Import SysTick, I2CPort, ADC_B;
From System Import Float;
Define
OSCtype = int2MHz,
PLLmul = 16,
prescB = 1,
prescB = 1, overdrive;
SysTick = 10; {msec}
StackSize = $0064, iData;
FrameSize = $0064, iData;
I2Cport = PortE;
I2Cclk = 1,3;
I2Cdat = 0;
ADCrefB = REFextB;
ADCprescB = 64;
ADCchansB = [2]; //
//----------------------------------------
loop
wa:= GetADCB(0); //kein wert nur 0
OLED_Anzeigen;
Code
Import SysTick, I2CPort, ADC_B;
From System Import Float;
Define
OSCtype = int2MHz,
PLLmul = 16,
prescB = 1,
prescB = 1, overdrive;
SysTick = 10; {msec}
StackSize = $0064, iData;
FrameSize = $0064, iData;
I2Cport = PortE;
I2Cclk = 1,3;
I2Cdat = 0;
ADCrefB = REFextB;
ADCprescB = 64;
ADCchansB = [2]; //
//----------------------------------------
loop
wa:= GetADCB(0); //kein wert nur 0
OLED_Anzeigen;