You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upload [hello examples](examples/core_usage/arduino/hello_peripheral/) to two Arduinos, wire I²C + GND, Serial Monitor (115200): `s`/`r`. See [examples/](examples/).
47
+
48
48
## Installation
49
49
50
-
1. Download or clone this repository
51
-
2. Place the CRUMBS folder in your Arduino `libraries` directory
52
-
3. Include in your sketch: `#include <crumbs_arduino.h>` (Arduino) or `#include "crumbs.h"` (C projects)
50
+
**PlatformIO (Recommended):**
51
+
52
+
```ini
53
+
[env]
54
+
lib_deps = cameronbrooks11/CRUMBS@^0.10.3
55
+
```
53
56
54
-
No external dependencies required - CRC implementations are included under `src/crc`.
57
+
**Arduino IDE:** Tools → Manage Libraries → "CRUMBS" → Install, or copy to `~/Arduino/libraries/`
58
+
59
+
**Linux/Native:** CMake build (see [CONTRIBUTING.md](CONTRIBUTING.md))
60
+
61
+
No external dependencies.
55
62
56
63
## Hardware Requirements
57
64
58
65
- Arduino or compatible microcontroller
59
-
- I²C bus with 4.7k-Ohm pull-up resistors on SDA/SCL lines
60
-
- Unique addresses (0x08-0x77) for each peripheral device
66
+
- I²C bus with 4.7kΩ pull-up resistors on SDA/SCL
67
+
- Unique addresses (0x08–0x77) for each peripheral
68
+
-**Level shifter if mixing 5V/3.3V devices**
69
+
70
+
**Wiring:** SDA↔SDA, SCL↔SCL, GND↔GND (+ 4.7kΩ pull-ups to VCC)
61
71
62
72
## Documentation
63
73
@@ -89,6 +99,18 @@ Examples are organized into three progressive tiers:
89
99
90
100
See [examples/README.md](examples/README.md) for complete platform coverage and [docs/examples.md](docs/examples.md) for detailed documentation.
91
101
102
+
## Troubleshooting
103
+
104
+
**No communication:** Check 4.7kΩ pull-ups, common ground, addresses. Level shifter for 5V↔3.3V.
0 commit comments