Show Posts
Pages: [1]
1  Community / Website and Forum / Re: Loop Back Test - Sticky? on: February 23, 2012, 08:06:35 pm
Thank you for the tip on ASCII chart. (Personally, I bleed EBCDIC.)

After seeing 'a'=97, I tried all println formats.  BYTE has been dropped, but the compiler pointed me in the right direction.  This is the code that works -
      int crap = Serial.read();
      Serial.write(crap);             


Thank you for the assist,
kk
2  Community / Website and Forum / Re: Loop Back Test - Sticky? on: February 23, 2012, 07:17:20 am
I've set it to a matching baud rate with the similar results.

I found a port monitor and sent it a string of 'a's.  Here's what the monitor saw-
Port opened by process "javaw.exe" (PID: 6424)

Request: 2/23/2012 7:14:25 AM.52364 (+180.2188 seconds)

 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61   aaaaaaaaaaaaaaaa
 61 61 61 61 0D 0A                                 aaaa..         

Answer: 2/23/2012 7:14:25 AM.53864 (+0.0156 seconds)

 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A   97..97..97..97..
 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A   97..97..97..97..
 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A   97..97..97..97..
 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A   97..97..97..97..
 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A   97..97..97..97..
 31 33 0D 0A 31 30 0D 0A                           13..10..


Ideas anyone?
3  Community / Website and Forum / Re: Loop Back Test - Sticky? on: February 21, 2012, 01:51:55 pm
Great documentation!!!  (And I regularly read IBM mainframe docs.)
I followed the instructions and it behaved exactly as expected; a text version of ping.

I strung together some code to do the same thing.  The problem is all I get back is rectangles under the serial monitor.  Can you think of something to account for that?
Here's my code -
Quote
void setup() {
  Serial.begin(9600);
  pinMode(2, INPUT);
}

void loop() {
    if (Serial.available() > 0) {
      Serial.println(Serial.read());             
    }
  }
}



Any help would be appreciated.

Regards,
kk
4  Using Arduino / Installation & Troubleshooting / Re: Unable to enter any text on: February 19, 2012, 12:18:17 pm
BINGO!!

Give the man a cigar!!

Thank you very much,
kk
5  Using Arduino / Installation & Troubleshooting / Re: sketch_feb09a empty on: February 19, 2012, 09:33:23 am
He may be trolling but I'm not.

I see the date as sketch name when I start the software.  But I'm not able to type anything.  I can't paste anything.
I can load up an example, compile and send it to the board.  BUT I can't change anything in the code.

I've been able to use the software (0022) fine in the past.  I loaded 1.0 and have the same thing happen.

Has anyone seen this?

kk
6  Using Arduino / Installation & Troubleshooting / Unable to enter any text on: February 19, 2012, 09:24:24 am
I'm using 1.0 (but this happens on 0022 as well) and when I open the software, I'm not able to enter any text.
I can load an example and upload it to the board, but am unable to type anything in there either.

I know this is strange, but there it is.

Regards
kk
Pages: [1]