B4R Question WeMos D1 WiFi uno based ESP8266 & rAdafruitMotorShield (V2) library

Pencil3

Member
Licensed User
Anyone have any experience with the two? I believe the shield will need to be configured for 3.3v operation, but is the library itself compatible?
 

Pencil3

Member
Licensed User
Have run into an issue. When trying the two examples from HERE I can run the DC motor example fine, but the Motor Stepper example fails with:
B4X:
AppStart
style: 1
Soft WDT reset
ctx: cont
sp: 3ffffcd0 end: 3fffffd0 offset: 01b0
>>>stack>>>
3ffffe80:  3ffffed0 3ffffef0 402045dc 00000006 
3ffffe90:  00000000 00000000 3ffee809 40203a18 
3ffffea0:  40106538 3ffee8f4 3ffee7f8 40203a40 
3ffffeb0:  3ffee8f4 00000002 3ffee8f4 402029f8 
3ffffec0:  3ffffed0 00000002 00000002 3ffee7c4 
3ffffed0:  00000001 00000002 3ffee7c4 40202bc2 
3ffffee0:  40106538 00007530 0000005e 40202ea3 
3ffffef0:  00000001 0000005e 00007530 40202f04 
3fffff00:  00000002 00000066 402369bc 00000001 
3fffff10:  00000001 3fffff58 3ffee809 00000000 
3fffff20:  00000000 00000001 3ffee7ec 402037b1 
3fffff30:  00000000 00000001 3ffee7ec 4020361c 
3fffff40:  00000003 402035b0 0000000c 401004e4 
3fffff50:  3fffff58 00000003 00030201 402044dc 
3fffff60:  3fffff50 00000003 3ffee75c 40203561 
3fffff70:  3ffee7f0 3ffee7ec 3ffee748 3ffee9cc 
3fffff80:  3fffdad0 3ffef5fc 3ffee75c 402034d6 
3fffff90:  feefeffe 3ffee764 00000000 40203537 
3fffffa0:  3fffdad0 00000000 3ffee9c4 402037df 
3fffffb0:  feefeffe feefeffe feefeffe 40204668 
3fffffc0:  feefeffe feefeffe 3ffe8520 40100739 
<<<stack<<<

I can call the below from a timer and it works.
B4X:
stepper.Step(50, stepper.DIR_FORWARD, stepper.STYLE_MICROSTEP)

But if I try to call the below it will fail with the same error as above.
B4X:
stepper.Step(900, stepper.DIR_FORWARD, stepper.STYLE_MICROSTEP)

Anyone have any ideas?
 
Upvote 0
Top