Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Delay() dont function. #4

Open
kostyamat opened this issue Jun 26, 2019 · 2 comments
Open

Delay() dont function. #4

kostyamat opened this issue Jun 26, 2019 · 2 comments

Comments

@kostyamat
Copy link

kostyamat commented Jun 26, 2019

Hey. I compiled a sketch that worked perfectly on the original Atmega328. I see that the delay() function does not work at all, and millis() behaves very strangely, instead of the interval of 15 seconds, I get about 30. How can I properly configure the MCU?

@LGTMCU
Copy link
Owner

LGTMCU commented Jun 27, 2019

This is not a fully comptible version. Timer1 is now configured for PWM functions, I have configure timer2 for time base generation (which is timer1 in original arduino).
But I have configure timer2 to keep the comptiblity. I will do some tests.
P.S, if you do not care about PWM extension, you can try a more compatible version attahced.

Larduino_HSP_v3.6c.zip

pfeerick added a commit to pfeerick/Larduino_BSP that referenced this issue Aug 3, 2019
Odd 3.6c release of core that was made available in a comment on the LTGMCU github LGTMCU#4
pfeerick added a commit to pfeerick/Larduino_BSP that referenced this issue Aug 3, 2019
3.6c release of core that was made available in a comment on the LTGMCU github LGTMCU#4
@xxswyb
Copy link

xxswyb commented Jan 27, 2025

i use Larduino_HSP_v3.6c.zip,but delay() still dont work.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants