Skip to content

Set a different pair of pins for INPUT_CAPTURE_PIN and OUTPUT_COMPARE_A_PIN #165

Answered by Arnold-n
HauNguyen2002 asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, you cannot use hardware serial pins when using the P1P2MQTT library, which relies on other circuitry in the ATmega. To change anything, you would need to dive deep into the ATmega documetation. Also, it is a long time ago since I tested the library on a Mega2560 so it may no longer work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HauNguyen2002
Comment options

Answer selected by HauNguyen2002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants