pleasedontcode

ESP8266 Skeleton rev_01

Aug 27th, 2025
245
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: ESP8266 Skeleton
  13.     - Source Code NOT compiled for: ESP32 DevKit V1
  14.     - Source Code created on: 2025-08-27 12:32:35
  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. /* START CODE */
  36.  
  37. /****** DEFINITION OF LIBRARIES *****/
  38. #include <ModbusIP_ESP8266.h>   //https://github.com/emelianov/modbus-esp8266
  39. #include <GyverPortal.h>    //https://github.com/GyverLibs/GyverPortal
  40.  
  41. /****** FUNCTION PROTOTYPES *****/
  42. void setup(void);
  43. void loop(void);
  44.  
  45. /****** DEFINITION OF LIBRARIES CLASS INSTANCES*****/
  46.  
  47. void setup(void)
  48. {
  49.     // put your setup code here, to run once:
  50.  
  51. }
  52.  
  53.  
  54. void loop(void)
  55. {
  56.     // put your main code here, to run repeatedly:
  57.  
  58. }
  59.  
  60. /* END CODE */
  61.  
  62.  
Advertisement
Add Comment
Please, Sign In to add comment