ȥå   Խ ʬ Хåå ź ʣ ̾ѹ   ñ측 ǽ   إ   ǽRSS

Software

Last-modified: 2013-12-25 () 19:53:40 (2421d)
Top / Software

Ȥ

ʲLED_Tile10.zip~/Arduino/libraries/ ʲŸArduinoIDEưޤ Library顢"LED Tile"Ȥ褦ˤʤäƤޤ ޤFile->Examples->LED Tileˡ3ĤΥץ륳ɤƤޤ Υ饤֥λȤϡ3ĤΥץ륳ɤ򻲾ȤƤ (ե󥹤Ͻ缡Ƥޤ)

ޤTools->Boards顢ѤƤArduino(ArduinoNano? w/328)ǤƤ ޤ٤ĴԤäƤȤäƤ

ƥΥ륿LED Tile(TLT-01)ѤϢ((LED_Tile_TLT-01.zip)Ǥ

ѤޥȥꥯLEDιԤ󤬵դΥ(OSL641501-BRAʤ)ϡΥ饤֥(LED_Tile2)ȤäƤ

ꥨƥ֡ ɽ - Ѿ 3.0 ܿ 饤˴ŤƺѡOKǤ

CC_SA30.png

ɸ

ޥȥꥯLEDΰ֥ԥ򺸲ˤơxɸϺ(x=0)鱦(x=7)ءyɸϾ(y=0)鲼(y=7)ءȤޤ

ץ륳ɤƤȥݥ

  • draw: writeȤäơꤷLEDޤʥѥ
  • adjust: ºݤ˸򤢤Ƥơ͡סʼŰˤ¬ꤷޤοͤߤơäƤ롿ʤȽ̤򤹤ͤᡢset_threshold()ͤꤷޤʥץͤϡ긵ΤΤǤηиŪ͡ˡͤηϰʲΡֻȤΥġפ򻲾ȤƤޤmodeǡäȤLEDʤĤޤͤˤ褦ꤷƤޤ
  • toggle: adjustȻƤޤmodeȥ롢Ĥޤ򤢤Ƥ뤴ȤˡLEDڤؤ褦ꤷƤޤ

ȤΥ

Ū˼ǻҤȤƤΥޥȥꥯLEDδ٤㤤ᡢƤȤŰѲϤʤ꾮礭Ƥ1V١ˤޤ50/60HzξŸΥαƶ礭ޤʥפ򤪻ǤСʥüҤŰȷ¬Ȥ褯狼ޤˤΤᡢƱ褦˸ƤƤƤ⡢Ű 륿ߥ󥰤ˤäơŰͤϰۤʤޤ

ޤ󤴤ȤüŰƤޤ󤴤Ȥ̤ΥХĥʤΤƱ褦˸򤢤ƤƤƤ⡢ŰͤϤäۤʤޤ

äơºݤѤˤäƤϡʲμǡϡɥȤΩƸ˼ºݤ˸򤢤ƤŰͤ¬˱ͤꤹɬפޤ

  1. ץadjust¹Ԥȡ־(y=0)ιԤ8Ű͡ǤŰͤκͤɽ
  2. ־(y=0)γ˽˸򤢤ơŰͤ򤪤ޤɤ߼롣351󤯤餤Ķ뤰餤ͤõ⤷Ƥ
  3. ͤset_threshold()ꤹ롣