PubInv / general-purpose-alarm-device

A general purpose alarm device (with software) as a module for medical devices (and others)
https://www.pubinv.org/project/general-purpose-alarm-device-gpad/
GNU Affero General Public License v3.0
6 stars 11 forks source link

Create proper Libraries that can be conveniently included... #263

Open RobertLRead opened 7 months ago

RobertLRead commented 7 months ago

I believe these files:

GPAD_ALARM_API_SPI.cpp GPAD_ALARM_API_SPI.h alarm_api.h

should be moved into a separate library to make it as easy as possible to use a GPAD from a separate microcontroller. This probably means creating a separate repo with a "library.json" file to fit into the Arduino example.

ForrestErickson commented 6 months ago

I am not fully aware of what constitutes a "library" at the Github level, but would a separate "Controller" folder with in the GPAD project be sufficient?

RobertLRead commented 6 months ago

No, there is a better way to do it, with a "library.json" file. We may have to make a separate repo. I will find the documentation and do it fully.

I have done it before for the "PIRDS" system. If I include good documentation hear, we can make it work.

On Wed, May 8, 2024 at 9:58 AM Forrest Lee Erickson < @.***> wrote:

I am not fully aware of what constitutes a "library" at the Github level, but would a separate "Controller" folder with in the GPAD project be sufficient?

— Reply to this email directly, view it on GitHub https://github.com/PubInv/general-purpose-alarm-device/issues/263#issuecomment-2100783424, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABINEH6PEYMFX2IL2NYZXLTZBI4QFAVCNFSM6AAAAABHCFHRXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQG44DGNBSGQ . You are receiving this because you were assigned.Message ID: @.***>

-- Robert L. Read, PhD Twitter: @RobertLeeRead @pubinvention Public Invention: https://www.pubinv.org Join Our Mailing list: @. YouTube: https://www.youtube.com/channel/UCJQg_dkDY3KTP1ybugYwReg Medium: @.

ForrestErickson commented 6 months ago

I have read this long ago but never tried to follow it enough to succeed:

https://docs.arduino.cc/learn/contributions/arduino-creating-library-guide/