< Alcor6LJump to navigation Jump to search
This module contains functions that access specific platform data. Useful if the code needs to know on which platform it runs.
platform = pd.platform()
Get platform name.
- platform - the name of the platform on which eLua is running.
Get CPU name.
cpu = pd.cpu()
- cpu - the name of the CPU of the platform on which eLua is running.
Get board name.
board = pd.board()
- board - the name of the board on which eLua is running.