I have connected clock oscillator output pin to micro-controller pinRA5.
Refer [/img]https://imageshack.com/i/n82o7xp
normally i use #use delay(clock=20000000) to define the 20Mhz crystal.
How to declare in this case?
Please help.
Ttelmah
Joined: 11 Mar 2010 Posts: 19552
Posted: Mon Apr 28, 2014 4:23 am
What PIC?.
Clock remains the same (assuming it is a 20MHz osicllator). Usually 'EC', instead of 'HS' in the fuses.
hemnath
Joined: 03 Oct 2012 Posts: 242 Location: chennai
Posted: Mon Apr 28, 2014 4:31 am
PIC 16F690. Compiler version: 4.114
Ttelmah
Joined: 11 Mar 2010 Posts: 19552
Posted: Mon Apr 28, 2014 4:36 am
EC_IO then for the fuse. Tells it to give you A4, as an I/O pin.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum