Answer questions like:
PIN20corresponds to whichGPIO?GPIO28corresponds to which exposed pin label?
# Pin -> GPIO
python scripts/query_pin_map.py --model EC800KCNLC --pin 20 --lang zh --top 5
# GPIO -> Pin
python scripts/query_pin_map.py --model EC800KCNLC --gpio 28 --lang zh --top 5
# Strict model mode (commercial-evidence preferred)
python scripts/query_pin_map.py --model EC800KCNLC --pin 20 --lang zh --strict-model --top 5- Use rows with higher score first:
score=3: exact numeric pin cell match or exact GPIO token.score=2: row containsPxx/PINxx.
- Prefer results where
model_mentioned_in_page=true. - If model is not explicitly mentioned, treat result as board-level clue and confirm with module hardware design spec.
- With
--strict-model, only rows that satisfy both are kept:model_mentioned_in_page=truemodel_matched_table_class=true
Do not ship hardware pin mapping decisions based on a single page clue. Minimum requirement:
- one official page result from this query;
- one hardware design specification cross-check (PDF/manual);
- one device-side electrical validation record.
- do not output "commercially approved" conclusions directly from this query.