C# Class GrFamily.MainBoard.Button

GR-PEACH�}�C�R���{�[�h��̃{�^���i�X�C�b�`�j
显示文件 Open project: netmf-lib-grfamily/GrFamilyLibrary Class Usage Examples

Protected Properties

Property Type Description
ButtonPort Microsoft.SPOT.Hardware.InterruptPort
PrevPressed bool

Public Methods

Method Description
Button ( Cpu pin ) : Microsoft.SPOT.Hardware

�R���X�g���N�^�[

Private Methods

Method Description
ButtonPort_OnInterrupt ( uint data1, uint data2, System time ) : void

�{�^���̉�����Ԃ��ς�������ɌĂяo�����C�x���g�n���h���[

�{�^������������ data2 �� 0 �ɂȂ�A�����łȂ����� data2 �� 0�ȊO�̒l�ɂȂ�

Method Details

Button() public method

�R���X�g���N�^�[
public Button ( Cpu pin ) : Microsoft.SPOT.Hardware
pin Microsoft.SPOT.Hardware.Cpu �{�^�����ڑ�����Ă���f�W�^�����̓s��
return Microsoft.SPOT.Hardware

Property Details

ButtonPort protected_oe property

GR-PEACH��̃{�^���̃f�W�^�����̓|�[�g
protected InterruptPort,Microsoft.SPOT.Hardware ButtonPort
return Microsoft.SPOT.Hardware.InterruptPort

PrevPressed protected_oe property

�O��̑��莞�Ƀ{�^����������Ă������ǂ���
protected bool PrevPressed
return bool