Alcor6L/eLua/pd
< Alcor6L
This module contains functions that access specific platform data. Useful if the code needs to know on which platform it runs.
Functions
editpd.platform
editplatform = pd.platform()
Get platform name.
Returns:
- platform - the name of the platform on which eLua is running.
pd.cpu
editGet CPU name.
cpu = pd.cpu()
Returns:
- cpu - the name of the CPU of the platform on which eLua is running.
pd.board
editGet board name.
board = pd.board()
Returns:
- board - the name of the board on which eLua is running.