Re: v1.03 fails to load
![Post Post](./styles/FLATBOOTS/imageset/icon_post_target.gif)
Ipage = 'http://i.imgur.com/KS1dPa7.png'
B_Opn = 'http://i.imgur.com/kzt3tO8.png'
B_Clo = 'http://i.imgur.com/KS1dPa7.png'
[BLINK]
if len(Ipage) = len(B_Clo) then Ipage = B_Opn else Ipage = B_Clo
wait
This did not change Ipage so I changed to:
if Ipage == B_Clo then Ipage = B_Opn else Ipage = B_Clo
This also did not work !!!! I page does not change
---------------------------------------------------------------------------
wprint "<td><IMG SRC="
wprint htmlvar(Ipage) ----->>> this did not work wprint |Ipage| - this worked
wprint " LEFT='1' WIDTH='120' HEIGHT='60' BORDER='1'></td>"
Read ADC AI(adc_value) not work adc_value = AI prints as AI
How do I read ADC
AI adc_value finally worked .....
HAD TO USE wprint htmlvar(adc_value) on the ADC display IS IT FOR NUMERIC ONLY
Changed t{BLINK} to:
[BLINK]
if c_cnt=1 then Ipage = B_Opn
if c_cnt=2 then Ipage = B_Clo
c_cnt = c_cnt +1
if c_cnt=3 then c_cnt=1
SERIALPRINTLN c_cnt
SERIALPRINTLN Ipage
wait
It prints out c_cnt instead of a value and Ipage doesn change
Is there something wrong with c_cnt
I guess this thing can't count![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
B_Opn = 'http://i.imgur.com/kzt3tO8.png'
B_Clo = 'http://i.imgur.com/KS1dPa7.png'
[BLINK]
if len(Ipage) = len(B_Clo) then Ipage = B_Opn else Ipage = B_Clo
wait
This did not change Ipage so I changed to:
if Ipage == B_Clo then Ipage = B_Opn else Ipage = B_Clo
This also did not work !!!! I page does not change
---------------------------------------------------------------------------
wprint "<td><IMG SRC="
wprint htmlvar(Ipage) ----->>> this did not work wprint |Ipage| - this worked
wprint " LEFT='1' WIDTH='120' HEIGHT='60' BORDER='1'></td>"
Read ADC AI(adc_value) not work adc_value = AI prints as AI
How do I read ADC
AI adc_value finally worked .....
HAD TO USE wprint htmlvar(adc_value) on the ADC display IS IT FOR NUMERIC ONLY
Changed t{BLINK} to:
[BLINK]
if c_cnt=1 then Ipage = B_Opn
if c_cnt=2 then Ipage = B_Clo
c_cnt = c_cnt +1
if c_cnt=3 then c_cnt=1
SERIALPRINTLN c_cnt
SERIALPRINTLN Ipage
wait
It prints out c_cnt instead of a value and Ipage doesn change
Is there something wrong with c_cnt
I guess this thing can't count
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)