issues
search
gereonhub
/
PICO_based_Watering
Micropython code that controls a Raspberry Pi PICO based watering system using capacitive 5V soil moist sensor, a 5V pump, 16x2 LCD I2C display for output.
2
stars
1
forks
source link
refactor(Display): Reduce code clone for every line
#9
Closed
tsteevy
closed
6 months ago
tsteevy
commented
6 months ago
takes additional parameter
max_length
to be more flexible with other display models
repeats steps for every line in for loop (not restricted to 2 lines anymore)
removes ifs for more readability
max_length
to be more flexible with other display models