Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /********* Pleasedontcode.com **********
- Pleasedontcode thanks you for automatic code generation! Enjoy your code!
- - Terms and Conditions:
- You have a non-exclusive, revocable, worldwide, royalty-free license
- for personal and commercial use. Attribution is optional; modifications
- are allowed, but you're responsible for code maintenance. We're not
- liable for any loss or damage. For full terms,
- please visit pleasedontcode.com/termsandconditions.
- - Project: GyverPortal Sketch
- - Source Code NOT compiled for: ESP32 DevKit V1
- - Source Code created on: 2025-08-27 12:51:12
- ********* Pleasedontcode.com **********/
- /****** SYSTEM REQUIREMENTS *****/
- /****** SYSTEM REQUIREMENT 1 *****/
- /* The task is to create a water meter that receives */
- /* readings in pulses of 1 liter/pulse. The meter */
- /* must store the value in non-volatile memory, */
- /* 32-bit size. All readings must be output via */
- /* Modbus RTU slave (RS485). */
- /****** SYSTEM REQUIREMENT 2 *****/
- /* All Modbus RTU and Wi-Fi connection settings must */
- /* be configured via a password-protected web page. */
- /* The following libraries must be used: GyverPortal */
- /* and modbus-esp8266. Attractive modern web design. */
- /****** END SYSTEM REQUIREMENTS *****/
- /* START CODE */
- /****** DEFINITION OF LIBRARIES *****/
- #include <ModbusIP_ESP8266.h> //https://github.com/emelianov/modbus-esp8266
- #include <GyverPortal.h> //https://github.com/GyverLibs/GyverPortal
- /****** FUNCTION PROTOTYPES *****/
- void setup(void);
- void loop(void);
- /****** DEFINITION OF LIBRARIES CLASS INSTANCES*****/
- void setup(void)
- {
- // put your setup code here, to run once:
- }
- void loop(void)
- {
- // put your main code here, to run repeatedly:
- }
- /* END CODE */
Advertisement
Add Comment
Please, Sign In to add comment