Skip to content

Commit

Permalink
V1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hpwit committed Jul 7, 2020
1 parent 0a44aaa commit 8213bee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ This function starts the artnet objects.
Based on these two numbers the program will calculate the number of needed universes

#### `void setLedsBuffer(uint_8t*) buffer)`
This function will set the buffer that will store the frame retrieve from `readFrame()` `readNextFrameAndWait()` and `readFrameRecord()`
This function will set the buffer that will store the frame retrieved from `readFrame()` `readNextFrameAndWait()` and `readFrameRecord()`

#### `uint16_t readFrame()`
This function will receive one frame or all the needed universes.
Expand All @@ -85,7 +85,7 @@ This function receives a frame a store it in the file. It also store the delay b
This function is mandatory to call to end the recording it will also close the file

#### `bool readNextFrameAndWait(File file)`
This function reads a frame from the file and wait the necessary time.
This function reads a frame from the file and waits the necessary time.
it returns `true` if the file has not be entirely read else it will returns `false`


Expand Down
2 changes: 1 addition & 1 deletion examples/SD-Artnet/SD-Artnet.ino
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void recordfunction()
if (artnet.frameslues%100==0)
Serial.printf("nb frames read: %d nb of incomplete frames:%d lost:%.2f %%\n",artnet.frameslues,artnet.lostframes,(float)(artnet.lostframes*100)/artnet.frameslues);
//here the buffer is the led array hence a simple FastLED.show() is enough to display the array
FastLED.show(); //if the array is really big I would note put any FastLED.show() because it takes time
FastLED.show(); //if the array is really big I would not put any FastLED.show() because it takes time
}


Expand Down

0 comments on commit 8213bee

Please sign in to comment.