Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Platform #54

Closed
wants to merge 76 commits into from
Closed

Platform #54

wants to merge 76 commits into from

Conversation

egilkv
Copy link
Contributor

@egilkv egilkv commented Nov 17, 2019

I believe the path for avrdude is incorrect. I believe the previous {path} thing worked for me before, but suddenly it stopped working. I believe this change makes it right.

Also, I am not sure if tools.avrdude.path is really used anywhere, but I have left it in nontheless.

egilkv added 30 commits July 28, 2019 13:14
…USARTROUTEA was simply

not correctly coded. Also, handling of true not to C standards (anything not false is true).
which means that one can swop pins without destroying other pin definitions
… 3rd argument

to Serial.begin() specifying the swap set to be used.
…se for Serial.

Should be invoked ahead of begin(). Avoids all the problems of the swap(), and is
also compatible with the ESP8266.
…sed.

It needs to be invoked before the begin(). The TX and RX pin, or only the
TX pin need to be specified. This method is in tune with other Arduino classes,
and is also compatible with the ESP8266. It avoids all the ugliness and
conceptual bugs of the swap().
we keep the global pin definitions MISO,SCK,MOSI,SS. The 48 pin
variant has 3 different pin sets, the UNO has 1 and the others have 2.
natural and also more related to the TX,RX sequence for Serial.
egilkv added 28 commits August 4, 2019 07:18
commit eba45bc34c03ba84b6df907dcb739155d550aacb that really solves
nothing other than adding complexity.
…E_bm reflecting

whether the transmit buffer is empty or not. Before this, half the time, the code
did, half the time it did not.
…n there is

a return statement in the block, so we can remove the unsightly loop control variable.
The little change to routing actually saved 24 bytes of code, so totally worth it
There may be some errors in this merge, to be investigated.

Conflicts:
	README.md
	megaavr/cores/coreX-corefiles/UART.cpp
	megaavr/cores/coreX-corefiles/UART.h
	megaavr/cores/coreX-corefiles/UART_private.h
	megaavr/cores/coreX-corefiles/api/HardwareSerial.h
	megaavr/libraries/Wire/keywords.txt
	megaavr/libraries/Wire/src/Wire.cpp
	megaavr/libraries/Wire/src/Wire.h
	megaavr/libraries/Wire/src/utility/twi.c
	megaavr/platform.txt
so that the value 0 is to LOW, the value 255 is HIGH, and any value inbetween
is a corresponding PWM pulse.
The prevous behaviour was that the range was 0 to 256, which is not in
accordance to the Arduino standard.
@egilkv egilkv closed this Nov 17, 2019
@egilkv egilkv deleted the Platform branch November 17, 2019 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant