| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
reproduction: https://wokwi.com/arduino/projects/306115576172905024
minimal reproduction code:
```cpp
#include <Wire.h>
void setup() {
Serial.begin(115200);
Wire.begin();
Wire.beginTransmission(0x68);
Wire.write( 0x3B);
Wire.endTransmission( false); // <---- Fails after this
auto n = Wire.requestFrom(0x68, 6);
if (n == 6) {
int16_t AcX = Wire.read() << 8 | Wire.read(); // 0x3B (ACCEL_XOUT_H) & 0x3C (ACCEL_XOUT_L)
int16_t AcY = Wire.read() << 8 | Wire.read(); // 0x3D (ACCEL_YOUT_H) & 0x3E (ACCEL_YOUT_L)
int16_t AcZ = Wire.read() << 8 | Wire.read(); // 0x3F (ACCEL_ZOUT_H) & 0x40 (ACCEL_ZOUT_L)
Serial.print( "AcX = "); Serial.print( AcX);
Serial.print( " | AcY = "); Serial.print( AcY);
Serial.print( " | AcZ = "); Serial.print( AcZ);
Serial.println();
} else {
Serial.println( "--------- ERROR ---------");
}
}
void loop() {}
```
|
| | |
|
| |
|
|
|
|
| |
a more versatile alternative to the `onTransfer` callback.
Depracate `onTransfer()`.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
fix #110
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
https://github.blog/2021-02-02-npm-7-is-now-generally-available/#changes-to-the-lockfile
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Removing the interface simplifies the code
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
fix #103
|
| | |
|
| |
|
|
|
|
| |
also refactor timer/GPIO interaction to be more generic.
close #97
|
| |
|
|
| |
also reformat all the code with the new version
|
| | |
|
| |
|
|
| |
fix #102
|
| |\
| |
| | |
chore(deps): bump path-parse from 1.0.6 to 1.0.7
|
| |/
|
|
|
|
|
|
|
|
|
|
|
| |
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
|
| | |
|
| |
|
|
| |
Disabling PWM when a GPIO pin is high will cause the pin to get stuck in high state.
|
| | |
|
| | |
|
| |
|
|
| |
The value will be available immediately to the user program instead of waiting one symbol time before making it available.
|
| | |
|
| |
|
|
| |
fix the calculation of cyclesPerChar, which is used to determine when a USART RX/TX operation is marked complete.
|
| | |
|
| |
|
|
| |
also add `txEnable` and `rxEnable` properties
|
| | |
|
| |
|
|
| |
The ICR (Input Capture Register) only exists for 16-bit timers.
|
| | |
|
| |
|
| |
close #70, #84
|
| | |
|
| |
|
|
|
|
| |
Use a linked list instead of array. This makes the simulator runs almost twice as fast in case of timers with prescaler of 1, e.g. when using the TVout library.
In addition, we use a pool of clock event objects to avoid expensive GCs.
|
| | |
|
| |
|
|
| |
close #94
|
| | |
|
| |\
| |
| | |
chore(deps): bump browserslist from 4.7.3 to 4.16.6
|
| |/
|
|
|
|
|
|
| |
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.7.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.7.3...4.16.6)
Signed-off-by: dependabot[bot] <support@github.com>
|