Hi,
I have just started using PICBASIC Pro and have had a lot of problems trying to work out what I am doing. I started using a 16F690 and after what seemed like weeks finally managed to get it to blink an LED. I then could work out what I wanted to do after this, which was to read in a temperature, display it on an LCD and then switch on a fan at certain temperatures
I am now working on a different project with a different device and have hit a wall again. Ideally I would like to repeat what I have done with the 16F690, just so I can learn about this new device. I want to use a 18F4523, but I cannot even get an LED to blink yet.
I have printed off and read the data sheet, but I cannot see what to do to get the device working. I have also tried the search function on the forums, but this device does not seem widely used.
I don't mind changing devices either if this will help. I need around 30 inputs, be able to read a RTC (1307)? in the future, and have at least two 12 bit ADC's.
Can anyone help me with the code needed to get this device (PIC18F4523) to blink an led, using the internal oscillator (4Mhz?). I do not care which pin the led is on. I know it will be a few lines that set certain registers but I have tried hundreds of different ways and keep failing.
Once I have this working I'm sure I'll have a lot more problems....
Thanks.
Bookmarks