- Introduction
- Status
- Generic info
- eLua internals
- Reference Manual
eLua reference manual - platform data
Overview
This module contains functions that access specific platform data. Useful if the code needs to know on which platform it runs.
Functions
platform = pd.platform()
Get platform name.
Arguments: none.
Returns: platform - the name of the platform on which eLua is running.
cpu = pd.cpu()
Get CPU name.
Arguments: none.
Returns: cpu - the name of the CPU of the platform on which eLua is running.
board = pd.board()
Get board name.
Arguments: none.
Returns: board - the name of the board on which eLua is running.