From 9e112f5e7c729c9cd5c41952c6fc1ab979ecfe3f Mon Sep 17 00:00:00 2001 From: divadiow Date: Mon, 19 Jan 2026 21:55:04 +0000 Subject: [PATCH 01/24] more --- vue/gpioDoctor.vue | 22 +++++------ vue/myComponent.vue | 4 +- vue/tools.vue | 90 ++++++++++++++++++++++----------------------- 3 files changed, 58 insertions(+), 58 deletions(-) diff --git a/vue/gpioDoctor.vue b/vue/gpioDoctor.vue index 84a85641..28ff4108 100644 --- a/vue/gpioDoctor.vue +++ b/vue/gpioDoctor.vue @@ -2,19 +2,19 @@

GPIO Doctor

-

Here you can quickly detect GPIO roles of an unknown device. Remember to try checking our Templates first, maybe there is already template for your device.

+

Use this tool to identify GPIO roles on an unknown device. Before you start, check Templates first; there may already be a template for your device.

-

Usage warning

-

This tool will override your current GPIO settings. Use with caution. Backup your current template if needed.

+

Warning

+

This tool overrides your current GPIO configuration. Use with caution. Back up your current template first, if needed.

-

How to use - finding outputs

-

To find relays, LEDs or PWMs, just use 'Set Output High'/Set Output Low' button on each pin and see if relay/LED/Light changes. This works also for PWMs, because 'Relay' role can control PWM, it just toggles it between 100% and 0% duty.

+

How to use: finding outputs

+

To find relays, LEDs, or PWM outputs, use the “Set Output High” / “Set Output Low” button for each pin and observe what changes. This can also help with PWM outputs, because the “Relay” role can drive a PWM channel by toggling it between 100% and 0% duty cycle.

-

How to use - finding inputs

-

To find inputs, including buttons, first click 'Setup input with pull up', which is a most common option, and then press a button for a second and check if state High/Low changes. If it changes, then you've found your button. In some rare cases, you also might want to try no pullup resistor mode (maybe for door sensors, etc?)

+

How to use: finding inputs

+

To find inputs (including buttons), first click “Set Input (pull-up)”, which is the most common option. Then press and hold the button briefly and check whether the state changes (High/Low). If it does, you have likely found your button. In rarer cases, you may also want to try “Set Input (no pull-up)” (for example, some door sensors).

-

How to use - final steps

-

You can easily change pin roles here and they will be saved. Remember to clear up unused Relay/dInput/roles etc manually and keep only the roles you are going to use

+

How to use: final steps

+

Changes you make here are saved automatically. Once you have identified the required pins, clear any unused roles and keep only the roles you intend to use.

@@ -34,7 +34,7 @@ - +
@@ -59,7 +59,7 @@ }, getPinAlias(index) { - // some of pins have special roles + // Some pins have special roles if (index == 23) return "ADC3"; if (index == 26) diff --git a/vue/myComponent.vue b/vue/myComponent.vue index 921f6896..71ada3be 100644 --- a/vue/myComponent.vue +++ b/vue/myComponent.vue @@ -43,7 +43,7 @@
-

Tools (WORK IN PROGRESS, SOME BUTTONS MAY NOT BE READY)

+

Tools

@@ -60,7 +60,7 @@
-

GPIO Doctor - easily find GPIO roles for your relays, PWMs, and buttons (Work In Progress)

+

GPIO Doctor - easily find GPIO roles for your relays, PWMs, and buttons

Please also UPDATE OBK to latest version to get best experience, otherwise reading values won't work
diff --git a/vue/tools.vue b/vue/tools.vue index 9526c192..a2e29917 100644 --- a/vue/tools.vue +++ b/vue/tools.vue @@ -1,38 +1,38 @@