Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Discuss about PIC Programing Languages

Status
Not open for further replies.

sabri

Junior Member level 1
Joined
Nov 10, 2004
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
165
Hello

There are several languages for Programing PIC micros(e.g. PICBasic,Assembly,C).
Please discuss about PIC programing languages and beneifits.
I think Assembly language is the powerful way but PIC Basic is simplest way.

Thanks.
 

SphinX

Advanced Member level 3
Joined
Jan 25, 2002
Messages
822
Helped
58
Reputation
116
Reaction score
29
Trophy points
1,308
Location
EGYPT
Activity points
7,051
Salam,

I think the powerful languge after Assembly is C
Because this language is portable, with some edit you can port your design from family to family...

But be sure you choose C compiler supports ANSI C

Bye
 

FoxyRick

Advanced Member level 4
Joined
Jan 8, 2004
Messages
1,249
Helped
321
Reputation
640
Reaction score
277
Trophy points
1,363
Location
England, UK
Activity points
12,982
Hello Sabri,

This must be one of the most often asked questions, with no universal answer. It depends on what you want or need to do.

Please search the board and web - you will find a *lot* of such discussions.

Try here for a start:

https://www.edaboard.com/ftopic86778.html

or take a look at the PIC forum, but please search and read before asking specific questions:

http://forum.microchip.com/

Good luck,
FoxyRick.
 

sabri

Junior Member level 1
Joined
Nov 10, 2004
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
165
Yes,Okay

I understand that Assembler is better for programming PIC micro.
How can i learn assembly for PICs ?
Please intruduce me weblink or PDF to learn that.
Thanks.
 

hill

Full Member level 5
Joined
Jun 17, 2004
Messages
278
Helped
10
Reputation
20
Reaction score
1
Trophy points
1,298
Activity points
2,334
Hi,

I think a Google search with keyword "PIC+tutorial" will give you many results that you may need.
 

samcheetah

Advanced Member level 2
Joined
May 25, 2004
Messages
646
Helped
39
Reputation
78
Reaction score
10
Trophy points
1,298
Location
Pakistan
Activity points
6,932

extradeath

Member level 2
Joined
Nov 26, 2004
Messages
44
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
Alexandria, Egypt, Egypt
Activity points
389
Hi,
I'm working now a days on a project about harmonics and I was using pic16f877
So, I have to learn both assembly and c to be power info to manage although one was enough.
 

Timmymna

Newbie level 4
Joined
Nov 29, 2004
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
UK
Activity points
57
I would say PIC Basic is very good for beginners because as it says in the name its very basic and easy to learn and use. I am currently learning assembly, I have just downloaded the doc from the last post, looks very promising :D Are there any books anyone recommends?
 

samcheetah

Advanced Member level 2
Joined
May 25, 2004
Messages
646
Helped
39
Reputation
78
Reaction score
10
Trophy points
1,298
Location
Pakistan
Activity points
6,932
Timmymna said:
I would say PIC Basic is very good for beginners because as it says in the name its very basic and easy to learn and use. I am currently learning assembly, I have just downloaded the doc from the last post, looks very promising :D Are there any books anyone recommends?

yes there are two books that i would recommend which are available for download in the ebooks section

The Quintessential PIC microcontroller

Easy Pic'n

use the search function in the ebooks section and download these books. in addition to this you should look at the list of recommended books in the University corner of Microchip's website.
 

Timmymna

Newbie level 4
Joined
Nov 29, 2004
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
UK
Activity points
57
Thanks for the help samcheetah, heading over there now :D
 

Mozfet

Junior Member level 3
Joined
Feb 1, 2004
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Sofia, Bulgaria
Activity points
244
Are there any good EPE articles about CCS PIC C? ASM is good, but C too.
 

NTFS

Member level 3
Joined
Apr 6, 2004
Messages
67
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
576
Hi

ya, I know you like assembly language but don't forget that PIC is a RISC microcontroller and if you want to write a good program and save your time
you should use a high level language.

I am falling Love in assembly too, but my love is sometimes unusable.
 

anksyete

Newbie level 5
Joined
Nov 22, 2005
Messages
8
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,356
hi, the best programming language is C & program is CCS-C,
if you know any programming language before you can easilylearn C,
also ccs uses approximately 32 c coments, it is very simple...
 

mtkee2003

Full Member level 2
Joined
Sep 24, 2005
Messages
132
Helped
4
Reputation
10
Reaction score
1
Trophy points
1,298
Activity points
2,356
hi

why CCS is better than PicBasic PRO?
is it easier or is it better?
please compare their.
i think they are the same & both of them is good.
thanks.
 

samcheetah

Advanced Member level 2
Joined
May 25, 2004
Messages
646
Helped
39
Reputation
78
Reaction score
10
Trophy points
1,298
Location
Pakistan
Activity points
6,932
mtkee2003 said:
hi

why CCS is better than PicBasic PRO?
is it easier or is it better?
please compare their.
i think they are the same & both of them is good.
thanks.

CCS is a C compiler and PICBasic PRO is a Basic compiler. its like compairing apples with oranges :D

if you know C then choose CCS and if you know Basic then choose PICBasic PRO.
 

btbass

Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,897
Helped
438
Reputation
880
Reaction score
287
Trophy points
1,363
Location
Oberon
Activity points
12,861
Pics are getting more sophisticated, assembly is ok for the low and midrange series, but the 16 bit dsPic and new 24 series have large amounts of program and data memory allowing more complex programs.
The pic30_tools are very nice to use. It is a port of the GCC compiler which is a very powerful and fully compliant C compiler.
 

mtkee2003

Full Member level 2
Joined
Sep 24, 2005
Messages
132
Helped
4
Reputation
10
Reaction score
1
Trophy points
1,298
Activity points
2,356
hi "samcheetah"

it's clear that CCS is a C compiler and PICBasic PRO is a Basic compiler!!!!!!!!

but we are talking about their ability & flexibility.

for example we can campare size of HEX files that PBP & CCS build for similar programs or etc.

thanks
 

mtkee2003

Full Member level 2
Joined
Sep 24, 2005
Messages
132
Helped
4
Reputation
10
Reaction score
1
Trophy points
1,298
Activity points
2,356
hi

in the picbasic we have PicBasicPRO, PROTON+ and etc.

all of this compilers use Basic language for programming PICs.
but what is the differences between this compilers?

good luck.
 

shafee001

Advanced Member level 4
Joined
May 6, 2004
Messages
114
Helped
16
Reputation
32
Reaction score
4
Trophy points
1,298
Location
Egypt
Activity points
1,078
hi all
i think assemply is the shortest way between two points, is you are developing a simple application
C is the simplest way for complicated applications,
that's all
thanks
 

sp

Full Member level 6
Joined
Jan 1, 2004
Messages
396
Helped
23
Reputation
46
Reaction score
2
Trophy points
1,298
Location
Floating Garden
Activity points
4,046
i am doing embedded design on a company now and am doing PIC wth PICBasic Pro version....

i think both of them have almost the same functionality so far... mayb it is just my own opinion...

wad can b done wth C can b done wth PICBasic Pro... mayb even faster (mayb it is the nature of the application we do)....

i hav use the CCS as well, i hav no prob in using the CCS as well .. emmm... i think i forgot which one i used when i write, bcos it is the flow of the prog matter more than the language used, as both of them is quite similar...

regards,
sp
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top