Skip to content

1.1.0 - candidate #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions examples/modulino/modulino.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
This file is part of the Arduino_Alvik library.

Copyright (c) 2024 Arduino SA

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

*/

#include "Arduino_Alvik.h"
#include <Modulino.h>

Arduino_Alvik alvik;
ModulinoPixels leds;


void setup() {
alvik.begin();
Modulino.begin(alvik.i2c); // pass here alvik.i2c
leds.begin();
}

void loop() {
for (int i = 0; i < 8; i++) {
leds.clear();
leds.set(i, 255, 0, 0, 100);
leds.show();
delay(100);
}
for (int i = 7; i >= 0; i--) {
leds.clear();
leds.set(i, 255, 0, 0, 100);
leds.show();
delay(100);
}
}
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Arduino_Alvik
version=1.0.1
version=1.1.0
author=Arduino, Giovanni di Dio Bruno, Lucio Rossi
maintainer=Arduino <[email protected]>
sentence=Library to code Arduino Alvik robot
Expand Down
Loading