Search:

Type: Posts; User: ekarapanos

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. First of all thanks for the willingness to help,...

    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...
  2. Compiler4windows & making a telephone dial via modem (atdt)

    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...
  3. Replies
    16
    Views
    2,137

    No, i am afraid you didn't understand what 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...
  4. Replies
    16
    Views
    2,137

    i think it is better to give you the some code to...

    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.
  5. Replies
    16
    Views
    2,137

    The problem is that i want to make my code...

    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,
    ...
  6. Replies
    16
    Views
    2,137

    calling an array

    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.
    ...
  7. Replies
    6
    Views
    1,864

    sorry i am blind, it's ok. Thanks!

    sorry i am blind,

    it's ok. Thanks!
  8. Replies
    6
    Views
    1,864

    I have this code ...

    I have this code

    ------------------------------------------------------------
    unsigned int digit0, digit1, velocity = 314;

    char buffer[11];
    sprintf(buffer, "%u", velocity);

    digit0 =...
  9. Replies
    6
    Views
    1,864

    i can't understand

    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...
  10. Replies
    6
    Views
    1,864

    Thanks for the help salem but, could you be a...

    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...
  11. Replies
    6
    Views
    1,864

    selecting an array

    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
  12. Replies
    1
    Views
    1,108

    making a modem a telephone device

    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...
  13. Replies
    16
    Views
    1,874

    ok, that is what i had done. I just thought...

    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!
  14. Replies
    16
    Views
    1,874

    Done!

    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...
  15. Replies
    6
    Views
    3,717

    i don't think so. xdata is saying that it wil be...

    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.
  16. Replies
    6
    Views
    3,717

    redesigned but problems in linking!!!

    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,...
  17. Replies
    6
    Views
    3,717

    ok, sorry i didn't know it.

    ok, sorry

    i didn't know it.
  18. Replies
    6
    Views
    3,717

    but i want to use the display1 function several...

    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?
  19. Replies
    6
    Views
    3,717

    problem with array

    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...
  20. Replies
    16
    Views
    1,874

    ok Thanks a lot!

    ok

    Thanks a lot!
  21. Replies
    16
    Views
    1,874

    Ok with the integers. But now with the array,...

    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...
  22. Replies
    16
    Views
    1,874

    loading parameters into a function

    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...
  23. Replies
    1
    Views
    1,034

    point into an array

    How can i point with a for loop into a two-dimensional array and get it's value??
  24. Replies
    2
    Views
    1,173

    creating delay

    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...
  25. Replies
    1
    Views
    2,125

    ATMEL's 89S8252 first program

    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) {
Results 1 to 25 of 30
Page 1 of 2 1 2