File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ <h4><a href="./?lang=zh-hant&page=tutorials/photocell-2" target="_blank">使用
226226 </ li >
227227 < li >
228228 < h4 > < a href ="./?lang=zh-hant&page=tutorials/photocell-3 " target ="_blank "> 轉換光敏 ( 可變 ) 電阻數值</ a > < i > new</ i > </ h4 >
229- < div > ( < a href ="./?lang=zh-hant&page=tutorials/photocell-3#-K2RFptM8G7usTPrGFsP " target ="_blank "> 解答</ a > )</ div >
229+ < div > ( < a href ="./?lang=zh-hant&page=tutorials/photocell-3#-K2kvxmwFHNiGl0P-_7S " target ="_blank "> 解答</ a > )</ div >
230230 </ li >
231231 </ ul >
232232 < br />
Original file line number Diff line number Diff line change 44 #show {
55 font-size :60px ;
66 }
7+ #light {
8+ width :60% ;
9+ }
10+ #light img {
11+ width :100% ;
12+ display :none ;
13+ }
14+ #light .off img :first-child {
15+ display :inline-block ;
16+ }
17+ #light .on img :last-child {
18+ display :inline-block ;
19+ }
720</style >
821
922<header >
1932 <a href =" http://bin.webduino.io/jiyis/6/edit?html,js,output" id =" linkToBin" target =" _blank" ><img src =" media/dave.min.svg" >{{ linkToBin }} </a >
2033 <div id =" demoDescription" >{{ demoDescription }} </div >
2134 <div id =" show" >0</div >
35+ <div id =" light" class =" off" >
36+ <img src =' media/off.png' ></img >
37+ <img src =' media/on.png' ></img >
38+ </div >
2239</div >
2340</div >
2441<table id =" tutorials-table" class =" nav" >
6582
6683<xml id =" toolbox" style =" display: none" >
6784 <category id =" catVariables" custom =" VARIABLE" ></category >
85+ <category id =" catLogic" >
86+ <block type =" controls_if" ></block >
87+ <block type =" logic_compare" ></block >
88+ </category >
89+ <category id =" catMath" >
90+ <block type =" math_number" ></block >
91+ </category >
6892 <sep ></sep >
6993 <sep ></sep >
7094 <category id =" catBoard" >
7498 </value >
7599 </block >
76100 </category >
101+ <category id =" catLed" >
102+ <block type =" variables_set" >
103+ <field name =" VAR" >led</field >
104+ <value name =" VALUE" >
105+ <block type =" led_new" >
106+ <field name =" pin_" >10</field >
107+ </block >
108+ </value >
109+ </block >
110+ <block type =" led_state" >
111+ <field name =" led_" >led</field >
112+ </block >
113+ </category >
77114 <category id =" catPhotocell" >
78115 <block type =" variables_set" >
79116 <field name =" VAR" >photocell</field >
111148 </block >
112149 </value >
113150 </block >
151+ <block type =" light" ></block >
114152 </category >
115153 <sep ></sep >
116154</xml >
You can’t perform that action at this time.
0 commit comments