Skip to content

Commit

Permalink
chore: bump version to v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hideakitai committed Feb 2, 2024
1 parent 80b867d commit 22f169e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Artnet/Receiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class Receiver_
return;
}
uint16_t u = ((uint16_t)net << 8) | ((uint16_t)subnet << 4) | (uint16_t)universe;
this->subscribeArtDmx(u, func);
this->subscribeArtDmxUniverse(u, func);
}

// subscribe artdmx packet for specified universe (15 bit)
Expand Down
4 changes: 2 additions & 2 deletions examples/ETH/receiver/receiver.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Ethernet stuff
const IPAddress ip(192, 168, 0, 201);
const IPAddress gateway(192, 168, 0, 1);
const IPAddress subnet(255, 255, 255, 0);
const IPAddress subnet_mask(255, 255, 255, 0);

ArtnetReceiver artnet;
uint16_t universe1 = 1; // 0 - 32767
Expand All @@ -19,7 +19,7 @@ void setup() {
Serial.begin(115200);

ETH.begin();
ETH.config(ip, gateway, subnet);
ETH.config(ip, gateway, subnet_mask);
artnet.begin();

// if Artnet packet comes to this universe, this function (lambda) is called
Expand Down
4 changes: 2 additions & 2 deletions examples/WiFi/receiver/receiver.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const char* ssid = "your-ssid";
const char* pwd = "your-password";
const IPAddress ip(192, 168, 1, 201);
const IPAddress gateway(192, 168, 1, 1);
const IPAddress subnet(255, 255, 255, 0);
const IPAddress subnet_mask(255, 255, 255, 0);

ArtnetWiFiReceiver artnet;
uint16_t universe1 = 1; // 0 - 32767
Expand All @@ -26,7 +26,7 @@ void setup() {

// WiFi stuff
WiFi.begin(ssid, pwd);
WiFi.config(ip, gateway, subnet);
WiFi.config(ip, gateway, subnet_mask);
while (WiFi.status() != WL_CONNECTED) {
Serial.print(".");
delay(500);
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/hideakitai",
"maintainer": true
},
"version": "0.3.0",
"version": "0.4.0",
"license": "MIT",
"frameworks": "*",
"platforms": "*",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=ArtNet
version=0.3.0
version=0.4.0
author=hideakitai
maintainer=hideakitai
sentence=Art-Net Sender/Receiver for Arduino (Ethernet, WiFi)
Expand Down

0 comments on commit 22f169e

Please sign in to comment.