[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

'serdebugF2' was not declared in this scope RSS feed
Forum Index » tcMenu Arduinio library
Author Message
kirb


Joined: Feb 12, 2022
Messages: 2
Offline
Hi
Trying to get my head around what's going on here.

I'm trying to run a very simply two option menu with a rotary encoder attached.
ESP32 TTGO LoRa V2.1 board.
I just cannot get the compiler past this error:

'serdebugF2' was not declared in this scope
serdebugF2("Did not find adc setting for ", pin);

Connected Encoder to GPIO 2,4,15 (Not using SD card slot)
OLED is on SDA 21, SCL 22 and RST 16

Anyone have any idea what might be happening.
VSC + PlatformIO on a Mac running Catalina.

UPDATE:
Sacked off VSC&PIO and tried running it in Arduino IDE.
Same problem - however, in there I downgraded the IOAbstraction from v2.1.0 to 2.0.6 and it now compiles.
However, I did need to change my encoder pin assignment as the original config would not allow for upload. (Pin 2 had a pull up resistor on it! lol)

Would still like to get to the bottom of it not working in VSC, and if there's an update to IOAbs? Or am I doing something wrong?
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
What happened is that SimpleCollections.cpp and .h got moved into their own project as they were very useful outside of IoAbstraction. However, there was an unintended side effect of this that I've fixed today, that was that it used to bring in IoLogging.h

I've done a patch release of tcMenu today that should fix this, I'm going through patch releasing all the libraries now to ensure they are all up-to-date in platformIO and Arduino library manager.

Hopefully within a few hours 2.2.6 of tcMenu lib will turn up in all places and fix the problem ( I think it's already in platformio now ).
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
Just finished doing a patch release for all the main libraries to ensure that what I've been testing with recently is released. Unfortunately, this patch release got caught in another change, that for now I have rolled back so I could make this patch release.

IoAbstraction - 2.1.1
TaskManagerIO - 1.3.1
tcMenu - 2.2.6
SimpleCollections - 1.1.0

With these versions everything should work together again. Sorry, this should really have been fixed a lot quicker.
kirb


Joined: Feb 12, 2022
Messages: 2
Offline
Yep - that fixed the problem - and compiles in VSCode now too.

Thankyou.
 
Forum Index » tcMenu Arduinio library
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.