I have heard of some compilers on C and Basic to program PICs, but i don't know much abouit that. Can you give me some information. I have only programmed PICs using his about 35 instructions set in assambler language.
If you are already using assembler and are happy with it, then I suggest you stay with it. It makes for the most efficient use of code and you have control over all aspects of your programing.Originally posted by Iodem_Asakura@Oct 5 2005, 05:20 AM
I have heard of some compilers on C and Basic to program PICs, but i don't know much abouit that. Can you give me some information. I have only programmed PICs using his about 35 instructions set in assambler language.
[post=10797]Quoted post[/post]
Ok, Many thanx indeed.Originally posted by Overclocked2300@Oct 10 2005, 05:08 PM
Umm I beleave the people who make the pics have free software (compliers etc) on their site (microchip.com)
I myself would like to get into C because you can do more (well the programing is more simplified) but I have to get started in PIC BASIC first
[post=10905]Quoted post[/post]
At first thank u 4 careOriginally posted by Overclocked2300@Oct 21 2005, 08:58 PM
Well what do you want the program to do? Do you want the LED to flash? Blink Once? Or stay on? Theres a number of things you can make an LED do.
[post=11175]Quoted post[/post]
;my first code for 16f877A
;Autor:king_rero
;<Email edited out>
;
;
LIST P=16F877a
STATUS EQU H'03'
TRISA EQU H'85' ;TRISA REGISTER FOR SETUP OF PORTB
PORTA EQU H'05' ;PORTA REGISTER TO DRIVE PORT B
;***SET UP PORT A IN & OUTPUT****
BSF STATUS,5 ;SWITCH TO BANK0 TO SET UP PORT B
MOVLW B'110000' ;RA0,1,2,3 ARE OUT, RA4,5 ARE INPUT
MOVWF TRISA ;
BCF STATUS,5 ;SWITCH BACK TO BANK0 TO USE PORT B
;******************MAIN LED PROGRAM*******************************
MAIN BTFSS PORTA,4
GOTO MAIN
MOVLW B'000011' ;Turn the LED on by first putting
MOVWF PORTA ;it into the w register and then
END
Rich (BB code):
and I used HS crystal and tried RC oscillator,BUt ......
Nothing gonna be good!!!!!!!
sometimes my 16f877A earased by himself and when I checked it up with
multipic it's really earased!!!!!
for real I completely wondered....
Thank you
by Robert Keim
by Duane Benson
by Jake Hertz
by Jake Hertz