Back to Johnny Five

Sensor - Digital Microwave

docs/sensor-digital-microwave.md

2.1.0915 B
Original Source
<!--remove-start-->

Sensor - Digital Microwave

<!--remove-end-->
Breadboard for "Sensor - Digital Microwave"

Fritzing diagram: docs/breadboard/sensor-digital-microwave.fzz

 

Run this example from the command line with:

bash
node eg/sensor-digital-microwave.js
javascript
var five = require("johnny-five");
var board = new five.Board();

board.on("ready", () => {
  var microwave = new five.Sensor.Digital(7);

  microwave.on("change", () => {
    console.log(microwave.value);
  });
});

 

<!--remove-start-->

License

Copyright (c) 2012-2014 Rick Waldron [email protected] Licensed under the MIT license. Copyright (c) 2015-2023 The Johnny-Five Contributors Licensed under the MIT license.

<!--remove-end-->