You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per Table 24-2 of Atmel-42181G–SAM-D21_Datasheet–09/2015, constant in formula should be 65536, not 65535. Also no rounding is performed to take float to closest integer.