Skip to content

Conversation

@Javier-varez
Copy link

In order to guarantee the width of the start bit in a serial transfer we
need ot make sure that we are waiting for the correct amount of time.
Since the timer is already started we have no guarantee of the current
count value and therefore should add an initial wait.

In order to guarantee the width of the start bit in a serial transfer we
need ot make sure that we are waiting for the correct amount of time.
Since the timer is already started we have no guarantee of the current
count value and therefore should add an initial wait.
@sajattack
Copy link
Owner

I would rather take the solution in #10 but it needs to be updated to support embedded-time. Would you be able to take that on?

@Javier-varez
Copy link
Author

I fully agree, that would be a much better solution. I'll give it a go!

@Javier-varez
Copy link
Author

I'm not quite sure I understand the strategy to use the embedded time crate. As far as I have seen no timer hardware abstraction layers currently use the types and traits defined there, so the serial port will not work with them?

@sajattack
Copy link
Owner

I was under the impression there was better adoption.

@sajattack sajattack marked this pull request as draft August 8, 2022 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants