Search:

Type: Posts; User: aaronc

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: what is L?

    by aaronc
    Replies
    2
    Views
    968

    what is L?

    #define TIMEOUT_ONE 60000L

    what is the L?
  2. Thread: far and near

    by aaronc
    Replies
    6
    Views
    1,767

    Yes I've read that manual already, it does...

    Yes I've read that manual already, it does explain the far to near issue but that is with pointers.

    The problem is I can't get another compiler. :(

    oh well. thanks for trying
  3. Thread: far and near

    by aaronc
    Replies
    6
    Views
    1,767

    far and near

    hello all,

    i've been struggling with this problem for a while, with no success.

    it is in regard to far and near interaction.

    when it is instructed to perform the the copying of 'gA\0' (line...
  4. Replies
    7
    Views
    1,274

    thanks, that solved one problem. it was of...

    thanks, that solved one problem.

    it was of local scope
  5. Replies
    7
    Views
    1,274

    why does this give an error?

    Why does this give an error?

    the error is:

    "Conflicting type modifier"


    byte far far_array[3] = { 'H', 'i', 0 };
  6. Replies
    1
    Views
    1,335

    Problem: 64k block issue

    Hello guys n gals, here I have 4 case situations which I have tested using this compiler, however only Test #1 works.

    The issue is related to far and near 64k data blocks.

    In general I am...
  7. Replies
    1
    Views
    1,964

    Problem: far to near copy, and vice versa

    Could someone tell me what is wrong with this?


    static byte response_string[300];

    static byte far far_response_string[3500];


    _fstrncpy( far_response_string, "hi", 3 );
  8. Replies
    19
    Views
    2,360

    would int32u support a value of 7200000?

    would int32u support a value of 7200000?
  9. Replies
    19
    Views
    2,360

    should i declare them as double?

    should i declare them as double?
  10. Replies
    19
    Views
    2,360

    sizeof( int ) gives me 2 2 bytes?

    sizeof( int ) gives me 2

    2 bytes?
  11. Replies
    19
    Views
    2,360

    i'm working on an embedded environment this is...

    i'm working on an embedded environment

    this is an intel chip
  12. Replies
    19
    Views
    2,360

    tried what you just said same error :/

    tried what you just said

    same error :/
  13. Replies
    19
    Views
    2,360

    yes same error

    yes

    same error
  14. Replies
    19
    Views
    2,360

    If Comparion problem

    Could someone fix this for me?

    Error: Constant out of range in comparison (if statement)


    static word force_reset_countdown = 99;

    if( abs( (int)force_reset_countdown-(int)(...
  15. Replies
    2
    Views
    1,597

    cheers thantos

    cheers thantos
  16. Replies
    2
    Views
    1,597

    sprintf question

    //Definitions:


    byte string[20];


    byte location_list[100][15];

    what does the "-12.12" bit do?
  17. Replies
    12
    Views
    1,812

    how do you read this pointer?

    how do you read this pointer?


    *(char *)ptr
  18. Replies
    1
    Views
    1,223

    checking x size of multi 2-d array

    I am passing a multi-2d array through a routine, and this routine is used several times with different x sized 2-d arrays.
    NOTE: The y coordinate is always 15.

    Is there a way to extract the size...
  19. Replies
    10
    Views
    1,538

    thanks dante now why didn't i think of that...

    thanks dante

    now why didn't i think of that earlier... the dreaded brackets :p

    is there any advantage to using
    (*count)++; in comparison to
    *count += 1;, or vice versa?
  20. Replies
    10
    Views
    1,538

    sorry my wording was incorrect in the first post....

    sorry my wording was incorrect in the first post.

    what i meant was "works" as in "compiles with no warnings".

    not "works" as in "compiles with warnings".

    my apologies,

    this particular...
  21. Replies
    10
    Views
    1,538

    yes it works now, weird. it is happy with +=...

    yes it works now, weird.

    it is happy with += but not with the ++ when i call in a int pointer.

    damn compiler :p

    instead of doing *count++;

    i had to do *count += 1;
  22. Replies
    10
    Views
    1,538

    thank you for your reply i ran and output the...

    thank you for your reply

    i ran and output the integer data on the lcd

    it was still zero
    even though i incremented it in func2

    HOWEVER i think i may have found something,

    the compiler...
  23. Replies
    10
    Views
    1,538

    ! C question: simple integer function passing

    Could someone clarify this for me?

    I dont understand why case 1 works and why case 2 doesn't.
    the compiler gives a warning, complaining about code has no effect for case 2

    case1:
    ...
  24. Replies
    1
    Views
    1,137

    ! C question: what is wrong with this ?

    Hello all,

    Can anyone tell me what is wrong with this setup?

    Error:
    Type mismatch in parameter 'string' in call to 'func2' in function func1

    void func1( ... )
    {
    const byte site_string...
  25. Replies
    1
    Views
    1,966

    using pointers to pass multi-d arrays

    hello, this is sort of related to my recent post, which was solved thanks to you guys.

    i had to take out the use of pointers.

    Question now is:

    "Is it possible to use pointers to pass...
Results 1 to 25 of 30
Page 1 of 2 1 2