Lynxmotion Tech Support

www.lynxmotion.com
It is currently Mon May 20, 2013 8:41 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Apr 17, 2011 11:25 am 
Offline
Roboteer

Joined: Wed Mar 03, 2010 3:50 pm
Posts: 23
hi,

Found myself stuck on something that i tought to be easy, so i dont understand what im doing wrong!
I wanne use (for now) the select button to "enable power to arm" and then i wanne turn it of with the same button!

Code:
' pin 6 get high, but not able to make low, only when temp(1) is a different button (247)
if temp(1)=254 and prevtemp(1) =255 and bitje = 1 then 'change temp(1) to 247 then it works.
low Enable_power_to_arm'pin 6
bitje = 0'a bit i try to use as a memory
endif
if temp(1)=254 and prevtemp(1) =255 and bitje = 0 then
high Enable_power_to_arm'pin 6
bitje = 1
endif


robert


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group