-
here are part of the code I am using:
```
#define FAN_PWM_PIN 9 //9 or 10 for UNO
#define DEFAULT_DUTY_CYCLE 20
float dutyCycle = DEFAULT_DUTY_CYCLE;
void setup(){
Timer1.initialize(40); …
-
-
To get an accurate measurement of motor current, I believe the value returned by `motor.getCurrent()` needs to be multiplied by `abs(motor.getPower())`. Assuming this is correct, would be great to upd…
-
We need to update the docs so that the distinction between duty cycle and speed is clearer, especially in the descriptions for the commands. It would also be great if the motor class documentation wer…
-
**Reported by bluey on 2 May 2008 22:36 UTC**
The duty cycle on IR sending is not exactly 50/50. This is because of an asymmetry between pulling the voltage on the LED to 5V vs pulling the voltage on …
-
**Describe the problem you have/What new integration you would like**
It would be a great addition to have a duty cycle sensor measuring activity from a binary sensor and not only from a GPIO pin…
-
- Mycodo Version:8.15.8
- Raspberry Pi Version: 4B 2GB
- Raspbian OS Version: Bullseye
When setting up a Ramp Duty Cycle Action inside a Trigger: Output On/Off, the expected behavior would b…
-
Hello,
Sometimes, I can get the abnormal return from functions "pwm_to_duty_cycle" in the file HardwareInterface.py.
It's OK after change from
return int(pulsewidth_micros / 1e6 * pwm_params.f…
-
Investigate waiting some period of time (nop loop) after a failure or successful send before re-checking.
cyarp updated
4 years ago
-
### CircuitPython version
```python
Adafruit CircuitPython 8.0.2 on 2023-02-14; Adafruit Feather M4 Express with samd51j19
```
### Code/REPL
```python
# SPDX-FileCopyrightText: 2018 Katt…