Uniot Core
0.8.1
Loading...
Searching...
No Matches
Default Primitives

Contains string constants representing names of primitive functions available in the Lisp environment. More...

Collaboration diagram for Default Primitives:

Variables

constexpr const char * uniot::primitive::name::dwrite = "dwrite"
 Primitive for digital write operations.
 
constexpr const char * uniot::primitive::name::dread = "dread"
 Primitive for digital read operations.
 
constexpr const char * uniot::primitive::name::awrite = "awrite"
 Primitive for analog write operations.
 
constexpr const char * uniot::primitive::name::aread = "aread"
 Primitive for analog read operations.
 
constexpr const char * uniot::primitive::name::bclicked = "bclicked"
 Primitive for detecting button click events.
 

Detailed Description

Contains string constants representing names of primitive functions available in the Lisp environment.

These constants define the standard function names that can be called from Lisp code to interact with the hardware and peripherals of Uniot devices.

Variable Documentation

◆ aread

const char* uniot::primitive::name::aread = "aread"
constexpr

Primitive for analog read operations.

Used to read an analog value from a specified analog input pin.

◆ awrite

const char* uniot::primitive::name::awrite = "awrite"
constexpr

Primitive for analog write operations.

Used to write an analog value (PWM) to a supported pin.

◆ bclicked

const char* uniot::primitive::name::bclicked = "bclicked"
constexpr

Primitive for detecting button click events.

Used to determine if a button connected to the specified pin has been clicked.

◆ dread

const char* uniot::primitive::name::dread = "dread"
constexpr

Primitive for digital read operations.

Used to read the current digital value (HIGH/LOW) from a specified digital pin.

◆ dwrite

const char* uniot::primitive::name::dwrite = "dwrite"
constexpr

Primitive for digital write operations.

Used to write a digital value (HIGH/LOW) to a specified digital pin. Typical usage: (dwrite pin-number value)