This chapter describes the structure of the Gateway program. Note that probably not all failes are described in detail or that this document will always keep up with teh latest version of the gateway, but it will describe its main components so that you can make your own modifications.
The 1-channel gateway is constructed as follows:
|ESP-sc-gway.ino||This is the main file of the gateway and it should be opened with either the Arduino IDE or the PlatformIO environment. It contains include files, forward declarations, variable initialisations, and setup() amd loop() definitions|
|configGway.h||This file contains all the definitions that are needed to make the software match YOUR environment. So that means that hardware is set, OLED but also initial values for filenames etc.|
I hope that this file will help you understand the programming of the Gateway. If I made mistakes, or if things are not clear, please tell me!