Changelog for arduino-copilot-1.7.6

arduino-copilot (1.7.6) upstream; urgency=medium * Update to sketch-frp-copilot 1.0.7, to fix building with ghc 9.2 * Update stack.yaml files to lts-20.6 -- Joey Hess <id@joeyh.name> Fri, 13 Jan 2023 15:12:57 -0400 arduino-copilot (1.7.5) upstream; urgency=medium * Update to copilot-3.13. -- Joey Hess <id@joeyh.name> Tue, 10 Jan 2023 15:28:07 -0400 arduino-copilot (1.7.4) upstream; urgency=medium * Update to copilot-3.12. -- Joey Hess <id@joeyh.name> Mon, 14 Nov 2022 15:17:10 -0400 arduino-copilot (1.7.3) upstream; urgency=medium * Update to copilot-3.11. -- Joey Hess <id@joeyh.name> Thu, 08 Sep 2022 10:05:21 -0400 arduino-copilot (1.7.2) upstream; urgency=medium * Update to copilot-3.10. -- Joey Hess <id@joeyh.name> Tue, 12 Jul 2022 21:45:25 -0400 arduino-copilot (1.7.1) upstream; urgency=medium * Added byteArray to serial modules, which allows outputting a Stream of Arrays of bytes. * Update to copilot-3.9. -- Joey Hess <id@joeyh.name> Sun, 08 May 2022 15:10:49 -0400 arduino-copilot (1.7.0) upstream; urgency=medium * Added the Arduino data type, which replaces the PinId type used in the last release. -- Joey Hess <id@joeyh.name> Mon, 14 Feb 2022 21:07:09 -0400 arduino-copilot (1.6.0) unstable; urgency=medium * Refactored non-Arduino-specific code into sketch-frp-copilot. * Code that refers to Input or Output may need to change to parameterize it with Pinid. And code using Copilot.Arduino.Internals will need to be adapted in other ways due to other API changes in sketch-frp-copilot. * Fix bug in compiling Serial.char '\r' -- Joey Hess <id@joeyh.name> Mon, 14 Feb 2022 15:26:09 -0400 arduino-copilot (1.5.7) unstable; urgency=medium * Update to copilot-3.8. -- Joey Hess <id@joeyh.name> Wed, 02 Feb 2022 11:07:53 -0400 arduino-copilot (1.5.6) unstable; urgency=medium * Update to copilot-3.6. -- Joey Hess <id@joeyh.name> Tue, 09 Nov 2021 11:53:16 -0400 arduino-copilot (1.5.5) unstable; urgency=medium * Added ButtonHold example, which shows how to accumulate state. Thanks, Tom Hoffman * Update to copilot-3.5. * stack.yaml: Update to lts-18.9. -- Joey Hess <id@joeyh.name> Tue, 07 Sep 2021 14:18:39 -0400 arduino-copilot (1.5.4) unstable; urgency=medium * Update to copilot-3.3. * stack.yaml: Update to lts-17.12. * Fix example README files to properly document how to build them with stack. -- Joey Hess <id@joeyh.name> Mon, 17 May 2021 20:31:05 -0400 arduino-copilot (1.5.3) unstable; urgency=medium * Update to copilot-3.2. * Update the Examples to build using stack. -- Joey Hess <id@joeyh.name> Thu, 14 Jan 2021 13:22:42 -0400 arduino-copilot (1.5.2) unstable; urgency=medium * Zurihac 2020 edition. * Remove dependency on 'unix' to allow building on Windows. Thanks, Adam Piper * Added Copilot.Arduino.Library.Random * Add test suite, which checks that all the examples compile. -- Joey Hess <id@joeyh.name> Sun, 14 Jun 2020 14:55:28 -0400 arduino-copilot (1.5.1) unstable; urgency=medium * Fix type of pullup, limiting it to digital IO pins. -- Joey Hess <id@joeyh.name> Fri, 28 Feb 2020 23:15:39 -0400 arduino-copilot (1.5.0) unstable; urgency=medium * Added whenB and scheduleB sketch combinators. * Replaced Copolot's ifThenElse with a polymorphic one that, as well as choosing between two Streams, can choose between two Sketches or two TypedBehaviors. * Added robot example, a simple line-follower that is an example of using ifB to compose simple Sketches into a more complex one. * Added liftB and liftB2, which let Copilot DSL expressions operate on TypedBehavior. * Added waterheater example, which shows how to keep units of measurement separated using TypedBehavior. * Copolot.Arduino now exports IsDigitalIOPin, IsAnalogInputPin, IsPWMPin, and the TypedBehavior constructor. * Reading from the same input in different parts of the same program no longer generates C that fails to compile. Instead, a single read is done per iteration. * Writing to the same output in different parts of a sketch no longer generates C code that fails to compile. However, if different values are written in the same iteration, it's undefined what order the writes will happen in. * Add EEPROMex.scanRange to read from EEPROM. * Fix bug in serial str's handling of special characters in the string. * Copilot.Arduino.Internals API changed. -- Joey Hess <id@joeyh.name> Fri, 07 Feb 2020 14:44:02 -0800 arduino-copilot (1.4.0) unstable; urgency=medium * New Copilot.Arduino.Library.EEPROMex module. * Serial: Added FlashString, to display strings directly from flash without copying into ram. * Added millis and micros. * MicroSeconds and MilliSeconds types changed to contain a Word32 not a Word16. * Renamed Voltage to ADC * Added frequency. -- Joey Hess <id@joeyh.name> Sat, 01 Feb 2020 16:30:43 -0400 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