Enjoy programming more!
Kidspod is a post site which supports young programmers.
First step to join us.
Register as a member
For members

2020/04/21 09:07:25

MixJuice GET URL : kidspod.club/mj/958

照度センサーデータをAmbientでグラフ化

  • No registered tag exist.

SOURCE CODE

1 cls:?"Ambient":uart1
2 'MJ PCT application/json
3 'MJ POST START ambidata.io/api/v2/channels/20499/data
4 '{"writeKey":"b0d40bf59778e8e0","d2":"#"}
5 'MJ POST END
100 'MAIN
110 P=#C1A
120 A=ana(2):?"ana(2)=";A
130 GSB600:GSB600:GSB600:GSB600
140 wait600:goto100
600 'TX
610 ifpeek(P)<>asc("'")letP,P+1:goto610
620 P=P+1:ifpeek(P)=asc("#")?A;:goto620
630 ifpeek(P)<>0?chr$(peek(P));:goto620
640 ?:return

COMMENT