Skip to main content
MFran.4
Senior
Jul 7, 2021 7:06 AM UTC
Solved

CubeMonitor still not seeing boolean values

Hello!

I already seen the post where it says that version 1.1.0 solves this problem. I'm using version 1.2.0 and booleans still not appear. Converting them to uint8_t obviously works but I read that this thing was fixed so maybe I'm missing something.

Thank you all!

Mirco

This topic has been closed for replies.
MFran.4
MFran.4Best answer
Senior
Oct 20, 2021 12:11 PM UTC

Just saw that, in stdbool.h, as I'm doing a project in C++, the stdbool's "true" and "false" are greyed out. Instead I get this:

/* Supporting _Bool in C++ is a GCC extension. */

#define _Bool   bool

4 replies

Richard.Chvr
ST Technical Moderator
Aug 3, 2021 11:10 AM UTC

Hello @Community member​ ,

Did you define your own boolean type or did you use:

#include <stdbool.h>

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
MFran.4
MFran.4Author
Senior
Aug 24, 2021 6:06 AM UTC

Hi! I included stdbool.h as you wrote.

MFran.4
MFran.4Author
Senior
Oct 20, 2021 12:04 PM UTC

Hi! Any hints? I've changed project (so it's another flow) and I can't still see booleans. Still using CubeMonitor 1.2.0.

MFran.4
MFran.4AuthorBest answer
Senior
Oct 20, 2021 12:11 PM UTC

Just saw that, in stdbool.h, as I'm doing a project in C++, the stdbool's "true" and "false" are greyed out. Instead I get this:

/* Supporting _Bool in C++ is a GCC extension. */

#define _Bool   bool