Hello i have a few questions.
1. Why are all numbers +48 (i know because of 00110000,picture in attachments) but i want to know why that happens.
2. Is there a better way to read RAM?
Code:
//1.Stundeint stunde1;
int stunde11;
char *adresse = (char*) (0xA0000501);
char a = *adresse;
char *adresse1 = (char*) (0xA0000502);
char b = *adresse1;
a=a-48;
b=b-48;
stunde1=10*a+b;
3. I want to attach two numbers. I did it with that equation c=10*a+b, but is there a way to create a eg. 04. So that one address holds 0 and the other 4.
4. How do i put Variables into that array?
eg:
Code:
ROM BYTE BIMMELN [26][x] ={
"stunde1:stunde11",
"08:15",
"09:05",
"09:10",
"10:00",
"10:05",
"10:55",
"11:00",
"11:50",
"11:55",
"12:45",
"12:50",
"13:40",
"13:45",
"14:35",
"14:40",
"15:30",
"15:35",
"16:25",
"17:15",
"18:00",
"18:45",
"19:00",
"19:45",
"20:30",
"21:15",
};
Hope that u guys can help me.