For dsPIC33FJ64MC706
Why the mistake turns out at attempt to compile a code?
Code: Select all
program ADC_test;
var k : word;
begin
TRISB.10 := 1; // set pin as input - needed for ADC to work
Uart1_Init(9600);
while TRUE do
begin
k := Adc1_Read(10, ADC_10bit);
Uart1_Write_Char(k);
Delay_ms(50);
end;
end.
What have I made not correctly?