Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hi
I HAVE ONLY WORKED WITH PIC16F CHIPS. AND USE ASSEMBLE.
CAN THE PIC18F BE PROGRAMMED WITH ASSEMBLE AND WHAT ARE THE ADVANTAGES OF
USING A 18F OVER 16F FOR THE HOBBIEST. I WOULD LIKE TO LEARN C BUT HAVE KNOW IDEA WERE TO START.
DAVID
I am not a expert. I learn things as i need to know. I play around with pics to keep my self busy and mind active.
18F has better memory!! and it can multiply 8 bit * 8 bit = 16 bit in one instruction.
No. 18F's have a LOT more config controls, spread over multiple bytes. 99% of these you don't have to touch for most programs. It's not much more difficult than a 16F - just different. Once you figure out the four or five controls you use on most programs you just set those on every program. The rest work fine at default settings.a 18f45k20 on the board...
Is setting up the config the same as with 16f series.
#pragma DATA _CONFIG1H, _OSC_HS_1H
#pragma DATA _CONFIG2H, _WDT_OFF_2H
#pragma DATA _CONFIG3H, _MCLRE_ON_3H
#pragma DATA _CONFIG4L, _LVP_OFF_4L & _XINST_OFF_4L