-
Notifications
You must be signed in to change notification settings - Fork 3
RPi Examples
The following examples are provided for Raspberry Pi:
This example shows how the status of the hall switch can be polled using the provided library.
Please open the example source file at hall-switch/src/framework/raspberrypi/lib-polling.cpp
and read the comments before compiling it.
cd hall-switch/src/framework/raspberrypi
make examples/lib-polling
This example shows how an interrupt can be triggered on status change of the hall switch.
Please open the example source file at hall-switch/src/framework/raspberrypi/lib-interrupt.cpp
and read the comments before compiling it.
cd hall-switch/src/framework/raspberrypi
make examples/lib-interrupt
2. Library Details
Library Architecture
Hall Switch API
Hall Speed API
PAL Interface
Source Tree Structure
Preprocessor Configuration
Porting Guide
Doxygen Docs
4. Software Frameworks
Arduino
- Getting Started
- Lib Installation
- Ino Examples
- Arduino API
- PlatformIO
Cypress WICED
- Getting Started
- Lib Installation
- WICED API
- Troubleshooting Guide
Raspberry Pi
- Getting Started
- Lib Installation
- Examples
- API usage