Skip to main content

Alimata

PyPI version

What is it?

Alimata is a python library used to simplify the implementation of firmetix library

Requirements

  • python 3.7 or higher
  • Firmetix
  • Fimetix4Arduino

Installing

Firmetix

To install Fimetix on Linux (including Raspberry Pi) and macOS computers, open a terminal window and type: sudo pip3 install firmetix

For Windows users type: pip install firmetix

Firmetix arduino librarie

  1. Open the Arduino IDE and select Tools/Manage Libraries
  2. Search for "Firmetix"
  3. Install
  4. Firmetix also requires other library just install all of them.
  5. Open the Firmetix/Firmetix4Arduino example
  6. If you plan to use multiple arduino use #define ARDUINO_INSTANCE_ID 1
  7. Flash it to the arduino

Code structure

Board

Creating a new board board = Board()

Making the setup and loop function and starting the board

def setup():
    #Code here is run once
    pass

def loop():
    #Code here is run in a loop
    pass

#Starting the board by passing the setup and loop function
board.start(setup,loop)

#Shuting the board down
board.shutdown()

All options of the board

#Create the new board (optional board_id and COM_port)
board = Board(board_id, COM_port)

#Starting the board setup and loop async function
board.start(setup,loop)

#Use to set the pin mode with the type (INPUT, OUTPUT, ANALOG, PWM, SONAR)
board.set_pin_mode(pin, type, callback, differential, echo_pin, timeout, sensor_type, min_pulse, max_pulse)

#Use to write to a pin with the type (ANALOG, PWM, DIGITAL, TONE, TONE_CONTINUOUS, TONE_STOP, SERVO, STEPPER)
board.write_pin(pin, value, type, duration, step)

Sensors

Creating a new sensor object (button in this case) button1 = Button(board, 2)

Actuators

Creating a new actuator object (led in this case) led1 = Led(board, 3)

Metadata

Release files for alimata 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alimata 1.0.1
File Size Uploaded Provenance Actions
alimata-1.0.1.tar.gz 18.7 kB Without provenance Details for alimata-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alimata 1.0.1
File Interpreter ABI Platform Actions
alimata-1.0.1-py3-none-any.whl Python 3 none any Details for alimata-1.0.1-py3-none-any.whl

Total release size: 48.1 kB

Release files / alimata-1.0.1.tar.gz

Download URL alimata-1.0.1.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
674960b4b34b8b33a1e04a029430da059baf976babff4ae831299be2f0fdb1c4
BLAKE2b-256 checksum
How to use checksums
62aa7207a92eb3c21bed172fe6689e959fcc58b13f57499c6bbc998d1e8f9aaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / alimata-1.0.1-py3-none-any.whl

Download URL alimata-1.0.1-py3-none-any.whl
Size 29.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be0904531be7010da4372a1704009a5ddd53a5e4b15ba5a5efb6bf0c3a964735
BLAKE2b-256 checksum
How to use checksums
aa904487031ebbe59ea563766086e7b9d9e665469734adbad3c5959cb3413bac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Security for alimata 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page