mirror of
https://github.com/Architeuthis-Flux/Jumperless.git
synced 2024-11-24 07:10:11 +01:00
Added an svg interactive Jumperless for people who want to use it to make web apps or whatever
This commit is contained in:
parent
a40f74bc75
commit
a93901fbe0
BIN
Hardware/.DS_Store
vendored
BIN
Hardware/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
1850
Hardware/svg Jumperless for interface apps/JumperlessInteractive.svg
Normal file
1850
Hardware/svg Jumperless for interface apps/JumperlessInteractive.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 2.0 MiB |
@ -1114,8 +1114,9 @@ struct rgbColor shiftHue(struct rgbColor colorToShift, int hueShift, int brightn
|
|||||||
|
|
||||||
void lightUpNode(int node, uint32_t color)
|
void lightUpNode(int node, uint32_t color)
|
||||||
{
|
{
|
||||||
|
|
||||||
leds.setPixelColor(node,color);
|
|
||||||
|
leds.setPixelColor(nodesToPixelMap[node],color);
|
||||||
showLEDsCore2 = 1;
|
showLEDsCore2 = 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -899,6 +899,8 @@ int printNodeOrName(int node) // returns number of characters printed (for tabs)
|
|||||||
return Serial.print(node);
|
return Serial.print(node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
char same[12] = " ";
|
char same[12] = " ";
|
||||||
const char *definesToChar(int defined) // converts the internally used #defined numbers into human readable strings
|
const char *definesToChar(int defined) // converts the internally used #defined numbers into human readable strings
|
||||||
{
|
{
|
||||||
|
@ -130,6 +130,9 @@ void loop()
|
|||||||
menu:
|
menu:
|
||||||
// showMeasurements();
|
// showMeasurements();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Serial.print("\n\n\r\t\t\tMenu\n\n\r");
|
Serial.print("\n\n\r\t\t\tMenu\n\n\r");
|
||||||
Serial.print("\tn = show netlist\n\r");
|
Serial.print("\tn = show netlist\n\r");
|
||||||
Serial.print("\tb = show bridge array\n\r");
|
Serial.print("\tb = show bridge array\n\r");
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
|
|
||||||
void setup() {
|
|
||||||
// put your setup code here, to run once:
|
|
||||||
pinMode(LED_BUILTIN, OUTPUT);
|
|
||||||
|
|
||||||
pinMode(2, OUTPUT);
|
|
||||||
pinMode(3, OUTPUT);
|
|
||||||
pinMode(4, OUTPUT);
|
|
||||||
pinMode(5, OUTPUT);
|
|
||||||
pinMode(6, OUTPUT);
|
|
||||||
pinMode(7, OUTPUT);
|
|
||||||
pinMode(8, OUTPUT);
|
|
||||||
|
|
||||||
//int EEPROM.get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
void loop() {
|
|
||||||
// put your main code here, to run repeatedly:
|
|
||||||
digitalWrite(LED_BUILTIN, HIGH);
|
|
||||||
|
|
||||||
for (int i = 2; i <= 8; i++)
|
|
||||||
{
|
|
||||||
digitalWrite(i, HIGH);
|
|
||||||
delay(800);
|
|
||||||
digitalWrite(i, LOW);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
digitalWrite(LED_BUILTIN, LOW);
|
|
||||||
//delay(300);
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
|
|
||||||
void setup() {
|
|
||||||
// put your setup code here, to run once:
|
|
||||||
pinMode(LED_BUILTIN, OUTPUT);
|
|
||||||
|
|
||||||
pinMode(2, OUTPUT);
|
|
||||||
pinMode(3, OUTPUT);
|
|
||||||
pinMode(4, OUTPUT);
|
|
||||||
pinMode(5, OUTPUT);
|
|
||||||
pinMode(6, OUTPUT);
|
|
||||||
pinMode(7, OUTPUT);
|
|
||||||
pinMode(8, OUTPUT);
|
|
||||||
|
|
||||||
//int EEPROM.get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
void loop() {
|
|
||||||
// put your main code here, to run repeatedly:
|
|
||||||
digitalWrite(LED_BUILTIN, HIGH);
|
|
||||||
|
|
||||||
for (int i = 2; i <= 8; i++)
|
|
||||||
{
|
|
||||||
digitalWrite(i, HIGH);
|
|
||||||
delay(600);
|
|
||||||
digitalWrite(i, LOW);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
digitalWrite(LED_BUILTIN, LOW);
|
|
||||||
//delay(300);
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user