di  ( -- )

published: 29 January 2023 / updated 31 January 2023

Lire cette page en français

 

Disable interrupts.

Example:

: tempo ( ---) 
   3000 for next ; 
   
: int-action ( ---) 
    di  \ disable interrupt 
    tempo 
    LED.toggle 
    tempo 
    ei 
  ;i