aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-07-12 23:56:45 +0000
committerGitHub <[email protected]>2022-07-12 23:56:45 +0000
commit7c8dffeb12d9bc9589583fa6c9fd69d8c927c5bb (patch)
treecfd70f1d698277e98422185e3e7c73e596d6176c /docs
parente4cacc3bb812c8870584c513020f0747146c860a (diff)
parent53e40860c17b2525ad4a8d25d6d0aa7fe4da789b (diff)
Merge #863
863: Add more convenience GPIO functions r=Dirbaio a=chemicstry This reduces boilerplate code from: ```rs if config.pin_high { pin.set_high() } else { pin.set_low() } ``` to ```rs pin.set_level(config.pin_high.into()); ``` Co-authored-by: chemicstry <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions