Question about propeller education kit labs
4x5n
Posts: 745
Once upon a time in a former life and past career I did a lot of interrupt driven machine control programming for the 68hc11 microcontroller in assembly. During that time I did a lot of ladder logic programming for a few different types of PLCs. Recently I've gotten involved in a couple of projects that have the potential for small scale production (400-500) that I think the propeller would be ideal for. I've got a proto board on order for $25 which would put the price of the control electronics including power supply, motors, heaters, etc at about $100.
In preparation for programming the prop for this project I got the Propeller Education Kit Labs to learn how to program it. After a couple of hours or working through the labs in the beginning of the book I got to page 64 in which a technique is presented for improving long term timekeeping. The problem I having is the I don't understand how or why it either works or improves the long term time keeping with the "waitcnt" command. I've been going through the text and there's only a sentence or two explaining it and I'm just not following it. While long term time keeping isn't an concern for the projects I'm working on I'm afraid I'm missing something very basic and fundamental that will hurt me later on. Can someone give me a paragraph or two explaining it to me or point me to a web page that explains it?
In preparation for programming the prop for this project I got the Propeller Education Kit Labs to learn how to program it. After a couple of hours or working through the labs in the beginning of the book I got to page 64 in which a technique is presented for improving long term timekeeping. The problem I having is the I don't understand how or why it either works or improves the long term time keeping with the "waitcnt" command. I've been going through the text and there's only a sentence or two explaining it and I'm just not following it. While long term time keeping isn't an concern for the projects I'm working on I'm afraid I'm missing something very basic and fundamental that will hurt me later on. Can someone give me a paragraph or two explaining it to me or point me to a web page that explains it?
Comments