Where can I find the cli() and sei() source code?
They are in interrupt.h
can you post it here sir? I cant seem to find and understand it ![]()
In your Arduino folder, search for interrupt.h
As for understanding it, there's more there than I can explain.
Try having a read here Gammon Forum : Electronics : Microprocessors : Interrupts