Jump to content

Recommended Posts

I hope this is the right place to ask this but I’m having a problem with unsigned long.  According to the Energia reference it should go to 4,294,967,295.  But my unsigned long value is overflowing at 65535 same as unsigned int.  I’m using it as a set point for millies based on a pot so I’m limited to about 60 seconds.  Anything over 65535 wraps back around to zero giving me a time of what it’s set to minus 60 seconds.  I’m sure there’s a work around but everything I can find says unsigned long should work.

please help,


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...