View Full Version : commands for portA / portC on 40X
I want to high pin c1 and c0 on the 40X
what syntax should i use to do that ?
I tried:
high c1
but no success...
Thanks for helping
HIGH PORTC 1
In the Programming Editor, Help -> PICAXE Manual 2 is where you'll find a list of commands.
notwhoyouthink
31-01-2006, 16:25
Try
<code><pre><font size=2>let pinsc = %000000xx & %00000011 </font></pre></code>
Should do the trick
Edited by - notwhoyouthink on 1/31/2006 3:27:21 PM
and for checking pin a0 ? or a1 ?
(like 'if pin1 = 0 then jump')
IF PORTA pin1 = 0 THEN jump
Also in that manual mentioned earlier :-)
thanks again
unfortunately it is not it manual 2....
try to do a search for 'porta' it won't find anything
You're right, and I'll take slapped wrist for having not checked it was before saying it was, and for my unfair inference. Ouch.
It's page 57/59 of Manual 1. It really ought to also be in Manual 2
no, it's really OK
but all these commands about PORTA and PORTC for IFs and outputs, how do you know them ?
I've been reading almost all of the PDF files at the manuals section, and i don't remember writing about these commands....
anyways i will ask if i have more problems.
BTW, I finally succeeded !!!!!!!!
I wired the 08M with IR receiver to the MASTER 40X, now, the 08M gets the IR command, then waits the master will tell "ready" then it sends the data....
i could get it work very well ! now same for output 08Ms :)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.