Skip to content

Commit 16aab29

Browse files
committed
Add simplified functions
1 parent 2792889 commit 16aab29

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/ALKS.cpp

+10
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ void setupPiezo()
2828
pinMode(PIEZO2, OUTPUT);
2929
}
3030

31+
void setupI2C()
32+
{
33+
Wire.begin();
34+
}
35+
36+
void setupSPI()
37+
{
38+
SPI.begin();
39+
}
40+
3141
void setupAll()
3242
{
3343
setupLeds();

0 commit comments

Comments
 (0)