Donovan Buck

Results 130 comments of Donovan Buck

Yep, typos and brain farts. Here's the corrected code ````js let Five = require("johnny-five"); let board = new Five.Board(); board.on("ready", function() { this.io.accelStepperConfig({ deviceNum: 0, type: this.io.STEPPER.TYPE.FOUR_WIRE, motorPin1: 32, motorPin2:...

Johnny-Five depends on firmata.js which is the host side interface to firmata (the client) which runs on the Arduino. The old Firmata stepper code was very basic and just didn’t...

@joepuzzo I ran into a problem with multiple steppers running on more than one board and took some time away from it. I'll get back on it this week.

Yes and But... Yes, It's totally possible thanks to the new accelStepper features in firmata.js But Johnny-Five doesn't have support yet. I got stuck on how to handle multiple steppers...

When we get a value back for a pin, it's going to run all the query callbacks without any regard to other pins. There are some atypical things here that...

There's a lot of ways to do this. I'd probably start with something like: ```js let inHand = {}, squares = {}; let board = new five.board(); class Square {...

`#` indicates a [private instance field](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields#private_instance_fields). It probably doesn't need to be private. I just used it out of habit. > then I cross then to see if is on...

Cool, that helps a lot. Some tips: * Use Async/Await instead of nesting callbacks. It will make your life much easier. * Firmata reports on digital pins in groups of...

This one? https://www.adafruit.com/product/2348 It doesn't look like it. Honestly, the only shield/hat I know of with it built-in is the Arduino Motor Shield R3: https://store.arduino.cc/usa/arduino-motor-shield-rev3

First, that's a brilliant project and I hope you'll share details once it's done. Second, I've worked with motors a lot and I think this is a job more suited...