forked from jomjol/AI-on-the-edge-device
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(GPIO)!: Complete rework of GPIO handler & Add additional features for GPIOs #154
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat(webui): Add more content to system info page refactor(REST API): Provide content of '/heap' as JSON + HTML refactor(REST API)!: Remove handler starttime (use /info?type=DeviceStartTime) refactor(REST API)!: Remove handler uptime (use /info?type=Uptime) refactor(REST API)!: Remove handler rssi (use /info?type=Uptime) refactor(REST API)!: Remove handler rssi (use '/info?type=WlanRSSI') refactor(REST API)!: Remove handler cputemp (use '/info?type=ChipTemp') refactor(REST API)!: Remove handler sysinfo (use '/info' + '/heap') refactor(REST API): Align time format (ISO)
Add 'datalogging sdcard' to '/info'
feat(REST API): Add legacy API by query parameter 'type' refactor(REST API): Remove chip temp from 'overview' page. It's accessable from 'system' -> 'info' page
Use '/process_data?type=ProcessState'
Use '/process_data?type=ProcessError
Keeping same functionality, but with reduced APIs to save some RAM
Keeping same functionality, but with reduced APIs to save RAM
Use /process_data API instead refactor(REST API): Merge parts of /value to /process_data Use /process_data API instead refactor(REST API): Rename remaining function of /value to /recognition_details
Slider0007
changed the title
feat(GPIO)!: Complete rework of GPIO handler & Additional features to GPIOs
feat(GPIO)!: Complete rework of GPIO handler & Add additional features for GPIOs
Apr 12, 2024
This was referenced Apr 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
--> Check parameter and API documentation (GPIO Parameter, GPIO REST API, GPIO MQTT API)
Examples:
Flashlight Default, e.g. for board ESP32CAM -> GPIO4 (onboard flashlight, PWM controlled)
Flashlight smartLED, e.g. external or internal WS2812 intelligent LEDs
GPIO modes
(see also GPIO Mode Docu)input
input pullup
input pulldown
output
-> controlable by REST API and/or MQTT
output pwm
-> controlable by REST API and/or MQTT
flashlight default
ESP32CAM
-> GPIO4 as PWM controlled output. This mode is only visible on respective GPIO which is defined as default in firmwareflashlight pwm
flashlight smartled
flashlight digital
trigger cycle start
(pullup enabled)
flashlight default
. This one is automatically derived from board definition in firmware.GPIOX Use Interrupt
toGPIO Capture Mode
. This parameter is only visible for input GPIO modesPWM Duty Cycle Resolution
and replace withGPIO PWM Frequency
. It makes more sense to have frequency adjustable. Max duty resolution is derived automatically from choosen frequency.