This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
2
Enums in circuitpython 8
Post Body
Hi
I'm trying to use enums on a 'rpi pico w' as follows :
Import enum
Class code(Enum): a = 1 b = 2 c = 3
But I get the error that there is no module 'enum''.
Does anyone know I can create enumerated constants ? I haven't found anything on the web.
Thanks in advance.
Author
Account Strength
70%
Account Age
3 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,474
Link Karma
353
Comment Karma
1,093
Profile updated: 1 day ago
Posts updated: 3 days ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/circuitpyth...