Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pu2clr committed Nov 14, 2024
1 parent 9a60c5f commit 0c87b9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/SI4844_ESP8266_POC/SI4844_ESP8266_POC.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
*
* SI4844 and ESP8266 connections
*
* | SI4844 pin | Arduino pin | Description |
* | SI4844 pin | ESP8266 pin | Description |
* | --------- | ------------ | ------------------------------------------------- |
* | 2 | GPIO2 | Interrupt pin |
* | 15 | GPIO12 | Regurlar digital pin used to RESET control |
* | 15 | GPIO15 | Regurlar digital pin used to RESET control |
* | 16 | GPIO4(SDA) | I2C bus (Data) |
* | 17 | GPIO5(SCL) | I2C bus (Clocl) |
*
Expand Down
4 changes: 3 additions & 1 deletion src/SI4844.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,14 @@ volatile static bool data_from_device;
* @details You can control the interrupt process via your sketch intead of this library.
* @see setStatusInterruptFromDevice, getStatusInterruptFromDevice, setup
*/
#ifdef ESP8266
IRAM_ATTR
#endif
static void interrupt_hundler()
{
data_from_device = true;
}


/**
* @brief SI4844 Class
*
Expand Down

0 comments on commit 0c87b9c

Please sign in to comment.