Skip to content

Commit fa7f9fc

Browse files
updated examples to poll with zero delay
updated libmapper
1 parent 2c764d4 commit fa7f9fc

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
url = https://github.com/madler/zlib.git
44
[submodule "liblo"]
55
path = liblo
6-
url = https://github.com/mathiasbredholt/liblo.git
6+
url = https://github.com/radarsat1/liblo.git
77
[submodule "libmapper"]
88
path = libmapper
99
url = https://github.com/mathiasbredholt/libmapper.git

examples/Example_ESP32/Example_ESP32.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ void setup() {
3232
}
3333

3434
void loop() {
35-
mapper_device_poll(dev, 120);
35+
mapper_device_poll(dev, 0);
3636
seq_number = seq_number + 0.01f;
3737
mapper_signal_update_float(output_signal, seq_number);
38+
delay(100);
3839
}
3940

4041
void input_signal_handler(mapper_signal sig, mapper_id instance, const void *value, int count, mapper_timetag_t *timetag) {

examples/Example_M5StickC/Example_M5StickC.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ void setup() {
4848
}
4949

5050
void loop() {
51-
mapper_device_poll(dev, 120);
51+
mapper_device_poll(dev, 0);
5252
M5.Lcd.fillScreen(BLUE);
5353
seq_number = seq_number + 0.01f;
5454
mapper_signal_update_float(output_signal, seq_number);
5555
M5.Lcd.setCursor(0, 10);
5656
M5.Lcd.print(received_value);
57-
//delay(10);
57+
delay(100);
5858
}
5959

6060
void input_signal_handler(mapper_signal sig, mapper_id instance, const void *value, int count, mapper_timetag_t *timetag) {

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=libmapper
2-
version=0.1.0
2+
version=0.1.4
33
author=Mathias Bredholt <[email protected]>
44
maintainer=Mathias Bredholt <[email protected]>
55
sentence=A library for connecting things.
@@ -9,4 +9,4 @@ url=http://libmapper.github.io/
99
architectures=esp32
1010
precompiled=true
1111
includes=mapper.h
12-
ldflags=-lmapper
12+
ldflags=-lmapper

0 commit comments

Comments
 (0)