# imports
import machine
import math
import time
#######################################
# Pin and constant definitions
#######################################
#######################################
# Global variables
#######################################
display_value = 0
#######################################
# Function definitions
#######################################
# Function to read the ADC pin and
# to convert the digital value to a voltage level in the 0-3.3V range
# This function updates the value of the display_value global variable
def read_analogue_voltage(pin): # We can use the pin parameter if needed
pass
# Function to disable timer that triggers scanning 7 segment displays
def disable_display_timer():
pass
# Function to enable timer that triggers scanning 7 segment displays
def enable_display_timer():
pass
# Function to handle scanning 7 segment displays
# Display the value stored in the display_value global variable
# on available 7-segment displays
def scan_display(timer_int):
pass
# Function display the given value on the display with the specified index
# dp_enable specifies if the decimal pooint should be on or off
def display_digit(digit_value, digit_index, dp_enable=False):
pass
# Function to test avaiable 7-segment displays
def display_value_test():
pass
# Function to setup GPIO/ADC pins, timers and interrupts
def setup():
pass
if __name__ == '__main__':
setup()
#display_value_test()