View Full Version : Conversion between bases

11-25-2010, 01:32 PM
Hello everyone!

Could anyone give me an object in SPIN, which makes conversion to a binary value to hexadecimal or decimal?

11-25-2010, 01:43 PM
Would the Simple_Numbers object provided by the Propeller Tool library do what you want (also available from http://obex.parallax.com/objects/182/)?

11-26-2010, 05:08 PM
Since base conversion is only required for text output you can use the routines in FullDuplexSerial. Remember, a number is just a number.