Hi all
You good people were kind enough last year to help me get my Christmas star working. Haning lost the source code I have retrieved the copy I sent to this forum, entered it into a newly downloaded version of Code studio and tried to compile it with a newly installed version of PBP v 2.50 I then get the following errors:
undefined symbol 'pic16f887'
undefined symbol 'ansel'
undefined symbol 'portd'
undefined symbol 'portc'
too many errors

The first part of the code which contains these errors is as follows:
[@ DEVICE pic16f887,intrc_osc_noclkout
ansel = %00000000
delay var word

fastflash var word

PORTD = 0
PORTA = 0
PORTC = 0
TRISD = 0
TRISA = 0
TRISC = 0
fastflash = 150
]
I am at a loss to understand why last years apparently good code no longer works although I have that familiar sinking feeling that I am doing something extremely stupid (As I said previously its probably my age which has got worse since last year !) Any comments would be greatly appreciated.