LTG8F328x has 7 more digital I/O-s than ATmega328P #242
LaZsolt
started this conversation in
Show and tell
Replies: 2 comments 6 replies
-
Do you know if something similar is required before using any of |
Beta Was this translation helpful? Give feedback.
1 reply
-
When I started this discussion, I was wrong. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
LTG8F328x has 7 more digital I/O-s (port E) in LQFP32 package than ATmega328P. Most of this I/O-s not exposed on any nano style or mini style boards.
Ports E0, E2 or E6 has primary alternate function. When you set these ports with
pinMode()
the primary functions will be disabled.But if someone want to use port C6 (Pin 29) the RESET function must be disabled before set the port with
pinMode()
because it does not do that. After that the hardware RESET will not work and cannot be reprogrammed through serial port (Nor USB-Serial.) In this case only the power on RESET will work.Example code:
Beta Was this translation helpful? Give feedback.
All reactions