[quote:34fbde12f1="albertsm"]the zip contains images but it is unclear which one is from which test.[/quote:34fbde12f1]
Sorry, I thoght the images speak for them selfe. Have a look at the named images in the attached .zip
[quote:34fbde12f1="albertsm"]you have made a number of tests but you did not once produced code i asked for.[/quote:34fbde12f1]
pls find attached just two verry simple programs. All I did was outcommenting one line of code. And this outcommented statement ... in my poinion ... has nothing to do with the variable to be displayed. However it changed the displayed value as fare as I can see. Have a look at the "named" images in the .zip
[quote:34fbde12f1="albertsm"]if that gives different results it sure is a software problem.[/quote:34fbde12f1]
have a look plse and be asured I don't changed anything in hw.
[quote:34fbde12f1="albertsm"]but the reason is either that bin() gives a wrong result or that icr1 changes after the first read.[/quote:34fbde12f1]
Yea! Having had a close look at the ATMEL manual I couldn't find any hint that ICR1 will be changed by processor hardware
[quote:34fbde12f1="albertsm"]since the sim produced the same values, i suspect the problem is the last. [/quote:34fbde12f1]
I don't
[quote:34fbde12f1="albertsm"]but the test above will clearly demonstrate that.[/quote:34fbde12f1]
I do hope so. Let me know if any further tests are required
All the best and have a nice sunday afternoon
MHz
↧