Monthly Archives: February 2008

The Stack … so misunderstood (continued)

So we understand now what we don’t know (see The Stack … so misunderstood, part 1). We know how to set a minimum limit for the Stack size. We know how to verify how much space the linker has allocated … Continue reading

Posted in Tips and Tricks | 1 Comment

The Stack… so misunderstood

The stack is such a key element of every C program that too often we take it for granted and we don’t spend enough time to make sure we have it set properly. Most often we resolve to look into … Continue reading

Posted in Tips and Tricks | Comments Off on The Stack… so misunderstood

Watching Expressions

MPLAB has become such a large application, or I should better say “group” of applications, and it keeps evolving so fast that one can hardly keep up with the pace of monthly (when it is not weekly) updates. Typically before … Continue reading

Posted in Tips and Tricks | Comments Off on Watching Expressions

File I/O with Static Allocation

I am sure you won’t be surprised to learn that most (if not all) of the code presented in the book is derived from my past experimentations on the PIC18 and PIC16 over a few years… In particular the FileIO … Continue reading

Posted in Tips and Tricks | Comments Off on File I/O with Static Allocation

The missing (pinout) table

There is one table I have been looking for many times among the PIC24 documentation and could never find… it’s a pin-out table, nothing fancy, but a complete one that would help me figure out quickly how to tell if … Continue reading

Posted in Tips and Tricks | 1 Comment

Chapter 5 Excercises

The exercises assigned in Chapter 5 are actually quite advanced and are mostly meant to give you ideas of the kind of powerful things you can do in C using interrupts (and simple state machines). The following chapters, in particular … Continue reading

Posted in PIC24, Tips and Tricks | Comments Off on Chapter 5 Excercises