Thread: Learning PIC C
View Single Post
  #10   Spotlight this post!  
Unread 07-10-2003, 05:36
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Quote:
Does anyone know where I could get a free editor for that matter for PIC C. And does anyone know how indepth C it supports. Like do you use malloc/calloc with pointers etc...
My suggestion: Keep it simple!

You have less than 2K of RAM to work with. Dynamic memory allocation is very tricky and it is very easy to get lost.

There is no doubt that we will need to use pointers, but I plan to keep it to a minimum.

Also, beware of recursive calls.

Bottom line: You don't want to have your team on the sideline during a competition just because your programmer got "cute".

'nuff said.
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...

Last edited by Mike Betts : 07-10-2003 at 05:47.