معرفی شرکت ها


alimata-0.0.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Alimata is a Python library to simplify the use of the pymata-express library.
ویژگی مقدار
سیستم عامل -
نام فایل alimata-0.0.1
نام alimata
نسخه کتابخانه 0.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Nils Lahaye and Francis M-G
ایمیل نویسنده alivecode.developers@gmail.com
آدرس صفحه اصلی https://github.com/ALIVEcode/alimata
آدرس اینترنتی https://pypi.org/project/alimata/
مجوز -
# Alimata ## What is it? Alimata is a python library used to simplify the implementation of [firmetix](https://github.com/Nilon123456789/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` ### Firmetix4Arduino 1. Open the Arduino IDE and select Tools/Manage Libraries 2. Search for "firmetix4arduino" 3. Install 4. Firmetix4Arduino also requires other library just install all of them. 5. Open the 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 ```python 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 ```python #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)`


نیازمندی

مقدار نام
>=6.0.1 firmetix


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl alimata-0.0.1:

    pip install alimata-0.0.1.whl


نصب پکیج tar.gz alimata-0.0.1:

    pip install alimata-0.0.1.tar.gz