emfcamp / badge-2024-documentation

Tildagon badge documentation website
https://tildagon.badge.emfcamp.org/
21 stars 38 forks source link

update API and examples for egpio #249

Closed ChrisDick closed 5 months ago

ChrisDick commented 5 months ago

also fix units of Battery current.

Description

add new elements to the API for the the LS gpio and update examples. correct the units for the battery charge current from mA to A.

ChrisDick commented 5 months ago

I renamed it to match the name of the module. Do you think that matters? not sure it's wise changing the name in the sw, but we could while it's still in rc. I don't mind either way, happy to replace all occurrences in the docs if that makes more sense to keep consistency. Another solution is to make them all eGPIO except in the methods section and make that one egpio.ePin?

npentrel commented 5 months ago

@ChrisDick let's go with your suggestion and make them all eGPIO except in the methods section and make that one egpio.ePin in code formatting

npentrel commented 5 months ago

Merging for now