mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-22 00:06:09 +01:00
29 lines
513 B
Markdown
29 lines
513 B
Markdown
---
|
|
title: "Send signal"
|
|
aliases:
|
|
- pybytes/api/send_signal
|
|
---
|
|
|
|
Send signal to the given signal number.
|
|
|
|
**Method**
|
|
----
|
|
**pybytes.send_signal(pin, value)**
|
|
|
|
**Parameters**
|
|
----
|
|
| name | Description | is Required | Default value
|
|
| ------------- |:-------------:|:-------------:|:-------------:|
|
|
| pin | pin | Yes | - |
|
|
| value | signal value | Yes | - |
|
|
|
|
**Example**
|
|
----
|
|
`pybytes.send_signal(13,25)`
|
|
|
|
**Success Response**
|
|
---
|
|
```
|
|
To check the result, look at Pybytes → Device → Data
|
|
```
|