Report this forum post

Hi...I think that the interrupts used for the MEGA code might be "busy" on the Leonardo because the same code doesn't work.
On the MEGA I was using interrupts #2-5 to read the encoders on ports 18-21. On the Leonardo I'm using ports A2-A5 but the interrupts don't work (maybe they're taken by the bluetooth module or the motor shield?).

https://www.7pcb.com
  • Posted 30 Apr 2020 03:52
  • Modified 23 May 2020 04:51 by poster
  • By Roch_Levoff
  • joined 30 Apr'20 - 1 message
  • Virginia, United States

This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.

Indicates mandatory field
Taylor TX175
Coraopolis, Pennsylvania, United States
New - Sale & Hire
Aichi RX07B
Yokohama, Japan
Used - Sale
Global Industry News
edition #1260 - 11 December 2025
In this week’s Forkliftaction News we report on DHL Supply Chain signing a deal to deploy autonomous mobile robots (AMRs) at its Mexican retail operations and look at Guidance Automation’s successful trial of an AMR with a hydrogen fuel cell... Continue reading
Editorial calendar - planned features
CONSTRUCTION FORKLIFTS
HANDLING GOODS IN THE COLD
LOADING/UNLOADING FREIGHT
BROWNFIELD AUTOMATION
FORKLIFT ATTACHMENTS
BATTERY AFFORDABILITY AND LIFETIME
FORKLIFT SAFETY
Taylor TX175
Coraopolis, Pennsylvania, United States
New - Sale & Hire
Aichi RX07B
Yokohama, Japan
Used - Sale
Global Industry News
edition #1260 - 11 December 2025
In this week’s Forkliftaction News we report on DHL Supply Chain signing a deal to deploy autonomous mobile robots (AMRs) at its Mexican retail operations and look at Guidance Automation’s successful trial of an AMR with a hydrogen fuel cell... Continue reading
Upcoming industry events …
January 28-30, 2026 - Bangkok, Thailand
March 4-5, 2026 - Detroit, Michigan, United States
March 24-26, 2026 - Stuttgart, Germany
Editorial calendar - planned features
CONSTRUCTION FORKLIFTS
HANDLING GOODS IN THE COLD
LOADING/UNLOADING FREIGHT
BROWNFIELD AUTOMATION
FORKLIFT ATTACHMENTS
BATTERY AFFORDABILITY AND LIFETIME
FORKLIFT SAFETY
Taylor TX175
Coraopolis, Pennsylvania, United States
New - Sale & Hire
Aichi RX07B
Yokohama, Japan
Used - Sale
Upcoming industry events …
January 28-30, 2026 - Bangkok, Thailand
March 4-5, 2026 - Detroit, Michigan, United States
March 24-26, 2026 - Stuttgart, Germany
Fact of the week
Foundling hatches are safe, anonymous drop-off points for unwanted infants, allowing parents in crisis a way to surrender a baby safely without fear of punishment, ensuring the child is rescued and cared for. The concept started in the 12th century, was abandoned in the late 19th century, then reintroduced in 1952. It has since been adopted in many countries.