Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Create fan controller script #45

Closed
veerendra2 opened this issue Dec 29, 2022 · 2 comments · Fixed by #46
Closed

Create fan controller script #45

veerendra2 opened this issue Dec 29, 2022 · 2 comments · Fixed by #46
Assignees
Labels
enhancement New feature or request

Comments

@veerendra2
Copy link
Owner

@veerendra2 veerendra2 added the enhancement New feature or request label Dec 29, 2022
@veerendra2 veerendra2 self-assigned this Dec 29, 2022
@veerendra2
Copy link
Owner Author

veerendra2 commented Jan 1, 2023

  • pigpio is consuming around 8% of total CPU

image

@veerendra2
Copy link
Owner Author

Seems RPi.GPIO package consuming 23% of total CPU

veerendra@atom:~$ python3
Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import RPi.GPIO as IO
>>> servo = 18
>>>
>>> IO.setwarnings(False)
>>> IO.setmode (IO.BCM)
>>> IO.setup(servo,IO.OUT)
>>> fan = IO.PWM(servo,25000)
>>> fan.start(0)
>>> fan.ChangeDutyCycle(100)
>>> exit()

image

@veerendra2 veerendra2 linked a pull request Jan 1, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant