Skip to content

Commit

Permalink
correct deprecated message
Browse files Browse the repository at this point in the history
  • Loading branch information
leollo98 authored Jan 30, 2025
1 parent 48f01e0 commit 1375268
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions AD7606.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ AD7606_ESPI::AD7606_ESPI(int DB7, int DB8, int RD, int CS, int CONVSTA, int CONV
digitalWrite(_RD, 1);
reset();
};
[[deprecated( Use AD7606_ESPI insted )]]
[[deprecated( "Use AD7606_ESPI insted" )]]
AD7606_Serial::AD7606_Serial(int DB7, int DB8, int RD, int CS, int CONVSTA, int CONVSTB, int BUSY, int RESET)
{
_RESET = RESET;
Expand All @@ -204,7 +204,7 @@ AD7606_Serial::AD7606_Serial(int DB7, int DB8, int RD, int CS, int CONVSTA, int
digitalWrite(_RD, 1);
reset();
};
[[deprecated( Use AD7606_ESPI insted )]]
[[deprecated( "Use AD7606_ESPI insted" )]]
AD7606_Serial::AD7606_Serial(int DB7, int DB8, int RD, int CS, int CONVSTA, int CONVSTB, int BUSY, int RESET,int RANGE)
{
_RESET = RESET;
Expand All @@ -231,7 +231,7 @@ AD7606_Serial::AD7606_Serial(int DB7, int DB8, int RD, int CS, int CONVSTA, int
digitalWrite(_RD, 1);
reset();
};
[[deprecated( Use AD7606_ESPI insted )]]
[[deprecated( "Use AD7606_ESPI insted" )]]
AD7606_Serial::AD7606_Serial(int DB7, int DB8, int RD, int CS, int CONVSTA, int CONVSTB, int BUSY, int RESET,int OS0,int OS1,int OS2)
{
_RESET = RESET;
Expand Down Expand Up @@ -262,7 +262,7 @@ AD7606_Serial::AD7606_Serial(int DB7, int DB8, int RD, int CS, int CONVSTA, int
digitalWrite(_RD, 1);
reset();
};
[[deprecated( Use AD7606_ESPI insted )]]
[[deprecated( "Use AD7606_ESPI insted" )]]
AD7606_Serial::AD7606_Serial(int DB7, int DB8, int RD, int CS, int CONVSTA, int CONVSTB, int BUSY, int RESET,int OS0,int OS1,int OS2,int RANGE)
{
_RESET = RESET;
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ The total time with Vdrive between 3.3V to 5.25V is 5µs, with Vdrive equal to 2
## Future ideas & improvements

- Real SPI mode
- Reset function


## Examples
Expand Down

0 comments on commit 1375268

Please sign in to comment.