|
Re: DS Digital Input/Output
printf("%i", true); will print 1
and printf("%i",false); will print0
you dont need a bool printf flag, or a if statement
just use the int flag (%i or %d)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
|