The function sets the PWM output of the specified pin to the given value between 0 and 255. The pins can be set to A1, A2, and S1.
setanalogoutput()
Function Definition: setanalogoutput(‘2’,’255’)
- Python Library: Quarky Intellio (Main)
- Library Import: intellio = QuarkyIntellio()
- Mode: Stage Mode, Upload Mode
Parameters
| Name | Type | Description | Expected Values | Default Value |
|---|---|---|---|---|
| ‘2’,’255’ | int | The function sets the PWM output of the specified pin to the given value between 0 and 255. The pins can be set to A1, A2, and S1. | A1, A2, S1. |
Description
Example
There are no examples documented for this article.
- Scratch Based Default Extensions
- Artificial Intelligence
- Innovative Extensions
- Machine Learning Environment
- Quarky
- Quarky Intellio I2C Communication
- Quarky Advance Sensors Extension
- Quarky Connect
- Display (Quarky)
- Quarky (Main)
- Robot (Quarky)
- Sensors (Quarky)
- Speaker (Quarky)
- Quarky Ultimate Robots
- Quarky Expansion Board
- Mars Rover
- Humanoid (Quarky)
- Quadruped (Quarky)
- IoT House (Quarky)
- Quarky Mecanum
- Quarky Robotic Arm
- Dabble
- Quarky Advance Line Following
