(working) Use this code for calibrating the Load cells.
Fork of ADISense1000_Example_FW by
doc/porting.md@2:2f9f9f7f0243, 2018-07-19 (annotated)
- Committer:
- RGurav
- Date:
- Thu Jul 19 13:25:33 2018 +0000
- Revision:
- 2:2f9f9f7f0243
- Parent:
- 0:76fed7dd9235
(Working); Code to read values from bridge load cell
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
seanwilson10 | 0:76fed7dd9235 | 1 | Porting Guide |
seanwilson10 | 0:76fed7dd9235 | 2 | ============= |
seanwilson10 | 0:76fed7dd9235 | 3 | [ADI Sense Host Portability Layer](@ref ADI_Sense_Host) describes a portability |
seanwilson10 | 0:76fed7dd9235 | 4 | API layer which encapsulates the host platform-specific functions used by the |
seanwilson10 | 0:76fed7dd9235 | 5 | ADI Sense Host Library to communicate with the ADI Sense module. |
seanwilson10 | 0:76fed7dd9235 | 6 | |
seanwilson10 | 0:76fed7dd9235 | 7 | Porting the ADI Sense Host Library to a new hardware platform and/or operating |
seanwilson10 | 0:76fed7dd9235 | 8 | system (OS) should involve replacing only the portability layer API functions |
seanwilson10 | 0:76fed7dd9235 | 9 | with a suitable implementation for the target platform. |
seanwilson10 | 0:76fed7dd9235 | 10 | |
seanwilson10 | 0:76fed7dd9235 | 11 | A fully-functional communication interface implementation (i.e. @ref |
seanwilson10 | 0:76fed7dd9235 | 12 | ADI_Sense_Spi) is required, as is @ref ADI_Sense_Time which provides time-delay |
seanwilson10 | 0:76fed7dd9235 | 13 | functions for the ADI Sense Host Library. However, other elements of the |
seanwilson10 | 0:76fed7dd9235 | 14 | portability layer, such as @ref ADI_Sense_Gpio and @ref ADI_Sense_Log, may be |
seanwilson10 | 0:76fed7dd9235 | 15 | substituted with dummy implementations if necessary (though some |
seanwilson10 | 0:76fed7dd9235 | 16 | [examples](doc/examples.md) may not function correctly as a result). |
seanwilson10 | 0:76fed7dd9235 | 17 | |
seanwilson10 | 0:76fed7dd9235 | 18 | Source code for the ST Nucleo / mbed portability layer implementation is located |
seanwilson10 | 0:76fed7dd9235 | 19 | in the following sub-directory within the ADI Sense Host Library source package: |
seanwilson10 | 0:76fed7dd9235 | 20 | |
seanwilson10 | 0:76fed7dd9235 | 21 | <path_to_library>/host/src/mbed/ |
seanwilson10 | 0:76fed7dd9235 | 22 |