Skip to main content

Timeline for Timer2 does not work as it should

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Apr 25, 2015 at 15:13 history tweeted twitter.com/#!/StackArduino/status/591983387914690560
Mar 31, 2014 at 9:02 answer added kiwiron timeline score: 0
Mar 20, 2014 at 19:34 answer added jfpoilpret timeline score: 1
Mar 20, 2014 at 12:14 vote accept jfpoilpret
Mar 20, 2014 at 9:33 answer added alexan_e timeline score: 4
Mar 20, 2014 at 8:53 comment added alexan_e We'll take it step by step, lets make sure first that something does change and then we can search further what changed the timer values.
Mar 20, 2014 at 8:43 comment added jfpoilpret Good idea! Initially I did not want to add Serial to the picture but that could help. However that will not tell what changed these register. I'll check that tonight and report back on the results.
Mar 20, 2014 at 8:34 comment added alexan_e Is there, in standard Arduino included code, some code that would overwrite some of the settings I perform for Timer2 in Timer::Timer()? You can easily check it, read the timer registers in the start of setup and send them through the serial port in the console to see if they match the values they should have.
Mar 20, 2014 at 6:15 history edited jfpoilpret CC BY-SA 3.0
Write that the code sample is simplified
Mar 19, 2014 at 23:53 history edited jfpoilpret CC BY-SA 3.0
fixed typo in sample code that let people think the code cannot compile
Mar 19, 2014 at 23:51 answer added TheDoctor timeline score: 0
Mar 19, 2014 at 20:33 history asked jfpoilpret CC BY-SA 3.0