tuya/tuyaopen-ide-manifests/adc

Claude Code and agent skill by tuya/tuyaopen-ide-manifests

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

TuyaOS ADC via tkl_adc: init, single-channel read, deinit. ADC、采样、电压、模拟输入、tkl_adc。

Install

npx vskill@latest install tuya/tuyaopen-ide-manifests/adc

SKILL.md

TuyaOS ADC (tkl_adc)

Demo: …/examples/driver_adc/example_driver_adc.c

Pattern

c
#include "tkl_adc.h"
#include "tal_log.h"
#define ADC_NUM 0
#define ADC_CHANNEL 0
void app_adc_read_once(void)
{
TUYA_ADC_BASE_CFG_T cfg = {0};
/* fill from demo — width, mode, channel mask, etc. */
if (tkl_adc_init(ADC_NUM, &cfg) != OPRT_OK) {
TAL_PR_ERR("adc init fail");
return;
}
int32_t value = 0;
tkl_adc_read_single_channel(ADC_NUM, ADC_CHANNEL, &value);
TAL_PR_NOTICE("adc=%d", value);
tkl_adc_deinit(ADC_NUM);
}

API

FunctionRole
tkl_adc_initopen
tkl_adc_read_single_channelsample
tkl_adc_deinitclose

Channel/pin mapping is platform-specific — confirm with the user/schematic.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tuya/tuyaopen-ide-manifests/adc/badge)](https://verified-skill.com/skills/tuya/tuyaopen-ide-manifests/adc)

Something wrong with this skill or its page? Tell us.