Skip to content

Commit

Permalink
Fix initialize 8080 and 16 bit
Browse files Browse the repository at this point in the history
  • Loading branch information
leollo98 authored Feb 27, 2024
1 parent 7db6313 commit fdcf3d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ This library should work for the devices mentioned below.
To initialize the library you must call constructor as described below.

- **AD7606_Serial( DB7, DB8, RD, CS, CONVSTA, CONVSTB, BUSY, RESET, OS0, OS1, OS2, RANGE)** Constructor for Serial comunication with all device ports, and optional Over Sampling and Range.
- **AD7606_8080( DB7, DB8, RD, CS, CONVSTA, CONVSTB, BUSY, RESET, OS0, OS1, OS2, RANGE)** Constructor for Parallel byte comunication with all device ports, and optional Over Sampling and Range.
- **AD7606_16( DB7, DB8, RD, CS, CONVSTA, CONVSTB, BUSY, RESET, OS0, OS1, OS2, RANGE)** Constructor for Parallel 2 bytes comunication with all device ports, and optional Over Sampling and Range.
- **AD7606_8080( DB0_DB7, RD, CS, CONVSTA, CONVSTB, BUSY, RESET, OS0, OS1, OS2, RANGE)** Constructor for Parallel byte comunication with all device ports, and optional Over Sampling and Range.
- **AD7606_16( DB0_DB15, RD, CS, CONVSTA, CONVSTB, BUSY, RESET, OS0, OS1, OS2, RANGE)** Constructor for Parallel 2 bytes comunication with all device ports, and optional Over Sampling and Range.

After construction the **setOversampling(x)** can be called with the number of samples in 2^x form, with limit of 6, or 64 samples.
The function **setRange(bool)** can be used to set the limits to 5V (+/- 2.5V) with false or 10V (+/- 5V) with true.
Expand Down Expand Up @@ -83,4 +83,4 @@ The total time with Vdrive between 3.3V to 5.25V is 5µs, with Vdrive equal to 2

## Examples

See [examples](https://github.com/leollo98/AD7606/tree/main/examples).
See [examples](https://github.com/leollo98/AD7606/tree/main/examples).

0 comments on commit fdcf3d2

Please sign in to comment.