IQRF SPI library for master MCU

swThis article describes my new SPI library for master MCU. It is based on library published in startup package. I made some changes. At the first, I removed all PIC MCU related lines of code, because of universality of library. Next, I encapsulated all global variables related to SPI state machine to one structure. There are published two versions of library – for AVR-GCC and GCC compiler for ARM version 4.9.3.

Continue reading

Using timing functions I – startDelay() and isDelay()

swThis post demonstrates, how to use functions startDelay() and isDelay(). It is a response for questions from visitors of this website. At beginning I am going to show you, how to use simple startDelay() and isDelay() functions combination for red LED blinking. Then we will do some simple but useful temperature measurement application.

Continue reading