📄 main.c
字号:
/*
Example 3a
This example shows the same concept as Example 2, using interrupts to
check for a message to light an LED and to send a message if a button
is pressed. But for the first 5 button presses, the message is sent to
the wrong address. On the 5th push, the Commanded Address message is
sent to command the other node to use the address that this node is
sending the message to. Note that this node doesn抰 even need to know what the other node抯 first address is, as long as it knows the node抯 NAME.
This example will use high priority interrupts.
Application Maestro should be run with the following options changed
from their default values (in addition to NAME, Address, and bit rate
values):
Receive Interrupt Priority
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -