Printing to the v5 controller with blocks code

we have been printing to the brain for most of our sensor feedback, but the new vexcode update lets us print to the controller. i know the controller has info like battery status and the timer on it, how exactly does this work? thanks in advance.

I don’t think that’s a new feature.

4 Likes

Are you asking how to program this in blocks? All of the print blocks have a dropdown that lets the programmer pick available displays.
image

In my example the devices are setup as follows:
image

The following blocks are used to display information:
image

I would also recommend putting your display code in a separate when started because the display cannot respond to changes as fast as the processor can make them.

1 Like

I’ve never seen it before. maybe it was only on vexcode pro?

Definitely not a new feature, as I have been using it since at least Tipping Point.

As I didnt compete this year things may have changed, but the way I used to do it in vexcode is clear all rows on controller to get rid of the standard display, and then you should have 4-5 lines you can print in.

3 lines

2 Likes

how many lines if you don’t clear the brain? because I know my builder likes to know at least how much battery is left

If you don’t clear the controller, you still have 1 line under all the standard info. With that being said, you can still see how much battery is left after being cleared by printing your battery capacity on the controller.
Screenshot 2024-04-04 3.19.23 PM

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.