The function reads the sensor’s analog value on the specified pin and returns an integer between 0 and 4096. The pins can be set to A1 and A2.
readanaloginput()
Function Definition: readanaloginput(A1)
- Python Library: Quarky Intellio (Main)
- Library Import: intellio = QuarkyIntellio()
- Mode: Stage Mode, Upload Mode
Parameters
| Name | Type | Description | Expected Values | Default Value |
|---|---|---|---|---|
| A1 | character | The function reads the sensor's analog value on the specified pin and returns an integer between 0 and 4096. The pins can be set to A1 and A2. | A1, A2 |
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
