Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => Topic started by: ian on August 21, 2009, 02:50:38 pm

Title: HEX/DEC/BIN converter
Post by: ian on August 21, 2009, 02:50:38 pm
I can't believe I didn't add this earlier. A HEX/DEC/BIN converter. I still use the system calculator...

Quote
CONVERT (1) >0b1010
0x0A
10
0b00001010
HiZ>=
CONVERT (1) >0xf
0x0F
15
0b00001111
HiZ>=
CONVERT (1) >64
0x40
64
0b01000000
HiZ>

Hit = in the terminal, enter a value in any format and the HEX/DEC/BIN equivs are shown.

Since I used =, the easter egg trigger has also changed :)

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00892049136session_write_close ( )...(null):0
20.00922180720ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00922181496Database_MySQL->query( ).../DatabaseHandler.php:119
40.05742320224Database_MySQL->error( ).../Db-mysql.class.php:273