Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTillaart committed Jan 19, 2024
1 parent 1b453f4 commit 1a5d057
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ADC081S.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ADC081S::ADC081S(__SPI_CLASS__ * mySPI)


// SOFTWARE SPI
ADC081S::ADC081S(uint8_t data, uint8_t clock)
ADC081S::ADC081S(uint8_t dataIn, uint8_t clock)
{
_data = dataIn;
_clock = clock;
Expand Down
6 changes: 3 additions & 3 deletions ADC081S.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ class ADC081S
// HARDWARE SPI
ADC081S(__SPI_CLASS__ * mySPI = &SPI);
// SOFTWARE SPI
ADC081S(uint8_t data, uint8_t clock);
ADC081S(uint8_t dataIn, uint8_t clock);

void begin(uint8_t select);

uint16_t maxValue();
uint16_t read();
uint16_t maxValue();
uint16_t read();

// speed in Hz
void setSPIspeed(uint32_t speed);
Expand Down

0 comments on commit 1a5d057

Please sign in to comment.