Posts Tagged ‘Interrupts’

MicroFAN (Part 3)

Part 1, 2, 3 This part of the subject deals with the code. Nothing exceptional except that it combines multiples libraries: PlainLCD which drives the LCD display, PlainENCi which drives the rotary encoder, PlainTMP for the temperature sensor and PlainEEPROM which handles the erasable memory functions for storing default parameters. Nota: Using equivalent libraries may not cause […]

Fast Signal Sampling (Part 6)

Part 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 11, 12 So far, the PlainADC library was able to generate unsigned 8 bits, unsigned 16 bits or unsigned 10 bits (encoded) data. While these formats are very convenient for storing the largest amounts of data, they are uneasy to interface with […]

Fast Signal Sampling (Part 2)

Part 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 11, 12 The key components for this piece of code are Acquisition parameter settings Interrupts Service Requests (ISR) Data acquisition function Depending upon the expected sophistication of the code, we may add some more functions, such as Acquisition engine start/stop Smoothing etc. […]

Tips and tricks (4)

Previous T&T Once again, the tips deals with… interrupts 😉 I was in the process of developping a new version of my rotary encoder libray for which I wanted to be able to set pins and ports. I quickly faced the question of the ISR. Should I write three identical routines ? (blah!). Should I […]