View Single Post
  #5   Spotlight this post!  
Unread 29-08-2007, 12:05
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,506
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: simple MPLAB quest

Quote:
Originally Posted by funkstar View Post
Hey,
Thanks for the answers. Thing is that I do not use C at all. I do everything in Assembler. Is there a way to do this with asm? Do you know of any simple sample code for me to look at.. found some PIC USB protocol that had multiple asm files but it was quite a hassle to go thrugh.
I know how to program C, so I have tried a lot of ways with the #include statement but I get errors, so i figured i was on the wrong path..
Again, any further help is much much appreciated.

Be good.

Per

In C, I believe the include statements are;
#include "file.h"

I'm not 100% sure, I've been doingmore mechanical stuff recently (but like to keep in touch with my good friend C). you could check the code on kevinwatson.org to see some examples.

EDIT: I got your post completely backwards, I thought you meant you needed to do it in C.

Hmmm, 99% of the time I have a syntax problem or don't know how to code something, I google it and it usualy comes up.

try;
assembly programming include

or something like that.