so far I have been messing around with only 16F84 but now I need to switch to 16F88 because of more memory.
My problem is that I cannot make my code work. I believe I am doing some trivial mistake with datasheet readings. Can anyone please help? I have disabled analog inputs, comparators and interrupts - but there must be something more?
Even this easy "hello world" code that should blink the LED does not work:
Code: Select all
program MyProject;
begin
TRISA := %00000;
ANSEL := 0;
CMCON := 0;
INTCON := 0;
PORTA := %00000;
while true do
Begin
PORTA.0 := 1;
Delay_ms (1000);
PORTA.0 := 0;
Delay_ms (1000);
End;
end.