begin()
Initialization process (after TWENET initialization)
Called only once just before the first call of the
loop()
function. Since TWENET initialization is complete, there is no need to consider constraints like those in setup()
.Mainly used in the following situations:
- Displaying the startup message
- Writing test code
- Transitioning to sleep immediately after startup
- Processing that is problematic in
setup()
(wireless packet processing, timer operation, etc.)
This callback function definition is optional.