Notes and examples for PIC 10A