Create Smart_insulin_pen_logic_test

This code tests the logic of the dosage sensing and triggering mechanisms designed for the pen using the potentiometer arrangement.