An example program for Rohm SensorShield-EVK-001 running with Mbed OS 5.
Dependencies: BM1422AGMV rohm-rpr0521 rohm-sensor-hal rohm-bh1790glc-driver BH1749NUC KX224-1053 BM1383AGLV RegisterWriter
Getting Started with Rohm SensorShield-EVK-001
This example demonstrates how to use the SensorShield-EVK-001 component with multiple sensors. those measured values, which received through a serial connection from a mbed board, are printed out in a terminal software window.
Setup
The SensorShield-EVK-001 is plugged on top of a mbed board and a serial connection should be set up between the mbed board and PC with the following parameters:
- baud rate: 115200
- data: 8 bit
- parity: none
- stop: 1bit
- flow control: none
Terminal parameters
Measured Data Output
mbed_app.json@8:a212185be55a, 2019-02-27 (annotated)
- Committer:
- MACRUM
- Date:
- Wed Feb 27 09:13:51 2019 +0000
- Revision:
- 8:a212185be55a
- Parent:
- 5:f0dac0711070
Fix return code
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Ren Boting | 0:a9aeed8cd62e | 1 | { |
Ren Boting | 0:a9aeed8cd62e | 2 | "config": { |
Ren Boting | 0:a9aeed8cd62e | 3 | }, |
Ren Boting | 0:a9aeed8cd62e | 4 | "target_overrides": { |
Ren Boting | 0:a9aeed8cd62e | 5 | "*": { |
MACRUM | 5:f0dac0711070 | 6 | "platform.default-serial-baud-rate": 115200, |
MACRUM | 5:f0dac0711070 | 7 | "platform.stdio-baud-rate" : 115200, |
MACRUM | 5:f0dac0711070 | 8 | "platform.stdio-convert-newlines" : true |
Ren Boting | 0:a9aeed8cd62e | 9 | } |
Ren Boting | 0:a9aeed8cd62e | 10 | } |
Ren Boting | 0:a9aeed8cd62e | 11 | } |