Skip to content

Conversation

nseidle
Copy link
Member

@nseidle nseidle commented Nov 1, 2019

This PR fixes a bug that corrupts non-visible ASCII.

Notes:

The Pin Change Interrupt was firing after the compare interrupt (completion of byte) which was causing the incorrect start of a new byte. PCI is now cleared at the end of Compare. In the future, we could change the PCI from CHANGE to FALLING to be more sure that we're seeing the start of a new byte but it's not a guarantee. And this PR works.

This was found while connecting the Artemis to the LTE shield using software serial. Lots of \n and \r's in the AT command flows that were getting corrupt. This fixes those corruptions.

Fixes a bug receiving non-visable ASCII.
@oclyke oclyke merged commit 43e90a3 into master Nov 1, 2019
@oclyke oclyke deleted the ssClearPCI branch November 1, 2019 17:53
@nseidle nseidle restored the ssClearPCI branch November 27, 2019 18:58
@nseidle nseidle deleted the ssClearPCI branch November 27, 2019 18:58
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