The weight is now transmitted in Newtons. For this, two bytes are transferred over the i2c bus instead of one.

Dependencies:   _24LCXXX

Revisions of main.cpp

Revision Date Message Actions
12:de8c39bf5da3 2021-10-15 The weight is now transmitted in Newtons. For this, two bytes are transferred over the i2c bus instead of one. File  Diff  Annotate
11:86a18c130515 2021-10-08 On the i2c bus, Arduino Nano with address 2, transmits the weight value with a resolution of 1 kg. File  Diff  Annotate
10:b6de15a30716 2021-03-12 digital pin 11, pin 12 as an input limit switches are now normally closed. Returned timer_4. He now periodically opens the outlet valve to control water leaks. New variables are openTimeV2_H2O and periodV2_H2O. File  Diff  Annotate
9:6bd6ac6ca7d4 2020-11-11 Removed pc.printf command that sends empty string once per second and associated timer_4, since the operator program was changed, a new operator Loc () was introduced into it. Instead of pc.printf ("Reset ALARM \ r \ n") now plotter.printf ("Reset AL File  Diff  Annotate
8:bf73cc68a823 2020-09-11 Messages transmitted via pc.printf to PC are supplemented with checksums to increase the reliability of communication.The pc.printf command was introduced, which sends an empty string once per second in case of data loss (corruption) during transfer File  Diff  Annotate
7:97881cd71b31 2020-06-19 The values of the EEPROM2 settings are displayed in pc.print in a special line with the current diagnostic data.; An additional block has been made in the parser for decoding incoming alarm settings; they are written in EEPROM2. File  Diff  Annotate
6:fe0a7180ebb7 2020-06-11 An additional block has been made in the parser for decoding incoming alarm settings for writing to the EEPROM. Additional digital inputs are activated. File  Diff  Annotate
5:bb595cde0c82 2020-06-04 The flag of the Stop button is accepted - closing of 4 valves,; and the flag of the compressor buttons is a command for discrete output PB_10. The num_chan setting is switching the channel number for the feedback of the controller, written in EEPROM File  Diff  Annotate
4:c34b84bfa2fb 2020-05-27 When receiving a command line with a zero sum (empty lines), the flag_zerostart flag is set, and the current settings and values are transferred to the series. These zero settings are not entered into the controller and are not written to the EEPROM. File  Diff  Annotate
3:712f751b4974 2020-05-15 Continuation (clone) mbed-os5-inerrupt_serial_readable_FIFO_12; Connected EEPROM. Now the settings are retrieved from it upon reboot. A watchdog timer has been created that expires after 100ms. File  Diff  Annotate
2:8230a5a4cc13 2020-05-15 creates eeprom a watchdog timer that expires after 100 ms File  Diff  Annotate
1:1d4ec28f17c4 2020-05-08 The microcontroller program has been changed so that when restarting or turning on the power, all valves are closed. File  Diff  Annotate
0:f2aaa8c6decf 2020-05-01 The new parser with the FIFO buffer is very fast. You can send data every 20 ms, this does not affect the cycle time of the relay controller. CR LF line ending characters are desirable but not required. File  Diff  Annotate