PE Kit Objects Lab 1.1 Trap for Unwary
John Abshier
Posts: 1,116
AddressBlinkerControl asks for delay clock ticks.· Being lazy, I entered 1.· That caused the waitcnt in AddressBlinker to roll over since the delay was too short.· Being impatient, I quickly looked at the LEDs and did not see the change in led that I had input. Suggested code change in AddressBlinker
···· rate := long[noparse][[/noparse]rateAddress]
···· rate·#>=·minValue··· 'added line
···· waitcnt(rate/2 + cnt)
I haven't determined what minValue is.· It is at least 762 + cycles for the divide by 2
John Abshier
···· rate := long[noparse][[/noparse]rateAddress]
···· rate·#>=·minValue··· 'added line
···· waitcnt(rate/2 + cnt)
I haven't determined what minValue is.· It is at least 762 + cycles for the divide by 2
John Abshier
Comments
Andy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andy Lindsay
Education Department
Parallax, Inc.