Attachments are accessible only for community members.
Aug 26, 2020
06:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 26, 2020
06:20 AM
Why will this simple switch typing not work ? Project attached.
Note the first error goes away in the switch construct if I eliminate "case 4 :"
Regards, Dana.
Solved! Go to Solution.
Labels
- Labels:
-
PSoC Creator Software
1 Solution
Aug 26, 2020
12:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 26, 2020
12:47 PM
There is a semicolon missing after the colon of case 4
there is a "}" missing at the end to close the main()
Happy coding
Bob
2 Replies
Aug 26, 2020
12:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 26, 2020
12:47 PM
There is a semicolon missing after the colon of case 4
there is a "}" missing at the end to close the main()
Happy coding
Bob
Aug 27, 2020
04:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 27, 2020
04:07 AM
Thanks Bob, feel like idiot missing the for() terminating bracket.
Did not realize a CASE statement had to have code following it. If I place a break;
after last case that error goes away.
Regards, Dana.