I’m working on a project with the new cortex controller and the joystick.
I need to be able to access the individual buttons on the D-pad of the joystick, which I can do with easyC, but I would prefer to use robotC. I can’t work out how the buttons are accessed with robotC (2.20.1 beta). Does anybody know?
Also, I want to print out to an external file, while running a program. This is possible with easyC, using print to screens and the text capture function of the terminal window. However, I do want to use robotC. I know about the debugger (which is excellent btw) but the external file is what I really need, and no amount of searching has produced any answers about how to print to a file. Any ideas?
When I was beta testing the cortex I used the UART to feed information back to the computer. You can use the VEX usb to serial cable, but you will need to convert from TTL to RS232. Then use a serial terminal like Realterm to capture the information to a file.
Although, I don’t think this is a very elegant way of doing it at all. Only did it this way because I had the set up already. There is probably a much easier solution out there.
I have now switched to EasyC after the major bug in RobotC 2.16.