HI GUYS!
Please bear with me if you think Im too stupid for you.
Im doing a project for my school(yes, during this Christmas break, ughh, this is not a break though).
Now, after a couple of days staying up super late, I finally figured out how to burn (REALLY! 100% no error) the bootloader for arduino duemilanove using the ARDUINO ISP + breadboard. And Im happy.
What's the point? My point is... I did my best to have a research about my problem, and I luckily solved that, BUT, here comes my new problem (yes I already did some searching).
Here's the last website I have visited:
http://www.sweeting.org/mark/blog/2011/11/27/arduino-74hc595-shift-register-and-a-7-segment-led-display#comment-147068
That taught me many things. It uses only 1 7segment for the readers to fully understand the concept.
Unfortunately, I have no much time remaining to study and study and study many concepts.
I posted this comment on the author's page:
"yo mark. thanks for the code! thanks for the explanation as well.
However, I have a question. Is it possible for me to do this?
I have 4 switches. Representing ABCD (4 bits) binary numbers.
Say, my inputs are 1001, that is 9. I want the 9 to be displayed in my 7segment. I tried my best to modify the code, but I just wasn't able to do it. mind to help?
PS: I have to do this for 8 bits. two 4-inputs(that is 8 inputs) and 2 7segment. would my arduino pins be enough for this?
glenn"
anyways, I modified the code: But Im doing it wrong.
void loop()
{
// update digit every two seconds
t2 = millis();
if(Ain == HIGH && Bin == High && Cin == HIGH && Din == HIGH) show(numbers[15]); //to display F
}
This is for my HEX Display Decoder. All of the HEX Display Drivers IC are not available in my country. Such as Fairchild DM9368 :((
help please.
Ill come back after 5 hours.