Converting ASCII to Hex

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times
Contact:

Re: Converting ASCII to Hex

Post by Spanish_dude »

game_of_live_prev[] and game_of_life_next[] should be int arrays :| .

I'm going to take a look at the program. I'm sure I made int arrays ...

EDIT:
Oh my god... I did it, byte arrays... awesome...
2 weeks trying to figure out a ******* bug in the ReceiveGame macro and that was the problem...
I think I programmed all possible ways to convert ascii to hex...

I just can't believe what I'm seeing... How stupid of me !!
This is just wrong...

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: Converting ASCII to Hex

Post by JonnyW »

Happens to me all the time... Not the kind of thing you do twice though!

Good luck with your program, cellular automations are always really nice when theyre done.

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times
Contact:

Re: Converting ASCII to Hex

Post by Spanish_dude »

It is done !

That was the only problem I had.
I'll see if I can make a short video.

I have 2 hardware issues, one of them is corrected with the software, the other one is a low LED intensity.
I tried changing the 500Ohm resistors to 220 Ohm but this didn't change a lot. This is also a hardware problem as the current for a row LEDs is coming from one output of a buffer instead of going into the pin.
This buffer can only output 160mA.
The LEDs are turned on by sending '0'. This should have been different, but it is working so it's not really important.

Thanks Martin, Jonny ;)

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times
Contact:

Re: Converting ASCII to Hex

Post by Spanish_dude »

Hi everyone,

This is my final years project : http://www.youtube.com/watch?v=Nrz2ezQr3fY :D

Post Reply