# ADC -  change configuration using MakeCode?

**URL:** <https://forum.makecode.com/t/adc-change-configuration-using-makecode/10103>\
**Category:** micro:bit\
**Created:** [September 18, 2021, 10:14pm UTC](https://forum.makecode.com/t/adc-change-configuration-using-makecode/10103 "2021-09-18T22:14:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keble6](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@keble6](https://forum.makecode.com/u/keble6)\
**Post date:** [September 18, 2021, 10:14pm UTC](https://forum.makecode.com/t/adc-change-configuration-using-makecode/10103/1 "2021-09-18T22:14:48Z")

</div>

I’d like to change the ADC config so that it uses the microbit’s 1.2V reference and prescaler.  
There’s a way to configure this using micropython in [this blog](https://meanderingpi.com/2017/08/05/microbit-analog-inputs/).  
Any ideas on how to code this (maybe as an extension) in MakeCode?
