Attachments are accessible only for community members.
Anonymous
Not applicable
Jun 09, 2015
05:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 09, 2015
05:48 PM
How can i make boolean operation without logic gate in component catalog? i want to use only sorce code, but getting error while using "bool". it said "bool undefined identifier"
Labels
- Labels:
-
PSoC 3
5 Replies
Attachments are accessible only for community members.
Anonymous
Not applicable
Jun 09, 2015
05:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 09, 2015
05:59 PM
Jun 09, 2015
06:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 09, 2015
06:12 PM
Keil data types -
Regards, Dana.
Attachments are accessible only for community members.
Anonymous
Not applicable
Jun 09, 2015
06:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 09, 2015
06:37 PM
Jun 09, 2015
10:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 09, 2015
10:19 PM
You can use CYBIT instead of 'bool'.
odissey1
Jun 10, 2015
09:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 10, 2015
09:16 AM
Standard C-Language allows you to define your own types. So a
typedef unsigned char Bool;
and something like
#define FALSE 0
#define TRUE (!FALSE)
will give you some basics. Then you may use all the boolean operators as &&, ||, ! (which are logical AND, OR, NOT)
Bool a, b, X;
X = a & b;
X = (!a || b) && (a || !b);
if(X){...}
Bob