@levipope The terminal tab in VEXcode is for logs coming from your user program via “printf” and “cout<<”. It does not allow for input of any kind in its’ current state.
I tried the printf(“Hello World”); while the V5 controller was connected to the laptop but did not get anything in the terminal window. Am I missing something here?
Device: /dev/tty.usbmodem142303
/dev/tty.usbmodem142303: No such file or directory
v5terminal V1.0
Device: /dev/tty.usbmodem142303
v5terminal exit
I used the example competition template to make sure I did not insert errors. Here is the snippet:
pre_auton();
printf("hello world");
//Prevent main from exiting with an infinite loop.
while(1) {
vex::task::sleep(100);//Sleep the task for a short amount of time to prevent wasted resources.
}
I moved these posts to a new topic
Hm, interesting.
The v5terminal program is a small helper app that is used when we are connected directly to the V5 brain using USB. When we are connected to the controller we have to use a different path, it’s handled by the embedded v5manager client that we use for program download.
can you send output of ls /dev/tty.usb* types in the OSX terminal. The controller should show as a device ending with 2, so in your case something like /dev/tty.usbmodem142302
Are you using any USB hubs ? Is the Mac using a USB-C adapter ? Which version of OS ?
One other thing
if you are using printf via the controller, it’s best to enable the Download channel on connect setting. This causes a switch to the high speed download radio channel whenever the controller is connected, not just when we download a program.