Ymit24 / too-hot-to-prandtl-control-system

GNU General Public License v2.0
0 stars 0 forks source link

Add valve state read/write #12

Closed Ymit24 closed 2 months ago

Ymit24 commented 2 months ago

What?

Add code to read valve state from hardware and report it properly in firmware. Also, output to control pins from control signals.

Why?

This is important information for the control system to make the right decision and to make sure we don't have 'flickering' where we rapidly open and close the valve without letting it finish.

How?

Bonus:

Ymit24 commented 2 months ago

Starting on this.

Ymit24 commented 2 months ago

Decided to use internal pull down inputs for PA10 & PA11 pins.

Ymit24 commented 2 months ago

Added requirement to go ahead and impl output to pin.

Ymit24 commented 2 months ago

Got it working on mkrzero hardware.

Ymit24 commented 2 months ago

This is done now.

Ymit24 commented 2 months ago

Merged