C# Class GrFamily.MainBoard.Sakura

GR-SAKURA�N���X
Show file Open project: netmf-lib-grfamily/GrFamilyLibrary Class Usage Examples

Public Methods

Method Description
Animate ( int switchTime, bool remain = true, int repeatCount = 1 ) : void

LED�_���̃A�j���[�V��������s����

PulseDebugLed ( ) : void

�f�o�b�OLED��1��_�ł���

PulseDebugLed ( int length, int times ) : void

�f�o�b�OLED��w��񐔁A�w��Ԋu�œ_�ł�����

Sakura ( ) : System.Threading

GR-SAKURA�̃R���X�g���N�^�[

SetDebugLed ( bool lightOn ) : void

�f�o�b�OLED��_���܂��͏�������

SetLeds ( bool led1On, bool led2On, bool led3On, bool led4On ) : void

�eLED��•ʂɓ_���E��������

SetLeds ( int count ) : void

����w�肵��LED��_������

�w�肵�����ɉ����āA1��LED���珇�ɓ_������

TurnAllLedsOff ( ) : void

�S��LED���������

Private Methods

Method Description
SetLedsInner ( int count, bool remain ) : void

LED�ԍ��Ə������ԍ���LED��_�������邩��w�肵�āA�K�v��LED��_��������

Method Details

Animate() public method

LED�_���̃A�j���[�V��������s����
public Animate ( int switchTime, bool remain = true, int repeatCount = 1 ) : void
switchTime int �A�j���[�V�������s�Ԋu�i�P�� : �~���b�j
remain bool �������ԍ���LED��_�������܂܂ɂ���ꍇ�� true�A�ǂꂩ1�‚�LED������_��������ꍇ�� false
repeatCount int �J��Ԃ���
return void

PulseDebugLed() public method

�f�o�b�OLED��1��_�ł���
public PulseDebugLed ( ) : void
return void

PulseDebugLed() public method

�f�o�b�OLED��w��񐔁A�w��Ԋu�œ_�ł�����
public PulseDebugLed ( int length, int times ) : void
length int �_�ŊԊu�i�P�ʁF�~���b�j
times int �_�ʼn�
return void

Sakura() public method

GR-SAKURA�̃R���X�g���N�^�[
public Sakura ( ) : System.Threading
return System.Threading

SetDebugLed() public method

�f�o�b�OLED��_���܂��͏�������
public SetDebugLed ( bool lightOn ) : void
lightOn bool �_������ꍇ�� true�A��������ꍇ�� false
return void

SetLeds() public method

�eLED��•ʂɓ_���E��������
public SetLeds ( bool led1On, bool led2On, bool led3On, bool led4On ) : void
led1On bool 1��LED��_���܂��͏�������
led2On bool 2��LED��_���܂��͏�������
led3On bool 3��LED��_���܂��͏�������
led4On bool 4��LED��_���܂��͏�������
return void

SetLeds() public method

����w�肵��LED��_������
�w�肵�����ɉ����āA1��LED���珇�ɓ_������
public SetLeds ( int count ) : void
count int �_������LED�̌�
return void

TurnAllLedsOff() public method

�S��LED���������
public TurnAllLedsOff ( ) : void
return void