Page 1 of 1

RTC not updating correctly with PulseOut

Posted: 23 March 2015, 3:39 AM
by kurakaira
The RTC does not get updated correctly on native mode devices when using PulseOut .
I've seen this problem with 328n , ZX24s and ZX24u .

Code: Select all

Option TargetDevice ZX24s ' Works fine with ZX24r

Dim SeppoS as single

Sub Main()
  Do
    Debug.Print fmt(Timer,1);" ";

    If Timer - SeppoS >= 0.25 then
      Debug.Print
      Debug.Print "Timing : ";Timer-SeppoS
      SeppoS = Timer
    End if 

    Call PulseOut(0,0.02,0)
  Loop
End Sub

Re: RTC not updating correctly with PulseOut

Posted: 23 March 2015, 13:21 PM
by dkinzer
kurakaira wrote:The RTC does not get updated correctly on native mode devices when using PulseOut.
Thanks for letting us know. The cause of the problem has been determined and it has been corrected. An updated version of the compiler, v4.3.2, is available on the Downloads Page.