Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skulblakka/at24c256
Simple platformio library for AT24C256 EEPROM supporting page-writes and ACK-polling
https://github.com/skulblakka/at24c256
arduino cpp eeprom library microchip platformio
Last synced: 15 days ago
JSON representation
Simple platformio library for AT24C256 EEPROM supporting page-writes and ACK-polling
- Host: GitHub
- URL: https://github.com/skulblakka/at24c256
- Owner: skulblakka
- License: mit
- Created: 2024-05-17T23:29:16.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-05-22T11:13:50.000Z (8 months ago)
- Last Synced: 2024-10-16T11:31:15.851Z (3 months ago)
- Topics: arduino, cpp, eeprom, library, microchip, platformio
- Language: C++
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AT24C256
Simple library for accessing AT24C256 EEPROM from Microchip.
The library supports page-write and ACK-polling for improved (write) performance.
## Usage
This library is intended to simply write binary data into the EEPROM. It doesn't define any datatypes or memory organization.Check [AT24C256.h](include/AT24C256.h) for the full documentation.
Make sure to check [Examples](examples) as well.## Compatibility
The library was tested with an MKRZero but should support all Boards supporting the official Wire interface.If the interface uses a transmit buffer of less than 256 bytes the `AT24C256_READ_CHUNK` define must be adjusted accordingly.
Additionally if the transmit buffer is less than 64 bytes the `AT24C256_PAGE_MASK` must be adjusted as well.
These defines can also be used to support different EEPROMs from the AT24CXXX series.
## License
```
MIT LicenseCopyright (c) 2024 skulblakka
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```