Pumpkin, Inc.

Pumpkin User Forums

PIC12F675 salvocfg.h File

If you're having difficulty with Salvo's configuration options, post it here.

PIC12F675 salvocfg.h File

Postby aek » Mon Nov 24, 2008 4:06 am

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.

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

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: PIC12F675 salvocfg.h File

Postby benmichaud21 » Mon Nov 24, 2008 9:52 am

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();
}

benmichaud21
 
Posts: 2
Joined: Wed Nov 19, 2008 12:00 am
Location: Salem, Ma, USA

Re: PIC12F675 salvocfg.h File

Postby tbims23822 » Wed Jul 08, 2009 11:10 am

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.

tbims23822
 


Return to Configuration

Who is online

Users browsing this forum: No registered users and 1 guest