Pages: 1 2 [3]   Go Down
Author Topic: Serial.read crazy results  (Read 2981 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 1
Posts: 462
I am a amateur.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think that you are making a pointless diversion from the actual topic and questions. smiley-wink I pressed "Copy for Forum". That makes the code (not quote) colorful. smiley And some questions are still unanswered. smiley-sad
Logged


Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 310
Posts: 26630
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you think not using the correct posting technique is pointless, consider the following (contrived, I admit) example:
Quote
void setup ()
{
  for (int s = 0; s < S_MAX; ++s) {
    int pre = image ;
    for (int i = 0; i < I_MAX ; ++i) {
      int sub = table
  ;
      for (su = 0; su < SU_MAX; ++su) {
        table  = fn (image [su]smiley-cool;
      }
    } 
  } 
}
and here, in plain:
Code:
void setup ()
{
  for (int s = 0; s < S_MAX; ++s) {
    int pre = image [s];
    for (int i = 0; i < I_MAX ; ++i) {
      int sub = table [pre] [i] [u];
      for (su = 0; su < SU_MAX; ++su) {
        table [b] = fn (image [su][sub], 8);
      }
    }
  }
}
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Global Moderator
Melbourne, Australia
Offline Offline
Brattain Member
*****
Karma: 511
Posts: 19350
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I pressed "Copy for Forum". That makes the code (not quote) colorful. smiley

Yes, <sigh>, we are trying to get rid of that.

Read this before posting a programming question
Logged

http://www.gammon.com.au/electronics

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 653
Posts: 50883
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Will this work? I don't have time to try it.
But you have time for half a dozen more posts on the forum? Get off the forum and try it yourself!
Logged

Global Moderator
Melbourne, Australia
Offline Offline
Brattain Member
*****
Karma: 511
Posts: 19350
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Will this work? I don't have time to try it.

When people post a question I usually try it. It takes about 10 seconds. The forum is usually a lot slower to respond than that. And people might be asleep.

Quote
I'm also learning here!

You learn by trying things. Not by asking for the answers.
Logged

http://www.gammon.com.au/electronics

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

Offline Offline
Sr. Member
****
Karma: 1
Posts: 462
I am a amateur.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
You learn by trying things. Not by asking for the answers.
Yes, I try things when I have time. Now, I will go do my homework.
Logged


Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 310
Posts: 26630
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I will go do my homework.
And don't forget to tidy your bedroom.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Sr. Member
****
Karma: 1
Posts: 462
I am a amateur.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
And don't forget to tidy your bedroom.
No need to; I always keep it clean. smiley Can we stop this "parlour game" or pointless diversion now, and get back on topic? Now, I can only do Arduino on weekends. I'll wait until July, and I can do it almost every day!
Logged


Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 246
Code Monkey
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
And don't forget to tidy your bedroom.
No need to; I always keep it clean. smiley Can we stop this "parlour game" or pointless diversion now, and get back on topic?

There's a topic?

I like kittens.
Logged

I yield() for co-routines.

Pages: 1 2 [3]   Go Up
Jump to: