Peter1960
- 16th July 2006, 03:58
Hi,
I would like to use a pin as both analogue and digital inputs.
1st it needs to be digital to allow ICSP, and then
2nd as a analogue input to measure battery condition.
Any suggestions ?
Can i simply change on the fly ? or
When you program ICSP, it ignores the previous program status of the pin
and sets it how you want ?
kind regards
Pete
I would like to use a pin as both analogue and digital inputs.
1st it needs to be digital to allow ICSP, and then
2nd as a analogue input to measure battery condition.
Any suggestions ?
Can i simply change on the fly ? or
When you program ICSP, it ignores the previous program status of the pin
and sets it how you want ?
kind regards
Pete