HOW TO USE DASHBUTTON'S JTAG PIN AS DIGITAL IO
Copyright
©
Shenzhen Rakwireless Technology Co., Ltd
2
startedRequest ok
【
2017-09-22 18:30:59:331
】
Got status code: 200
【
2017-09-22 18:30:59:987
】
key1
【
2017-09-22 18:31:00:431
】
Connect to Server successful!
/press.php/?id=1
startedRequest ok
【
2017-09-22 18:31:01:481
】
Got status code: 200
【
2017-09-22 18:31:02:137
】
key1
【
2017-09-22 18:31:02:358
】
Connect to Server successful!
/press.php/?id=1
startedRequest ok
【
2017-09-22 18:31:03:410
】
Got status code: 200
It will always detect the key1 is pushed down,
this is because dashButton will detect the battery level, if not plug
with battery or battery level is low,
the dashButton will not initialize D21-D25( jtag pin ) as digital pin, so key1
and led1_g, led1_r, led4_g, led4_r will not work normal.
we design this because if always intialize D21-D25 as digital pin, then it will fail to program the dashButton using
creator pro any more
.
DashButtenSampleCode
wiring_digital.c