azietak / SED1115-GroupProject

Etch-A-Sketch Group Project
0 stars 0 forks source link

map_potentiometer function #3

Open lilibp opened 2 weeks ago

lilibp commented 2 weeks ago

Purpose:

The map_potentiometer function maps potentiometer analogue values into X,Y coordinates on the paper.

Inputs:

Outputs:

Notes:

Determine min/max values of the potentiometer and paper surface. Should these values be hard-coded into this function or should they be determined in the main function?

lilibp commented 5 days ago

I ended up writing this code's function, but Mbappe will be tasked with writing the unittest for it.

F-HEAVEN commented 3 days ago

Comme promis j'ai pu mettre sur pieds un unitest hier(11-25-2024) que j'ai dans mon IDe Thonny.Je vais pouvoir le presenter en cour aujourd'hui aussi avec ma partie de code.