SBB Micro
Source code for the self-balancing-bike microcontroller unit (Teensy 4.1-based). 🚀️
Loading...
Searching...
No Matches
Entry-point function

Entry-point function of the code. More...

Functions

int main ()
 Entry-point function.
 

Detailed Description

Entry-point function of the code.

This contains the definition for main function, which is the entry-point function of the code. Note that this is different from the standard Arduino workflow, which makes use of the setup() and loop() function with the main() written in the core code (actually, the main function defined in this file overrides that in the core code).

See also
main.cpp

Function Documentation

◆ main()

int main ( )

Entry-point function.

Definition for main function, which is the entry-point function of the code. The function implementation is structured as follows

int main() {
//initializations here
while(1) { //infinite loop, running forever
//loop here
}
return 0;
}
int main()
Entry-point function.
Definition main.cpp:45
Returns
The exit status (0 in this case).
See also
main.cpp