ArduinoCore-avr
ArduinoCore-avr copied to clipboard
The Official Arduino AVR core
The ATmega328P microcontroller, the chip that raised the origin of Arduino (Diecemila, Duemilanove, UNO, Nano, Mini, BT, Fio, LilyPad, Pro...), also in different kits and numerous community boards, is marked...
https://github.com/arduino/ArduinoCore-avr/blob/master/libraries/Wire/src/utility/twi.c#L139 doesn't calculate/change the TWSR prescaler, which means that we can't get below approx 16mhz / 255*2 = 30KHz i'm happy to submit a PR, would look like this (TWSR...
Hi, This is kinda an open question as some code review feedback. Disclaimer: I'm not a heavy Arduino user, I could miss some code, some forum posts, ... My feedback...
resolves #205 This pull request allows using the same pin for RX/TX in half-duplex mode. By using `listen` and `stopListening` one can switch between reading and writing. Calling `write` while...
Hi, Just some feedback and an open question of a possible redesign of ReadBytesUntil functions. ReadBytesUntil should have a return state that means "we detected your terminator character but there...
Ref: https://github.com/avrdudes/avrdude/issues/1043 Ref: https://support.arduino.cc/hc/en-us/articles/4408887452434-Flash-USB-to-serial-firmware-in-DFU-mode There is a FW issue with the ATmega16U2 DFU firmware (or the combined DFU+USB serial FW) here. The issue is that it is not able to...
When using an Arduino Mega 2560 R3 is connected to a Raspberry Pi running the U-Boot boot loader, it crashes the boot loader during USB enumeration: ``` Starting the controller...
(This is not an bug but an improvement request). Tone works fine with passive buzzers that beep when the pin is HIGH : https://github.com/arduino/ArduinoCore-avr/blob/master/cores/arduino/Tone.cpp#L494 I have a passive buzzers that...
Here: [u8 timeout = 250](https://github.com/arduino/ArduinoCore-avr/blob/bc792a9a716289249fa5f2f67be3ee8ba6507d6c/cores/arduino/USBCore.cpp#L280) 250ms is quite large for my application. Could this be moved to a compile time define? Perhaps something like this? ``` #ifndef USB_SEND_TIMEOUT #define USB_SEND_TIMEOUT...