How about Arduino mega 2560 #7

Open
opened 5 years ago by andrew · 1 comments
andrew commented 5 years ago

Your project works well for Arduino Uno.
BTW, how about Arduino mega 2560?
I dont'know how to change some code...
Waiting for you reply...

Your project works well for Arduino Uno. BTW, how about Arduino mega 2560? I dont'know how to change some code... Waiting for you reply...
Owner

Hello andrew, sorry for the late reply.

Making this library work on any other board is a matter of porting it to the specificities of that board/controller. For what I remember when it was ported on ATtiny85, you'll need to adjust code for:

  • pin state change interrupts (and use a pin that supports this kind of interrupts)
  • timer initialization/interrupts
  • adjust various delays to cope with the speed difference of the micro-controller

Though I'm not aware of anyone who made it work on this board, maybe someone already did it? If not, I'm sorry I can't help, I'm not working on this project at this time.

Hope you'll find a solution.
Cheers.

Hello andrew, sorry for the late reply. Making this library work on any other board is a matter of porting it to the specificities of that board/controller. For what I remember when it was ported on ATtiny85, you'll need to adjust code for: * pin state change interrupts (and use a pin that supports this kind of interrupts) * timer initialization/interrupts * adjust various delays to cope with the speed difference of the micro-controller Though I'm not aware of anyone who made it work on this board, maybe someone already did it? If not, I'm sorry I can't help, I'm not working on this project at this time. Hope you'll find a solution. Cheers.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.