Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Grump ON: If you can not do bin to hex and hex to bin in your head you should use your time learning to do that instead !
Grump OFF:
I would space the HEX char to align with the binary it represents. Notice the bits are in groups of 8 with a single space between the hi and low nyble.
Code:
0010 1010 1111 0111
___2 ___A ___F ___7
Looking at it this will cause you to learn the conversions too.
Have a look at my program Atom, it is pretty well refined and there might be some features there you could add to yours (or give you ideas). **broken link removed** "HexCon" Hex-Decimal-Binary converter
The thing that I went for in my converter was instant use. Even the dos one I wrote so many years ago had the same basic functionality, you can type or edit data in any of the 3 windows and press enter, and it is all instantly converted in all the windows. A calculator type won;t have that speed.
I also made the windows version very small as a single .exe file so it opens instantly (from a taskbar icon) and can be used instantly. Instant means < 0.5 seconds. I hate programs that take seconds to start up like a lot of that crap people make with .NET framework etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.