-
Notifications
You must be signed in to change notification settings - Fork 23
Comparing changes
Open a pull request
base repository: stickbreaker/arduino-esp32
base: v.0.2.0
head repository: stickbreaker/arduino-esp32
compare: master
- 15 commits
- 9 files changed
- 1 contributor
Commits on Mar 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a0db0cc - Browse repository at this point
Copy the full SHA a0db0ccView commit details
Commits on Mar 16, 2018
-
Create Destructor for Wire Class.
This destructor allows reassigning either hardware peripheral to the default Wire() objects. sequence: Wire.~TwoWire(); Wire = TwoWire(peripherial); // peripheral is either 0 or 1 Wire.begin(sda,scl); // sda, scl are the pins to use, when using peripheral 1, YOU MUST specifiy the pins, there ARE NO DEFAULT VALUES for peripheral 1.
Configuration menu - View commit details
-
Copy full SHA for c571e1b - Browse repository at this point
Copy the full SHA c571e1bView commit details -
These changes allow both i2c peripherals to be use, if a TwoWire() object is destroyed, the associated peripheral is reset and powered down.
Configuration menu - View commit details
-
Copy full SHA for dd0ac4b - Browse repository at this point
Copy the full SHA dd0ac4bView commit details
Commits on Mar 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 5d2e3f4 - Browse repository at this point
Copy the full SHA 5d2e3f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec01623 - Browse repository at this point
Copy the full SHA ec01623View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbb85f6 - Browse repository at this point
Copy the full SHA fbb85f6View commit details
Commits on Apr 13, 2018
-
Preserve Custom SDA,SCL and Frequency when calling Wire.begin()
This change will not reset the SCL, SDA and Frequency values to their default value if `Wire.begin()` is call without any parameters. Arduino libraries that use `Wire()` usually have a call to `Wire.begin()` inside their initialization call. Without this change, any custom pin assignments are lost whenever `Wire.begin()` is called.
Configuration menu - View commit details
-
Copy full SHA for da6be57 - Browse repository at this point
Copy the full SHA da6be57View commit details -
Preserve custome SCL, SDA and Frequency when Wire.begin() called
Changed how default parameters are interpreted. Now calling `Wire.begin()` without parameters will reuse the current values instead of resetting them to the default values. This change was prompted when it was found than custom pin assignments were being lost. The standard Arduino library practice is to issue a `Wire.begin()` call inside each library that uses `Wire()`. If a custom pin assignment was used, when these libraries were init'd, they caused a failure when they re-assigned the SDA and SCL pins. Changing Frequency back to 100khz was not a fatal problem.
Configuration menu - View commit details
-
Copy full SHA for 9b1c895 - Browse repository at this point
Copy the full SHA 9b1c895View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68185a0 - Browse repository at this point
Copy the full SHA 68185a0View commit details -
Merge pull request #27 from stickbreaker/Wire-Destructor
Create Destructor for Wire Class. Preserve Custom SCL, SDA across `Wire.begin()` default calls.
Configuration menu - View commit details
-
Copy full SHA for fc33cc0 - Browse repository at this point
Copy the full SHA fc33cc0View commit details
Commits on May 20, 2018
-
Fix error msg, Compiler Warning
Time out recover was generating a confusing error message when DEBUG level was set, Clarify meaning. Thanks to @valki2 When Arduino 1.8.5 configured for maximum compiler warning, my sloppy code generates multiple errors. :grimace: Thanks @PicoEmma I fixed most of the warnings, but I haven't figure out how to clear one type of them. I use a structure to decode a peripheral memory register, the compiler reports it as an: > C:\Users\e\Documents\Arduino\hardware\espressif\esp32\cores\esp32\esp32-hal-i2c.c: In function 'dumpCmdQueue': C:\Users\e\Documents\Arduino\hardware\espressif\esp32\cores\esp32\esp32-hal-i2c.c:399:17: warning: variable 'c' set but not used [-Wunused-but-set-variable] I2C_COMMAND_t c; ^ Chuck.
Configuration menu - View commit details
-
Copy full SHA for a396ffc - Browse repository at this point
Copy the full SHA a396ffcView commit details -
5
Configuration menu - View commit details
-
Copy full SHA for 9cb06b9 - Browse repository at this point
Copy the full SHA 9cb06b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88a51e1 - Browse repository at this point
Copy the full SHA 88a51e1View commit details
Commits on May 24, 2018
-
xEventGroupclearBits() does not return an error code, just the prior values of the flags.
Configuration menu - View commit details
-
Copy full SHA for 0db1b53 - Browse repository at this point
Copy the full SHA 0db1b53View commit details
Commits on Jul 2, 2018
-
Remove confusing Debug message
If Core Debug Level is at DEBUG, a confusing debug message will be emitted if the I2C transaction takes longer complete than the calculated minimum time. This original debug message was just to prove that this new i2c code could correctly handle SCL stretching or interrupt latency issues. This delay is not a problem, or an error. Usually it is caused by a higher priory interrupt starving the i2c ISR. Usually WiFi is the culprit. As long of this delay is within the configured timeout (by default 50ms, or can be set with Wire.setTimeOut(milliseconds);) no problem will occur and the transaction will successfully complete. Chuck.
Configuration menu - View commit details
-
Copy full SHA for 2a2e699 - Browse repository at this point
Copy the full SHA 2a2e699View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v.0.2.0...master