# Error with new notecard library

**URL:** <https://discuss.blues.com/t/error-with-new-notecard-library/1864>\
**Category:** Firmware\
**Created:** [December 26, 2023, 2:17pm UTC](https://discuss.blues.com/t/error-with-new-notecard-library/1864 "2023-12-26T14:17:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pius4109](https://avatars.discourse-cdn.com/v4/letter/p/e0b2c6/32.png) [@Pius4109](https://discuss.blues.com/u/Pius4109)\
**Post date:** [December 26, 2023, 2:17pm UTC](https://discuss.blues.com/t/error-with-new-notecard-library/1864/1 "2023-12-26T14:17:44Z")

</div>

There seems to be an error with the latest version of the notecard library, I keep getting the error D5 is not declared and some other errors but when I go back to version 1.4.5 the errors cease.

I am using m5 stack esp32 s2 stamp, framework Arduino. I tried both Adafruit Feather s3 no PSRAM and DF robot firebettle S3 board options from the board manager but still got the same error.

---

<div class="post-metadata">

**Author:** ![zfields](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/zfields/32/29_2.png) [@zfields](https://discuss.blues.com/u/zfields)\
**Post date:** [December 26, 2023, 7:31pm UTC](https://discuss.blues.com/t/error-with-new-notecard-library/1864/2 "2023-12-26T19:31:23Z")

</div>

Hi @Pius4109,

What version of the Notecard library are you currently using?

We recently added some new defines to support our unit-tests and we think there may be a conflict.

Thanks for reporting,  
Zak

---

<div class="post-metadata">

**Author:** ![zfields](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/zfields/32/29_2.png) [@zfields](https://discuss.blues.com/u/zfields)\
**Post date:** [December 26, 2023, 7:44pm UTC](https://discuss.blues.com/t/error-with-new-notecard-library/1864/3 "2023-12-26T19:44:34Z")

</div>

@Pius4109

I’ve released a new version of the Blues Wireless Notecard library (v1.5.3), that will eliminate the new testing `#define`.

It should drop in about 8-12 hours. Once it is released, please give it a try and see if it fixes your compilation issue.

Thanks again,  
Zak

---

<div class="post-metadata">

**Author:** ![Pius4109](https://avatars.discourse-cdn.com/v4/letter/p/e0b2c6/32.png) [@Pius4109](https://discuss.blues.com/u/Pius4109)\
**Post date:** [December 26, 2023, 7:44pm UTC](https://discuss.blues.com/t/error-with-new-notecard-library/1864/4 "2023-12-26T19:44:57Z")

</div>

The latest one. 1.5.2

---

<div class="post-metadata">

**Author:** ![zfields](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/zfields/32/29_2.png) [@zfields](https://discuss.blues.com/u/zfields)\
**Post date:** [December 26, 2023, 7:49pm UTC](https://discuss.blues.com/t/error-with-new-notecard-library/1864/5 "2023-12-26T19:49:28Z")

</div>

Yeah, shoot. We had a potential fix setting in a PR that we forgot to merge before the holiday weekend.

I went ahead and merged it just now, then released a new version (v1.5.3). Hopefully, it will get pulled into the Arduino Library Manger soon.

Once you are able to test the fix, we would appreciate if you could let us know if it worked or not.

Thanks again!  
Zak

---

<div class="post-metadata">

**Author:** ![zfields](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/zfields/32/29_2.png) [@zfields](https://discuss.blues.com/u/zfields)\
**Post date:** [December 27, 2023, 2:11am UTC](https://discuss.blues.com/t/error-with-new-notecard-library/1864/6 "2023-12-27T02:11:15Z")

</div>

I just checked, and v1.5.3 is now available from the Arduino Library Manager.
