AndrewMascolo / CountUpDownTimer

MIT License
28 stars 20 forks source link

Teensy compatibility #15

Open Maoartland opened 7 years ago

Maoartland commented 7 years ago

First of all, thank you for this library, very helpful!

I have been using it on various board without issue. My latest project required the use of teensy board (3.2) and have compiling issues.

error: expected unqualified-id before numeric constant unsigned int _S = (seconds / 60), _M = (minutes / 60);

error: '_M' was not declared in this scope if(_M) hours += _M; ^ I have very limited programming skills and could not find a solution.. Would you be willing to have a look at this issue and maybe give some pointers on a possible solution?

Thanks in advance Regards

AndrewMascolo commented 7 years ago

I will get back to you with a answer

Sent from my iPhone

On Oct 24, 2016, at 5:16 AM, Maoartland notifications@github.com wrote:

First of all, thank you for this library, very helpful!

I have been using it on various board without issue. My latest project required the use of teensy board (3.2) and have compiling issues.

error: expected unqualified-id before numeric constant unsigned int _S = (seconds / 60), _M = (minutes / 60);

error: '_M' was not declared in this scope if(_M) hours += _M; ^ I have very limited programming skills and could not find a solution.. Would you be willing to have a look at this issue and maybe give some pointers on a possible solution?

Thanks in advance Regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Maoartland commented 7 years ago

Thanks in advance Regards

On 25 Oct 2016, at 19:13, AndrewMascolo notifications@github.com wrote:

I will get back to you with a answer

Sent from my iPhone

On Oct 24, 2016, at 5:16 AM, Maoartland notifications@github.com wrote:

First of all, thank you for this library, very helpful!

I have been using it on various board without issue. My latest project required the use of teensy board (3.2) and have compiling issues.

error: expected unqualified-id before numeric constant unsigned int _S = (seconds / 60), _M = (minutes / 60);

error: '_M' was not declared in this scope if(_M) hours += _M; ^ I have very limited programming skills and could not find a solution.. Would you be willing to have a look at this issue and maybe give some pointers on a possible solution?

Thanks in advance Regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AndrewMascolo/CountUpDownTimer/issues/15#issuecomment-256116134, or mute the thread https://github.com/notifications/unsubscribe-auth/APmUV34zpkrTeIy7Ms9OfS9tHRMlzBbeks5q3kbPgaJpZM4Kej75.

AndrewMascolo commented 7 years ago

Redownload and try it again. I changed some variables, hopefully they fix the issue

Sent from my iPhone

On Oct 25, 2016, at 2:55 PM, Maoartland notifications@github.com wrote:

Thanks in advance Regards

On 25 Oct 2016, at 19:13, AndrewMascolo notifications@github.com wrote:

I will get back to you with a answer

Sent from my iPhone

On Oct 24, 2016, at 5:16 AM, Maoartland notifications@github.com wrote:

First of all, thank you for this library, very helpful!

I have been using it on various board without issue. My latest project required the use of teensy board (3.2) and have compiling issues.

error: expected unqualified-id before numeric constant unsigned int _S = (seconds / 60), _M = (minutes / 60);

error: '_M' was not declared in this scope if(_M) hours += _M; ^ I have very limited programming skills and could not find a solution.. Would you be willing to have a look at this issue and maybe give some pointers on a possible solution?

Thanks in advance Regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AndrewMascolo/CountUpDownTimer/issues/15#issuecomment-256116134, or mute the thread https://github.com/notifications/unsubscribe-auth/APmUV34zpkrTeIy7Ms9OfS9tHRMlzBbeks5q3kbPgaJpZM4Kej75.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Maoartland commented 7 years ago

Thank you Andrew! I don't have a board with me just now but it compiles fine! Regards

Maoartland commented 7 years ago

Just to confirm it does run great on Teensy 3.2 Thanks again