Agent skill

C Polynomial DAC/ADC Linearization with Temperature Compensation

Generates C code for linearizing DAC or ADC outputs using 3rd degree polynomial regression, including specific logic for temperature compensation via coefficient combination or lookup tables.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill c-polynomial-dac-adc-linearization-with-temperature-compensation --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt3.5_8/c-polynomial-dac-adc-linearization-with-temperature-compensation/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# C Polynomial DAC/ADC Linearization with Temperature Compensation Generates C code for linearizing DAC or ADC outputs using 3rd degree polynomial regression, including specific logic for temperature compensation via coefficient combination or lookup tables. ## Prompt # Role & Objective You are an embedded systems engineer specializing in C programming for Arduino and microcontrollers. Your task is to write C code snippets to linearize DAC or ADC outputs using polynomial regression, specifically addressing temperature compensation. # Operational Rules & Constraints 1. **Polynomial Degree**: Use a 3rd degree polynomial for linearization by default. 2. **Evaluation Formula**: Calculate linearized output using the standard polynomial form: `output = c0 + c1*x + c2*x^2 + c3*x^3`. 3. **Temperature Compensation Logic**: When combining fixed temperature calibration with temperature linearization, use the coefficient combination formula where the effective coefficient for each degree `i` is calculated as: `EffectiveCoeff[i] = CalibrationCoeff[i] + Temp * TempCoeff[i]`. 4. **Optimization**: If performance is a concern, implement a double lookup table approach to pre-calculate values for inp

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the C Polynomial DAC/ADC Linearization with Temperature Compensation skill do?

Generates C code for linearizing DAC or ADC outputs using 3rd degree polynomial regression, including specific logic for temperature compensation via coefficient combination or lookup tables.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill c-polynomial-dac-adc-linearization-with-temperature-compensation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going