Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Any sample client side code? #2

Closed
@wyx2000

Description

@wyx2000

I started with RCSwitchFirmata, could not get it work. I use a client code with firmata lib like below:

var board = new firmata.Board('COM4', function () {
  console.log('ready!')
});
 
  board.on("ready", function() {
    const a = 6;
    const b = 7;
.....

neither ready above fires. But if I try it with the StandardFirmata code, it works fine.

Any idea? Is there special client side code for RCSwitchFirmata?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions