Led as Input Photodiode awneil wrote:
hcalin wrote: Probably the Arduino IDE isn't the best option for this.
What's that saying about blaming your tools ... ?
Probably not a good one :D. But I...
Wednesday, 22 August 2018 - 12:54
Led as Input Photodiode Yes clawson, that makes sense. Still in this configuration the timer has trash values. Probably the Arduino IDE isn't the best option for this.
Wednesday, 22 August 2018 - 10:01
Led as Input Photodiode El Tangas wrote:
Try to print only the high byte, TCNT1H, maybe it will give more sensible values.
edit: just remembered this detail: https://www.avrfreaks.net/forum/...
So...
Monday, 13 August 2018 - 08:19
Led as Input Photodiode Thanks for the replies.
El Tangas wrote:
It's very suspicious that the values of TCNT1 are all in a 8 bit number range (0-255). It seems the high byte is being ignored,...
awneil wrote: hcalin wrote: Probably the Arduino IDE isn't the best option for this. What's that saying about blaming your tools ... ? Probably not a good one :D. But I...
Yes clawson, that makes sense. Still in this configuration the timer has trash values. Probably the Arduino IDE isn't the best option for this.
El Tangas wrote: Try to print only the high byte, TCNT1H, maybe it will give more sensible values. edit: just remembered this detail: https://www.avrfreaks.net/forum/... So...
Thanks for the replies. El Tangas wrote: It's very suspicious that the values of TCNT1 are all in a 8 bit number range (0-255). It seems the high byte is being ignored,...