Monday , January 23 2017
Home / Tag Archives: Embedded C

Tag Archives: Embedded C

Arduino Like Serial / UART Library for PIC 18 Microcontrollers

PIC with serial port

In my last post describing the implementation of a circular buffer I mentioned that I was working on a serial UART library for PIC 18. Well it is now completed! Yesterday I tested all the functions of the library and its working like a charm! In this post I will explain some key aspects of the code and how to download and use it in your code. What is UART? Universal Asynchronous Receiver and Transmitter is a serial communication protocol. …

Read More »

Implementing Circular/Ring Buffer in Embedded C

circular buffer

Most embedded programmers come to realize that majority of the code that they write in a day are either related to state machines or circular buffers or queues. In this article we will have a look at circular buffers and how you can implement them in low memory devices. For those of you who don’t know what a circular buffer is, its a kind of array that will loop back to 0 after it reaches the maximum number of bytes …

Read More »
Keep in touch with the current trends!
Did you like this article? Sign up and get our latest posts delivered to your inbox!
  We hate spam and never share your details.