Marlowe said:
and maybe also a stupid question too ... what is the difference between a
PIC
chip (such as a 16F84) and the "A" version (such as a 16F84A) of that same
chip???
It varies.
Originally, the 'A' variants were latter, usually faster versions of the
same chips. However some of the more recent 'A' variants, have had as many
differences to the normal version, as other chips using a dfferent
number!. So (for instance), the 16F876A, has the comparator module
present, and differences in it's programming algorithm compared to the
16F876...
In the case of the 84, the original chip was the 16C84, which was flash
programmable, yet used the 'C' designator. Then this had the RAM doubled,
and was sold as the F84. Then the F84A, pushed the clock rate from 10MHz
to 20MHz. In each of these 'steps', the chips were (largely) reverse
compatible, with the F84A, still able to run code written for the C84.
This is not true of the F876A, where the extra initialisation to turn off
the comparator is needed to use F876 code.
The only answer is to read the individual data sheets. If the latter sheet
is a single sheet listing both variants, you will generally find there is
reverse compatibility. However if the sheets are seperate, treat the 'A'
variant a a different chip.
Best Wishes