View unanswered posts | View active topics It is currently Mon Aug 10, 2020 5:11 am

Reply to topic  [ 1 post ] 
Passing variables through debug stream 
Author Message

Joined: Sat Nov 29, 2014 4:51 am
Posts: 11
Post Passing variables through debug stream
Passing variables through debug stream

So i am attempting to pass values from the controller to the debug stream:
This code is all in a loop and so it repeats every 10 seconds.
writeDebugStream("Channel 2 value: %d",vexRT[Ch2]);
writeDebugStream("Button 5D value: %d",vexRT[Btn5D]);

but every time i do this i get
Channel 2 value: 0
Button 5D value:0
Every time even when i press 5D or move Channel 2.

Any help would be appreciated.

Sat Jun 13, 2015 3:48 am
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

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 © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.