Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

[BUG] Clock Delays is not working as expected #119

Open
pavly-gerges opened this issue Jul 28, 2022 · 1 comment
Open

[BUG] Clock Delays is not working as expected #119

pavly-gerges opened this issue Jul 28, 2022 · 1 comment
Assignees
Labels
bug Something isn't working build Build script related stuff discussion Discussed issues documentation Improvements or additions to documentation
Milestone

Comments

@pavly-gerges
Copy link
Member

[Clock Issues]

_delay_ms(int) from util/delay.h isn't working as expected on arduino UNO (atmega328p) w/ 16MHZ external crystal on the HelloBlink example.

Steps to fix this:

  1. Define a F_CPU to auto support external and internal resonators.
  2. Add -O2 for optimizations level 2 for the avr-gcc.
  3. Document the changes in the README.md file.
@pavly-gerges pavly-gerges added bug Something isn't working build Build script related stuff discussion Discussed issues labels Jul 28, 2022
@pavly-gerges pavly-gerges added this to the Basic AVR milestone Jul 28, 2022
@pavly-gerges pavly-gerges added the documentation Improvements or additions to documentation label Jul 28, 2022
@pavly-gerges
Copy link
Member Author

For Github, you can use this wiki on how to do a PR:
https://github.com/Google-Developers-Sohag/Github-Training/wiki/How-to-do-a-PR

@pavly-gerges pavly-gerges pinned this issue Jul 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working build Build script related stuff discussion Discussed issues documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants