May-29-2019, 10:12 AM
(May-28-2019, 12:48 PM)buran Wrote: look at VSCode
Got VSCode and got Python environment installed. Code loaded
Cant get debugger to work, asks to open a folder.
Mu Editor has a rudimentary debugger:
added import commands on both ConsumerControl and ConsumerControlCode libraries. Mu editor said: Import successful, but unused
Modified the rotary encoder command and mu editor said: consumer_control.send may be undefined or defined from star imports: board digitalio
Then I rotated the encoder to check if it works and then Trinket starts showing NameError (white light) and ValueError (Purple). Managed to read a little bit of the position counter and all faults point to consumer_control.send (placement showed on line 100+)