Print a hex value in VGA
AGCB
Posts: 327
in Propeller 1
It seems that none of the VGA objects have a print hex method. I've tried putting one in from PST and several others but get weird numbers. What is the correct way to print a hex in VGA? I want to print time from a RTC
Thanks
Aaron
Thanks
Aaron
Comments
(IMO, putting methods like hex and dec in every I/O object is a redundant waste of memory.)
-Phil
You probably want the VGA_Text.spin object from the Propeller Tool library, or the equivalent display.vga.text.spin from https://github.com/parallaxinc/spin-standard-library, which both have hex methods.
Usage:
Cheers,
Jesse
Edit: Doh! Too late...
Thanks Phil that did it.
Thanks to Jesse also.
Aaron