CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Generically define pin

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Kiyoshi7



Joined: 14 Mar 2016
Posts: 1

View user's profile Send private message

Generically define pin
PostPosted: Mon Mar 14, 2016 8:15 am     Reply with quote

Hi, I'm relatively new to programming pics so sorry if I'm asking for something ridiculous. I'm trying to generically call or use a pin kind of like this.

Code:

def pin (pinNumber):
PORTA.pinNumber = 0


sorry for mixing python with C but I think it's clearer this way or at least easier for me to write.
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Mon Mar 14, 2016 8:26 am     Reply with quote

in the ccs manual read about

#DEFINE
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group