Changelog of @hackage/arduino-copilot 1.3.0

arduino-copilot (1.3.0) unstable; urgency=medium

  • New polymorphic "input" action that can be used to read digital and analog pins, as well as read from serial ports, and replaces readfrom, readvoltage, etc.
  • Replaced PWMDutyCycle with pwm.
  • Changed the Serial and XBee modules to work with the =: operator and "input".

-- Joey Hess id@joeyh.name Thu, 30 Jan 2020 22:33:20 -0400

arduino-copilot (1.2.0) unstable; urgency=medium

  • Bugfix: Doing the same kind of write to two different pins in the same program caused the C generated by Copilot to not compile.
  • Several changes making the API more FRP style, including adding Behavior and Event types.
  • Removed writeto and pwm, instead the type of a value connected to a pin with =: determines how the pin is driven.
  • delay now takes a value in MilliSeconds or MicroSeconds.
  • Generalized serial port interface, added support for XBee.

-- Joey Hess id@joeyh.name Tue, 28 Jan 2020 20:39:11 -0400

arduino-copilot (1.1.1) unstable; urgency=medium

  • New Copilot.Arduino.Library.Serial module.
  • Added the analog pins for Uno and Nano, and support using them for digital IO, when the hardware allows that to be done.
  • Support reading voltage from analog pins.
  • Support PWM.
  • Added a way to enable pullup resistors for input pins.
  • Detect if a program tries to use the same pin for both input and output. This is not currently supported, so it will refuse to build the program.
  • Copilot.Arduino.Internals API changed.

-- Joey Hess id@joeyh.name Sun, 26 Jan 2020 20:37:26 -0400

arduino-copilot (1.0.1) unstable; urgency=medium

  • Move example from cabal description (where it did not render correctly) to README.

-- Joey Hess id@joeyh.name Sat, 25 Jan 2020 16:01:19 -0400

arduino-copilot (1.0.0) unstable; urgency=medium

  • First release.

-- Joey Hess id@joeyh.name Sat, 25 Jan 2020 10:33:09 -0400