diff --git a/examples/ArrayQueue/ArrayQueue.ino b/examples/ArrayQueue/ArrayQueue.ino index 64d1a0f..591c41f 100644 --- a/examples/ArrayQueue/ArrayQueue.ino +++ b/examples/ArrayQueue/ArrayQueue.ino @@ -31,7 +31,7 @@ void setup() { * https://www.freertos.org/a00116.html */ arrayQueue=xQueueCreate(10, //Queue length - sizeof(int)); //Queue item size + sizeof(pinReadArray)); //Queue item size if(arrayQueue!=NULL){ // Create task that consumes the queue if it was created. diff --git a/readme.md b/readme.md index 8553edf..79b9846 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,7 @@ If you want to use FreeRTOS on the Renesas family of Arduino like the Arduino UN Read the short blog post on [Arduino FreeRTOS](https://feilipu.me/2015/11/24/arduino_freertos/) to get started. And there is another much older post on using [FreeRTOS with AVR](https://feilipu.me/2011/09/22/freertos-and-libraries-for-avr-atmega/), which may be useful to read too. There are some further posts I've written on [Hackster.IO](https://www.hackster.io/feilipu), but they're essentially the same content. -The canonical source for information is the [FreeRTOS Web Site](https://www.freertos.org/). Within this site, the [Getting Started](https://www.freertos.org/FreeRTOS-quick-start-guide.html) page is very useful. This is the source for FreeRTOS usage (as distinct from installing and using this Arduino Library). +The canonical source for information is the [FreeRTOS Web Site](https://www.freertos.org/). Within this site, the [Beginner's Guide](https://www.freertos.org/Documentation/01-FreeRTOS-quick-start/01-Beginners-guide/00-Overview) is very useful. This is the source for FreeRTOS usage (as distinct from installing and using this Arduino Library). My other [AVRfreeRTOS Sourceforge Repository](https://sourceforge.net/projects/avrfreertos/) or [AVRfreeRTOS Github](https://github.com/feilipu/avrfreertos) has plenty of examples, ranging from [blink](https://sourceforge.net/projects/avrfreertos/files/MegaBlink/) through to a [synthesiser](https://sourceforge.net/projects/avrfreertos/files/GA_Synth/).