#define TIMEOUT_ONE 60000L
what is the L?
Type: Posts; User: aaronc
#define TIMEOUT_ONE 60000L
what is the L?
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
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...
thanks, that solved one problem.
it was of local scope
Why does this give an error?
the error is:
"Conflicting type modifier"
byte far far_array[3] = { 'H', 'i', 0 };
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...
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 );
would int32u support a value of 7200000?
should i declare them as double?
sizeof( int ) gives me 2
2 bytes?
i'm working on an embedded environment
this is an intel chip
tried what you just said
same error :/
yes
same error
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)(...
cheers thantos
//Definitions:
byte string[20];
byte location_list[100][15];
what does the "-12.12" bit do?
how do you read this pointer?
*(char *)ptr
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...
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?
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...
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;
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...
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:
...
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...
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...