Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with Attiny85 RX Uart Pin #862

Open
GabrielSCorrea opened this issue Jun 1, 2024 · 3 comments
Open

Help with Attiny85 RX Uart Pin #862

GabrielSCorrea opened this issue Jun 1, 2024 · 3 comments

Comments

@GabrielSCorrea
Copy link

I may be getting , butI believe there is a discrepancy in the documentation regarding the RX pin for the ATtiny x5 family. The README.md states that the RX pin is on PA1, while the extras/avr documentation indicates it is on AIN1.

Screenshot 2024-06-01 at 02 07 39 Screenshot 2024-06-01 at 02 07 25 Screenshot 2024-06-01 at 02 07 08
@hmeijdam
Copy link
Contributor

hmeijdam commented Jun 1, 2024

You are looking at the wrong part ATtinyx4

image

@backgroundprocessing
Copy link

For the ATtiny x5, the line should read "Software PB0, PB1" rather than "Software PB0, PA1".
There are no PA pins on the ATtiny x5 devices.

As shown on the pinout diagram, PB1 is also referred to as AIN1, either name can be used.

@bakeddean
Copy link

I think @backgroundprocessing is correct, there is a typo in the documentation.
From https://github.com/SpenceKonde/ATTinyCore/blob/v2.0.0-devThis-is-the-head-submit-PRs-against-this/avr/cores/tiny/TinySoftwareSerial.h

/* Where should this work?
 * ATtiny x5:   Yes - RX on PB1, TX defaults to PB0, can be PB0~4.

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

No branches or pull requests

4 participants