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
The clock device is generally set to work at a fixed rate in a computer. While that rate for real computers is less than 1 second, since that would be too low a resolution, the rate is usually a fixed value that indicates time.
I think that changing the speed of time in general can be tricky, because vonsim users are usually learning still about clock speeds, and being able to modify the way real time is measured as well as the simulation speed can cause them to confuse each other.
Also, what's the use case? In most cases, you'll want to speed up the clock to wait less for a timer interrupt when testing the code. However, in many cases, you can do that just as easily by decreasing the value of comp. Of course in some cases you may want the clock speed to be faster, for example to see what happens when cont increases past 255. In that case you can also initialize cont with a larger value. Can't think of other cases
The text was updated successfully, but these errors were encountered:
The clock device is generally set to work at a fixed rate in a computer. While that rate for real computers is less than 1 second, since that would be too low a resolution, the rate is usually a fixed value that indicates time.
I think that changing the speed of time in general can be tricky, because vonsim users are usually learning still about clock speeds, and being able to modify the way real time is measured as well as the simulation speed can cause them to confuse each other.
Also, what's the use case? In most cases, you'll want to speed up the clock to wait less for a timer interrupt when testing the code. However, in many cases, you can do that just as easily by decreasing the value of comp. Of course in some cases you may want the clock speed to be faster, for example to see what happens when cont increases past 255. In that case you can also initialize cont with a larger value. Can't think of other cases
The text was updated successfully, but these errors were encountered: