While hangs on string pointer You're missing the point, Michael. I don't do that myself because I don't ever use a semicolon to terminate conditionals or loops. But I have repeatedly overlooked that mistake...
Saturday, 23 February 2013 - 21:30
PC manipulations and strings I remember doing something similar in 8086 assembly back in the eighties, to produce the smallest possible "Hello, World!" program.
You basically use the call mechanism to push...
While hangs on string pointer But did you remove the semicolon that Levenkay told you about ? If you don't, you're asking for a hang.
Saturday, 23 February 2013 - 03:49
While hangs on string pointer Use code tags when posting code.
Adding to what Levenkay told you, you should consider replacing
while(*Buffer > 0)
with
while(*Buffer)
and
if (sbyte >> 0)
with
if (...
newbie question about code I don't know if it is going to make any difference, but it would make sense to configure the timer prior to starting it. That is, do the clock selection last.
Friday, 22 February 2013 - 21:48
How to install VS extensions On a laptop, the whatever equivalent is try to use the mouse pad for anything, and zoom will be activated.
I hate that feature. Scratch that, I HATE that feature.
I eventually...
newbie question about code Use code tags when posting code.
You need to access shared multibyte variables atomically. If you're not going to use values>255, declare the shared variable uint8_t, not int....
Friday, 22 February 2013 - 02:46
Blinking leds Are you compiling for the right chip ?
Are you uploading the correct executable to the chip ?
What does your circuit look like ?
Friday, 22 February 2013 - 02:38
program shows indifferent behaviour justinjohney wrote:thank you sid
can you explain why this is not work
Quote:
if(READ(C,4)==HIGH)
if(READ(A,1)==LOW)
That's not going to work.
The problem is that READ() does not...
You're missing the point, Michael. I don't do that myself because I don't ever use a semicolon to terminate conditionals or loops. But I have repeatedly overlooked that mistake...
I remember doing something similar in 8086 assembly back in the eighties, to produce the smallest possible "Hello, World!" program. You basically use the call mechanism to push...
Those things are hard to spot, we've all been there - repeatedly.
But did you remove the semicolon that Levenkay told you about ? If you don't, you're asking for a hang.
Use code tags when posting code. Adding to what Levenkay told you, you should consider replacing while(*Buffer > 0) with while(*Buffer) and if (sbyte >> 0) with if (...
Yes, the timer starts when you select a clock. Read the datasheet.
I don't know if it is going to make any difference, but it would make sense to configure the timer prior to starting it. That is, do the clock selection last.
On a laptop, the whatever equivalent is try to use the mouse pad for anything, and zoom will be activated. I hate that feature. Scratch that, I HATE that feature. I eventually...
Koshchi wrote:Quote:it exists until explicitly destroyed with delYou mean delete. Or delete[].
Use code tags when posting code. You need to access shared multibyte variables atomically. If you're not going to use values>255, declare the shared variable uint8_t, not int....
Are you compiling for the right chip ? Are you uploading the correct executable to the chip ? What does your circuit look like ?
justinjohney wrote:thank you sid can you explain why this is not work Quote: if(READ(C,4)==HIGH) if(READ(A,1)==LOW) That's not going to work. The problem is that READ() does not...
Pages