Page 1 of 1

PIC12F675 salvocfg.h File

PostPosted: Mon Nov 24, 2008 4:06 am
by aek
See http://www.pumpkininc.com/content/doc/manual/rm-picc.pdf for info on libraries and examples of salvocfg.h .

If you've managed to successfully compile your app without errors or warnings, it probably is running.

you probably want

code:
GPIO0 ^= 1;

, btw.

------------------


Re: PIC12F675 salvocfg.h File

PostPosted: Mon Nov 24, 2008 9:52 am
by benmichaud21
Hi,

Im using a PIC12F675, with MPLABS 8.1 and PICC Lite 9.6, along with the free version of Salvo. I was just wondering which options to put into the salvocfg.h file to run this simple program below. The program compile with no errors, but unfortunatley the program does nothign in the pickit 1 demo board. I'm thinking it might have to do witht he config file but im not sure.
Also I'm using the spf40amb.lib file for my only library file.

#include <pic.h>
#include <salvo.h>
//#include "salvocfg.h"


_OSLabel(TaskA1)
_OSLabel(TaskB1)


void TaskA( void )
{
for (;
{
GPIO0 = 1;
OS_Yield(TaskB1);
}
}


void TaskB( void )
{
for (;
{
GPIO1 = 1;
OS_Yield(TaskB1);
}
}

void main( void )
{
OSInit();
TRISIO = 0x00;
OSCreateTask(TaskA, OSTCBP(1), 10);
OSCreateTask(TaskB, OSTCBP(2), 10);
for (;
OSSched();
}


Re: PIC12F675 salvocfg.h File

PostPosted: Wed Jul 08, 2009 11:10 am
by tbims23822
www.drop-shopping.com is a premium website for cheap air jordans shoes and other more really nike air jordan shoes.We have varity of cheap air jordan shoes available for wholesale.Cheap China wholesale shoes including cheap Nike shoes and cheap jordan shoes,nike sneakers,nike sneakers discount,air jordan sneakers,air force sneakers.We supply nike sneakers,jordan sneakers,air jordan sneakers,air force sneakers wholesale.You can buy very cheap jordans shoes including cheap women shoes,cheap nike shoes,cheap running shoes from us.