Everyone says that it’s bad to use loops for delays in microcontrollers. But why? It’s a lot easier to make it that way. In most cases there are macros available that’ll do the calculations for you and will make the…
Everyone says that it’s bad to use loops for delays in microcontrollers. But why? It’s a lot easier to make it that way. In most cases there are macros available that’ll do the calculations for you and will make the…
(running the first program) When you write programs for devices it’s a lot worse when something goes wrong. For example if you output the wrong signal, depending on your schematic you might be making a short circuit. Or if you…
(writing the first program) If you are tired of talking and want some action – let’s not waste anymore time. In this part you will learn how to set up a project using MPLab, write a simple program and run…