This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//************************************************************ | |
// this is a simple example that uses the painlessMesh library | |
// | |
// 1. sends a silly message to every node on the mesh at a random time betweew 1 and 5 seconds | |
// 2. prints anything it recieves to Serial.print | |
// | |
// | |
//************************************************************ | |
// #define _TASK_MICRO_RES uncomment for weirdness |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SLAVE 66331655: BPM: 120 Pattern: 0 | |
0x40 meshRecvCb(): lastRecieved=46189977 fromId=2140081748 type=8 | |
0x40 sendMessage(conn): conn-nodeId=2140081748 destId=2140081748 type=5 msg=[] | |
0x40 Sending to 2140081748-->{"dest":2140081748,"from":2146419207,"type":5,"subs":[]}<-- | |
0x40 sendPackage(): Package sent -> {"dest":2140081748,"from":2146419207,"type":5,"subs":[]} | |
0x40 meshRecvCb(): data={"dest":2146419207,"from":2140081748,"type":6,"subs":[]} fromId=2140081748 | |
0x40 meshRecvCb(): lastRecieved=49759342 fromId=2140081748 type=6 | |
0x40 meshRecvCb(): data={"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":0}"} fromId=2140081748 | |
0x40 broadcastMessage(): from=2140081748 type=8, msg={"currentBPM":120,"currentPattern":0} exclude=2140081748 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MASTER 66322448: Sent broadcast message: {"currentBPM":120,"currentPattern":0} | |
0x40 meshRecvCb(): data={"dest":2140081748,"from":2146419207,"type":5,"subs":[]} fromId=2146419207 | |
0x40 sendMessage(conn): conn-nodeId=2146419207 destId=2146419207 type=6 msg=[] | |
0x40 Sending to 2146419207-->{"dest":2146419207,"from":2140081748,"type":6,"subs":[]}<-- | |
0x40 sendPackage(): Package sent -> {"dest":2146419207,"from":2140081748,"type":6,"subs":[]} | |
0x40 meshRecvCb(): lastRecieved=69913683 fromId=2146419207 type=5 | |
0x40 sendBroadcast(): msg={"currentBPM":120,"currentPattern":0} | |
0x40 broadcastMessage(): from=2140081748 type=8, msg={"currentBPM":120,"currentPattern":0} exclude=NULL | |
0x40 sendMessage(conn): conn-nodeId=2146419207 destId=2146419207 type=8 msg={"currentBPM":120,"currentPattern":0} | |
0x40 Sending to 2146419207-->{"dest":2146419207,"from":2140081748,"type":8,"msg":"{\"currentBPM\":120,\"currentPattern\":0}"}<-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SLAVE 662645508: BPM: 120 Pattern: 2 | |
SLAVE 667647814: BPM: 120 Pattern: 2 | |
0x8 stationScan(): LEDforge.com LEDswarm | |
0x8 scanComplete():-- > scan finished @ 670149557 < -- | |
0x8 found : LEDforge.com LEDswarm, -33dBm0x8 MESH< ---0x8 | |
0x8 Found 1 nodes | |
0x8 connectToAP():0x8 connectToAP(): No unknown nodes found scan rate set to normal | |
SLAVE 672645571: BPM: 120 Pattern: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MASTER 462004422: Sent broadcast message: {"currentBPM":120,"currentPattern":1} | |
MASTER 467004423: Sent broadcast message: {"currentBPM":120,"currentPattern":1} | |
MASTER 467005633: Sent broadcast message: {"currentBPM":120,"currentPattern":2} | |
MASTER 472005391: Sent broadcast message: {"currentBPM":120,"currentPattern":2} | |
MASTER 477005376: Sent broadcast message: {"currentBPM":120,"currentPattern":2} | |
MASTER 482004171: Sent broadcast message: {"currentBPM":120,"currentPattern":3} | |
0x8 meshReconCb(): err=-11. | |
0x8 wifiEventCb(): EVENT_STAMODE_DISCONNECTED | |
0x8 connectToAP():0x8 connectToAP(): No unknown nodes found scan rate set to normal | |
0x1 subConnectionJsonHelper(): Found closed connection0x8 nodeTimeoutTask(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SLAVE 492327064: BPM: 120 Pattern: 4 | |
SLAVE 497328713: BPM: 120 Pattern: 4 | |
SLAVE 502329676: BPM: 120 Pattern: 4 | |
SLAVE 507330817: BPM: 120 Pattern: 5 | |
SLAVE 512327331: BPM: 120 Pattern: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MASTER 286263848: Sent broadcast message: {"currentBPM":120,"currentPattern":5} | |
MASTER 291263141: Sent broadcast message: {"currentBPM":120,"currentPattern":5} | |
MASTER 296263094: Sent broadcast message: {"currentBPM":120,"currentPattern":5} | |
MASTER 301262145: Sent broadcast message: {"currentBPM":120,"currentPattern":6} | |
MASTER 306262886: Sent broadcast message: {"currentBPM":120,"currentPattern":6} | |
MASTER 311262073: Sent broadcast message: {"currentBPM":120,"currentPattern":6} | |
MASTER 316263137: Sent broadcast message: {"currentBPM":120,"currentPattern":0} | |
MASTER 321262998: Sent broadcast message: {"currentBPM":120,"currentPattern":0} | |
MASTER 326262974: Sent broadcast message: {"currentBPM":120,"currentPattern":0} | |
MASTER 331262207: Sent broadcast message: {"currentBPM":120,"currentPattern":1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x800 Calling esp_conn 7. | |
SLAVE 93168080: BPM: 120 Pattern: 4 | |
0x800 Calling esp_conn 8. | |
0x800 Calling esp_conn 1. | |
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 7. | |
SLAVE 98169008: BPM: 120 Pattern: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 8. | |
0x800 Calling esp_conn 8. | |
0x800 Calling esp_conn 1. | |
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 7. | |
0x800 Calling esp_conn 1. | |
SLAVE 1910771666: BPM: 120 Pattern: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void circularLoader2() { | |
fill_solid(leds, NUM_LEDS, CRGB::Black); | |
uint8_t uneased_startP = lerp8by8( 0, NUM_LEDS, beat8( 30, 5000 ) ); // start position, runs behind endP | |
uint8_t uneased_endP = lerp8by8( 0, NUM_LEDS, beat8( 30 ) ); // start position | |
uint8_t startP = QuadraticEaseIn8( uneased_startP ); | |
uint8_t endP = CubicEaseIn8( uneased_endP ); | |
DEBUG_PRINT(F("startP: ")) ; | |
DEBUG_PRINT(startP) ; | |
DEBUG_PRINT(F("\t")) ; | |
DEBUG_PRINT(F("endP: ")) ; |
OlderNewer