pleasedontcode

GyverPortal Sketch rev_02

Aug 27th, 2025
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /********* Pleasedontcode.com **********
  2.  
  3.     Pleasedontcode thanks you for automatic code generation! Enjoy your code!
  4.  
  5.     - Terms and Conditions:
  6.     You have a non-exclusive, revocable, worldwide, royalty-free license
  7.     for personal and commercial use. Attribution is optional; modifications
  8.     are allowed, but you're responsible for code maintenance. We're not
  9.     liable for any loss or damage. For full terms,
  10.     please visit pleasedontcode.com/termsandconditions.
  11.  
  12.     - Project: GyverPortal Sketch
  13.     - Source Code NOT compiled for: ESP32 DevKit V1
  14.     - Source Code created on: 2025-08-27 12:51:12
  15.  
  16. ********* Pleasedontcode.com **********/
  17.  
  18. /****** SYSTEM REQUIREMENTS *****/
  19. /****** SYSTEM REQUIREMENT 1 *****/
  20.     /* The task is to create a water meter that receives */
  21.     /* readings in pulses of 1 liter/pulse.  The meter */
  22.     /* must store the value in non-volatile memory, */
  23.     /* 32-bit size.  All readings must be output via */
  24.     /* Modbus RTU slave (RS485). */
  25. /****** SYSTEM REQUIREMENT 2 *****/
  26.     /* All Modbus RTU and Wi-Fi connection settings must */
  27.     /* be configured via a password-protected web page. */
  28.     /* The following libraries must be used: GyverPortal */
  29.     /* and modbus-esp8266.  Attractive modern web design. */
  30. /****** END SYSTEM REQUIREMENTS *****/
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. /* START CODE */
  38.  
  39. /****** DEFINITION OF LIBRARIES *****/
  40. #include <ModbusIP_ESP8266.h>   //https://github.com/emelianov/modbus-esp8266
  41. #include <GyverPortal.h>    //https://github.com/GyverLibs/GyverPortal
  42.  
  43. /****** FUNCTION PROTOTYPES *****/
  44. void setup(void);
  45. void loop(void);
  46.  
  47. /****** DEFINITION OF LIBRARIES CLASS INSTANCES*****/
  48.  
  49. void setup(void)
  50. {
  51.     // put your setup code here, to run once:
  52.  
  53. }
  54.  
  55.  
  56. void loop(void)
  57. {
  58.     // put your main code here, to run repeatedly:
  59.  
  60. }
  61.  
  62. /* END CODE */
  63.  
  64.  
Advertisement
Add Comment
Please, Sign In to add comment