First of all thanks for the willingness to help,
I am developing for my bachelor thesis, and infokiosk (with touch-screen) system which will provide services to the students of my department in...
Type: Posts; User: ekarapanos
First of all thanks for the willingness to help,
I am developing for my bachelor thesis, and infokiosk (with touch-screen) system which will provide services to the students of my department in...
Hello!
I would like some help in two things!
I have some experience in programming microcontrollers with c but i've never set a compiler for windows applications.
1) So do you know where i...
No, i am afraid you didn't understand what i mean.
I will set a simple task.
----------------------------
I have 10 variables.
From
number_0 = "blah..blah"
to...
number_9 = "another...
i think it is better to give you the some code to see what i mean.
these are two arrays
number_0[5][27]
number_1[5][27]
i didnot give you the content of the arrays because it was too big.
The problem is that i want to make my code smaller in bytes. So the if clauses do not offer me something better than case. I think that the cases are more efficient than the if clauses.
Anyway,
...
Hello,
i want a little help to make my code more efficient cause i work on an embedded system and i exceeded my rom capacity.
I have an int.
a=3 for ex.
I want for each a to call one array.
...
sorry i am blind,
it's ok. Thanks!
I have this code
------------------------------------------------------------
unsigned int digit0, digit1, velocity = 314;
char buffer[11];
sprintf(buffer, "%u", velocity);
digit0 =...
I am trying to do this.
sprintf(*velocity1, "%.1velocity", velocity);
So as to get the first character of the integer velocity and set it as the integer but it doesn't work. I found...
Thanks for the help salem but,
could you be a little bit more specific? The problem is that i use Keil(for embedded systems) compiler and i cannot see the result so easily.
Where can i find a...
I have an integer
for ex.
unsigned int a =120
1)How can i parse the digits of the integers seperately.
so as to have three integers.
b=1
c=2
d=0
Hello,
I am developing a multimedia application with which i want to make a telephone application via a infokiosk. So, i want from the multimedia application to call a program(propably in c) which...
ok, that is what i had done.
I just thought that it would be more efficient if i could know them without having stored them in the first row.
Thanks!
Ok, i redesigned it from the scratch and everything is ok.
I needed the 2-dimensional arrays for this reason.
I am displaying pictures like this in the image in a graphic lcd. So i take the...
i don't think so. xdata is saying that it wil be stored in the outside memory of the microcontroller.
I am working on an embedded system.
I tried to redesign it, there is not problem in debugging but there are a lot of errors in linking. The problems are saying:
ERROR 104: MULTIPLE PUBLIC DEFINITIONS
WARNING L16: UNCALLED SEGMENT,...
ok, sorry
i didn't know it.
but i want to use the display1 function several times with different arrays to import and different array dimensions.
What can i do about this?
What is wrong with this code?
It says that when i set
int x = myarray[0][0];
that there is no array(Specific subscript on non array or too many dimensions)
#include <reg52.h>
#include...
ok
Thanks a lot!
Ok with the integers.
But now with the array,
First of all there is no relationship between the array and the integers and i will not work with pointers.
I have in my lib.h file an array...
Hello!
I have a question to make. As i see if i want to load a byte in a function the code is
void name(uchar dbyte) {
...
}
But, i want to pass 2 integers (x,y coordinations) and an array...
How can i point with a for loop into a two-dimensional array and get it's value??
for(i=0; i<=15; i++){
//do nothing
}
How many processor cycles is this delay?
Is there a more efficient way to create a delay in my embedded system?
2) I want a delay of 1000 ns. My...
Hello,
I am trying to send some volts to my databus and i meter them.
The program is following.
#include <reg51.h>
#define XBYTE ((unsigned char volatile xdata*) 0)
void main(void) {