Raspberry Pi Pico Lecture 6: Protothreads and Fixed Point Arithmetic

0:00 - Administrivia and lecture goals 1:25 - Protothreads review 3:25 - Adding a thread (demonstration) 9:30 - Removing threads from the scheduler (demonstration) 11:15 - Yielding a Protothread on a logical condition (demonstration) 17:35 - How do interrupts interact with Protothreads? 18:50 - Interrupt priority levels 19:55 - What does static mean? 22:35 - What does const mean? 24:30 - Clarification about the scheduler 26:00 - Digression on Fourier drawings 28:00 - Fixed point arithmetic introduction 32:50 - Arithmetic with fixed point 38:00 - Type conversion to/from fixed point 41:48 - Square root in fixed point 43:20 - Random number in fixed point 48:45 - Speed comparison demo for fix vs. float (demonstration) Fall, 2022 lectures from ECE 4760 (Digital Systems Design Using Microcontroller) at Cornell University. Course site: Hunter’s site:
Back to Top