# Compile error: '(functionName)' was not declared in this scope

**URL:** <https://forum.arduino.cc/t/compile-error-functionname-was-not-declared-in-this-scope/1054147>\
**Category:** Programming\
**Created:** [November 16, 2022, 3:39am UTC](https://forum.arduino.cc/t/compile-error-functionname-was-not-declared-in-this-scope/1054147 "2022-11-16T03:39:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [November 16, 2022, 3:48am UTC](https://forum.arduino.cc/t/compile-error-functionname-was-not-declared-in-this-scope/1054147/2 "2022-11-16T03:48:30Z")

</div>

I (and many other members) will not download and unzip a zip file from an untrusted source. It is just too dangerous and a pain in the tutu. There is a way to properly post code. **[Please read the forum guidelines](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966#posting-code-and-common-code-problems)** to see how to properly post code and some information on making a good post.

Use the [IDE autoformat tool](https://www.tutorialspoint.com/auto-format-code-in-arduino-ide) (ctrl-t or Tools, Auto format) before posting code in code tags.

Please include the **entire error message**. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.

---

_[View the full topic](https://forum.arduino.cc/t/compile-error-functionname-was-not-declared-in-this-scope/1054147)._
