Re: Need help converting a 4 bit binary number to 4 separate values
Thanks Henrik,
I'll give those a try.
When I get this working it will have...- 8 digit 7-segment display of 8 bit binary number in the form of 1's and 0's
- 8 individual LED's to represent an 8 bit binary number in the form of High and LOW (on/off)
- 2 digit alphanumeric display to represent Hex number
- 4x20 LCD using BIG digits to display Decimal number
All controlled by a 16F690.
Will count up/down from 0-255
Each of the above listed display formats will show the same number in a different way.
A POT will increase/decrease/stop counting speed
2 buttons to change counting direction or single count when pot is turned all the way to stop.
My intention is to have a way to show the same number in DEC / HEX / BIN so that students can see the relationship between the different number formats.
Oh Yeah, and to have something sort of Rube Goldberg-ish and kind of geeky to spark interest in electronics and programming.
I'll try and post the code and a video when I get it finished.
thanks
Last edited by Heckler; - 22nd June 2015 at 17:22.
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
Bookmarks