Skip to content

Commit

Permalink
Update Ref_Optiboot.md
Browse files Browse the repository at this point in the history
Fixes typo
  • Loading branch information
nomakewan committed Jan 3, 2024
1 parent 5bc7c4c commit 9ed00da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megaavr/extras/Ref_Optiboot.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Notes:

**Notes** 14-pin parts had to depart from our tradition of PA7 LEDs. The LED is on PD6 on 14-pin parts, and PD4 if Serial1 is the serial port the bootloader uses (because that uses pins PD6 and PD7 - mux option 0 becomes available only when the TX pin, PC0, actually exists. This is only present on 28 and 32-pin parts). (Corrected jan 3 2024).

These were chosen because they're also tthe output pins for the communication interfaces (USART, some others IIRC). Therefore, if one is using those peripherals, you've got that pin connected to something that can deal with the pin being driven by something else (in this case the AVR). Thus, it is unlikely to cause damage to the other device. On the other hand, if we used PD5/7, that's an input if the peripheral there is in use, hence it absolutely should not be used for the LED, because of the likihood that another device's output would be connected there, and they would fight until one burned out.
These were chosen because they're also the output pins for the communication interfaces (USART, some others IIRC). Therefore, if one is using those peripherals, you've got that pin connected to something that can deal with the pin being driven by something else (in this case the AVR). Thus, it is unlikely to cause damage to the other device. On the other hand, if we used PD5/7, that's an input if the peripheral there is in use, hence it absolutely should not be used for the LED, because of the likihood that another device's output would be connected there, and they would fight until one burned out.

### Serial Ports, DA/DB

Expand Down

0 comments on commit 9ed00da

Please sign in to comment.