<div dir="ltr">if not mistaken this is the code:<div><br></div><div><br></div><div><a href="https://github.com/opentrv/OpenTRV-Arduino-V0p2/tree/master/Arduino/V0p2_Main">https://github.com/opentrv/OpenTRV-Arduino-V0p2/tree/master/Arduino/V0p2_Main</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-29 13:14 GMT+02:00 Tim Small <span dir="ltr"><<a href="mailto:tim@buttersideup.com" target="_blank">tim@buttersideup.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 29/09/16 11:13, Adrian Godwin wrote:<br>
> Could you measure the PC's baud rate at the AVR and then adjust the BRG<br>
> divider (or the AVR's clock calibration, if that's possible) to match ?<br>
<br>
I believe the ATiny does something similar (except with the USB clock in<br>
that case) in order to add precision to the onboard oscillator.  Might<br>
be worth looking at the code...<br>
<br>
Tim.<br>
______________________________<wbr>_________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.<wbr>uk</a><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/<wbr>listinfo/opentrv-dev</a><br>
</blockquote></div><br></div>