Skip to main content

Timeline for Basic Serial Transmission Protocol

Current License: CC BY-SA 3.0

23 events
when toggle format what by license comment
Sep 29, 2015 at 10:43 history tweeted twitter.com/#!/StackArduino/status/648810360775045120
Sep 29, 2015 at 5:46 vote accept Jonathan
Sep 29, 2015 at 5:46 vote accept Jonathan
Sep 29, 2015 at 5:46
Sep 29, 2015 at 5:37 answer added Nick Gammon timeline score: 3
Sep 29, 2015 at 4:35 comment added Jonathan So to clarify, SoftwareSerial uses bit-bang? How are you able to tell?
Sep 29, 2015 at 4:33 comment added Jonathan Hey @NickGammon that if statement was a typo. And I initially used SoftwareSerial to do all my hardware tests. However, I'm trying to make my own library without the extra fluff. I had a very very hard time trying to understand what is happening in SoftwareSerial's code.
Sep 29, 2015 at 4:31 history edited Jonathan CC BY-SA 3.0
added 4 characters in body
S Sep 29, 2015 at 4:31 history suggested 200_success
edited tags
Sep 29, 2015 at 4:16 comment added Nick Gammon If you want to bit-bang, I suggest you look at how SoftwareSerial does it.
Sep 29, 2015 at 4:15 comment added Nick Gammon if(fourth = 1) - that, and all your similar tests, are wrong. That is assigning and then testing. So the if will always be true in this case.
Sep 29, 2015 at 2:50 vote accept Jonathan
Sep 29, 2015 at 5:46
Sep 29, 2015 at 2:20 answer added ErikR timeline score: 5
Sep 29, 2015 at 2:10 review Suggested edits
S Sep 29, 2015 at 4:31
Sep 29, 2015 at 2:09 history migrated from codereview.stackexchange.com (revisions)
Sep 29, 2015 at 2:08 comment added 200_success Code Review has a policy that the code in questions must be working correctly to be on-topic. However, Arduino doesn't have that strict requirement, so I am migrating the question.
Sep 29, 2015 at 2:06 comment added Jonathan Smit Sorry, typo. I meant, therefore, I am NOT sending a clock signal. (since it's asynchronous).
Sep 29, 2015 at 2:00 comment added user5402 I don't see a clock signal in your code.
Sep 29, 2015 at 1:58 comment added Jonathan Smit Not exactly the way I want it to. Some of the bits are lost. I think it's because of the interval time of the data. I'm guessing it would actually pick up the signal correctly if the clock was right. However, I am not doing synchronous communication. Just asynchronous. THerefore, I am sending a clock signal.
Sep 29, 2015 at 1:50 comment added user5402 Does your readRx function work?
Sep 29, 2015 at 1:47 comment added Jonathan Smit @user5402 The write function is ok, and it works. However, this is my attempt at serial communication. Can you please tell me what things I am doing wrong so I can perform a more correct serial IO.
Sep 29, 2015 at 0:20 comment added user5402 Does this code actually work with whatever device you want to talk to? This is not the way to perform serial IO.
Sep 28, 2015 at 23:57 comment added 200_success "Hope to run on Arduino" — so it doesn't actually run? In another version of this question on Code Review (now deleted), a concern was raised over the correctness of if(third = 0).
Sep 28, 2015 at 22:39 history asked Jonathan CC BY-SA 3.0