ee4d38aac7
Improved determineNoWrite, removed static references to Serial ( #63 )
...
* Improved determineNoWrite, now works with larger EEPROMS. tested with AT24C02, AT24C23 and AT24C256
* Added loop exit, updated license and changelog
---------
Co-authored-by: Roeland Kluit <roeland@kluit.net >
2024-01-02 16:07:19 +01:00
Rob Tillaart and GitHub
42cdf1a95e
add determineSizeNoWrite() ( #62 )
...
- add **uint32_t determineSizeNoWrite()**, kudos to roelandkluit
- add example
- minor edits
2023-12-14 11:56:20 +01:00
0248508109
Added read only function to determine device size. ( #61 )
...
Co-authored-by: Roeland Kluit <roeland@kluit.net >
2023-12-14 11:26:14 +01:00
Rob Tillaart and GitHub
ff21bd6cdc
simplify begin() ( #60 )
...
- simplify **begin()**, remove setting Wire pins from library.
- add **getAddress()**
- update readme.md
- update examples
2023-11-25 13:19:42 +01:00
Emmett Brown and GitHub
54cf6bee85
Prevent eternal loop in_eeprom::setPageSize with size 128 ( #59 )
2023-11-20 19:30:09 +01:00
Rob Tillaart and GitHub
e7c5075c36
add WP writeProtect support ( #58 )
...
- solve #57 add support for WriteProtectPin
- add writeProtectPin as optional parameter in **begin()**
- add **bool hasWriteProtectPin()**
- add **void allowWrite()**
- add **void preventWrite()**
- add **void setAutoWriteProtect(bool b)**
- add **bool getAutoWriteProtect()**
- optimized **waitEEReady()**
- update keywords.txt
- update readme.md
2023-09-08 11:31:51 +02:00
Rob Tillaart and GitHub
a13ec203ef
fix #55 , redo #53 ( #56 )
...
- fix #55 ==> redo fix #53
- add test to detect **MBED** and **RP2040**
- adjust **I2C_BUFFERSIZE** for RP2040 to 128.
- update readme.md
2023-05-11 12:26:57 +02:00
Rob Tillaart and GitHub
c4400ea101
fix #53 PICO_RP2040 support ( #54 )
...
- fix #53 support RP2040 (kudos to jotamachuca)
- move code from .h to .cpp
- make I2C_WRITEDELAY overridable
- minor edits
2023-05-02 13:02:17 +02:00
Rob Tillaart and GitHub
d26182c753
add setDeviceSize() setPageSize() ( #51 )
...
- add setDeviceSize()
- add setPageSize()
- use setDeviceSize() in constructor to force power of 2.
- update unit test
- update GitHub actions
- update license
- update readme.md
- minor edits
2023-01-12 17:49:13 +01:00
Rob Tillaart and GitHub
8f530b6d8f
fix #48 constructor ( #49 )
...
* fix #48
2022-12-03 12:37:49 +01:00
Rob Tillaart and GitHub
4db0ca9815
add changelog.md + optimize yield() calls ( #47 )
...
* add changelog.md
* optimize yield() calls
* update readme.md
2022-10-31 16:51:06 +01:00
Rob Tillaart and GitHub
a39c7a1bc2
update documentation + minor edits ( #43 )
...
* update documentation + minor edits
* add verify performance test sketch
2022-06-12 12:42:42 +02:00
Rob Tillaart and GitHub
f80f4eea31
add write with verify functions ( #41 )
...
* add write with verify functions
2022-06-03 12:52:34 +02:00
Rob Tillaart and GitHub
1a6461a7dd
update library.json, license, minor edits ( #37 )
2021-12-19 20:01:34 +01:00
Rob Tillaart and GitHub
5adbe66a14
Develop ( #35 )
...
* build-CI + badges
* add setExtraWriteCycleTIme() to adjust some timing.
2021-11-04 16:52:26 +01:00
Rob Tillaart and GitHub
1cd0bdaf07
1.5.0 fix memory address for 24LC04/08/16 ( #29 )
...
* 1.5.0 #28 fix addressing 24LC04/08/16
2021-07-01 10:05:27 +02:00
Rob Tillaart and GitHub
0e3c2e26c7
adjust buffer size AVR / ESP +rename ( #26 )
2021-05-05 14:09:36 +02:00
Rob Tillaart and GitHub
d0f8385bc4
1.4.2 add updateBlock() ( #23 )
2021-01-31 16:27:13 +01:00
Rob Tillaart and GitHub
692f1a3004
fix #21 addressing ST m24C08 et al + WireN support ( #22 )
...
* fix #21 addressing ST m24C08 et al + WireN support
2021-01-29 10:53:04 +01:00
Rob Tillaart and GitHub
2d60816fe8
1.4.0 ( #20 )
...
* 1.4.0
2021-01-28 13:19:24 +01:00
Rob Tillaart and GitHub
63faf48a13
Fix determineSize + some refactor ( #16 )
...
* 1.3.2 fix determineSize + isConnected()
* update readme.md
2021-01-19 11:41:40 +01:00
Tomas Hübner and GitHub
e0eba70c85
Test cases for I2C_eeprom initialization ( #15 )
...
Added test cases for I2C_eeprom initialization to verify that the page size is chosen correctly and that it sets the address size properly.
Fixed a bug with the larger eeprom sizes having incorrect intervals.
2021-01-08 14:46:57 +01:00
Tomas Hübner and GitHub
98235dfd82
Addition of a utility class for cycling writes ( #8 )
...
I2C_eeprom
* Added page sizes for larger memory sizes (still deriving from the ATxxCxxx datasheets)
I2C_eeprom_cyclic_store
* Add the cyclic store implementation.
* Add an example for cyclic use of EEPROM.
* Update keywords.txt for syntax highlighting the new class and it's members.
* Changed signature of begin() to match page size data type.
* Add getMetrics() to have an indication about lifetime
2021-01-04 08:33:22 +01:00
Rob Tillaart and GitHub
5e12716b9c
add example ( #7 )
...
Added updateByte() + example + versie 1.3.1
2020-12-22 13:22:44 +01:00
rob tillaart
c9e625251e
1.3.0 release
2020-06-18 17:21:00 +02:00