Thread: Relay Outputs
View Single Post
  #1   Spotlight this post!  
Unread 01-02-2002, 18:47
OddOne OddOne is offline
Registered User
#0990
 
Join Date: Feb 2002
Location: Las Vegas, Nevada
Posts: 12
OddOne is an unknown quantity at this point
Send a message via AIM to OddOne
Question Relay Outputs

I am new at this PBASIC language (although very experienced in VB), and I have a question about the output command. In this line:

[font=courier new] Serout USERCPU, OUTBAUD, [255,255,PWM1,relayA,PWM2,relayB,p3_y,p4_y,p1_x,p2_ x,p3_x,p4_x,p1_wheel,p2_wheel,p3_wheel,p4_wheel,12 7,127,127,127]FONT]

as far as I can tell, I can only use Relay ports A and B. I need to use 4 of the ports, at least. Where do I put the specified outputs in the Serout command? Or does that happen anywhere else?

Thanks