diff --git a/README.md b/README.md index ef62891..05d4b77 100755 --- a/README.md +++ b/README.md @@ -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. @@ -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` diff --git a/examples/SD-Artnet/SD-Artnet.ino b/examples/SD-Artnet/SD-Artnet.ino index 9b109eb..55da6fb 100644 --- a/examples/SD-Artnet/SD-Artnet.ino +++ b/examples/SD-Artnet/SD-Artnet.ino @@ -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 }