| Description |
|
The noInterrupts() and interrupts() methods disable and enable interrupts, respectively, in the Wiring I/O board. By default interruptions on the Wiring I/O board are enabled to allow the environment, libraries and time to work. Note that all the Wiring functionality will stop by disabling interrupts. These methods are useful to mark critical sections of code where timing is so important that it can not be interrupted by other tasks (like Serial, Wire, other libraries or timing activities). The methods are provided for advanced users who know exactly what they are doing. After disabling interrupts it is necessary to re-enable them or all other I/O activities in the Wiring I/O board will not work again in the current program.
noInterrupts() 와 interrupts() 는 Wiring I/O
보드에서 인터럽트의
사용금지 와
사용가능을 설정하는
메소드 입니다. Wiring I/O
보드는 디폴트로
개발환경, 라이브러리
실행 그리고 시간관련
동작때문에
사용가능상태로 되어
있습니다. 이 메소드는
타이밍이 중요하여
시리얼통신, 가른
라이브러리 또는
타이밍동작
|