[preposielam] Snad tento link pomoze: Using C18/HI-TECH C Compiler to Interface Serial SRAM Devices to PIC16F/PIC18F MCUs (microchip.com) <https://ww1.microchip.com/downloads/en/Appnotes/01287A.pdf> Je to AN1287 od Microchipu a je tam snad vsetko aj s obrazkami. Zdrojaky by mali byt aj v C-cku.