Firmware is missing `analogSetVRefPin()`
![userHead](https://dfimg.dfrobot.com/dfPortrait2.png)
The Firebeetle firmware appears to be outdated compared to the latest ESP32 firmware release. Is there a way to update our boards? If so, could I be pointed towards some resources on how to do this? What I really want is to use the function analogSetVRefPin() which is not included with the current firmware, but is included with the latest release. If there's a way to have access to that function without needing to update the board's firmware, that'd be good too.
I tried this function and it can be compiled successfully in the software. Are you having trouble calibrating the ADC during use? Hope for more details.
![](https://dfimg.dfrobot.com/nobody/makelog/9ec2f99f1a8168af43abfa9ecc6bb967.png)
![](https://dfimg.dfrobot.com/nobody/makelog/0186cfe51eaf653607d1397a5dc7f547.png)
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)
Yes, I've been having trouble calibrating the ADC on the ESP32. I'm trying to get the ADC on the ESP32 to mimic the ADC on the atmega328p (MCU of the Arduino Uno) for a project I made for the atmega328p that I'd like to get working on the ESP32. The ADC on the atmega328p uses the input voltage as the reference voltage by default which is usually 5V and I'd like to set a pin on the ESP32 that is receiving 5V to be the reference pin. I tried to do so using the analogSetVRefPin() but it doesn't exist for my board (image below).I notice that you're using “ESP32 Dev Module” not the FireBeelte. Does that board work with the FireBeetle? If so, could you provide the url for the board manager?
![](https://dfimg.dfrobot.com/nobody/makelog/a92378c4aaa4f05ca454624bb066f6b0.png)
pls try this URL.
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Follow up: I can't seem to even find any indication of what the reference voltage is for the FireBeetle board. Any information regarding this or the original post would be greatly appreciated.
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)
You can also post this question to the esp32 forum. They can provide the most authentic info about firmware upgradation.
Pls refer to the wiki. The ADC reference voltage of ESP32 is 3.3V.
The difference between Firebeetle ESP32 board and ESP32 dev module is that Firebeetle ESP32 has pin mapping for arduinoIDE, such as D9/io2.