Skip to content

Commit 12853ac

Browse files
committed
Update README.md
1 parent 80db23d commit 12853ac

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
Two-Wire Serial EEPROM Access Library for RaspberryPi.
44

5-
I forked from here.
6-
https://www.richud.com/wiki/Rasberry_Pi_I2C_EEPROM_Program
5+
I forked from [here](https://www.richud.com/wiki/Rasberry_Pi_I2C_EEPROM_Program)
76
eeprog-0.7.6-tear5.tar.gz
87

98
---
@@ -63,17 +62,19 @@ Default i2c-address is 0x50.
6362

6463
# API
6564

66-
// Open device
67-
int eeprom_open(char *dev_fqn, int i2c_addr, int bits, int delay, struct eeprom*);
65+
```
66+
// Open device
67+
int eeprom_open(char *dev_fqn, int i2c_addr, int bits, int delay, struct eeprom*);
6868
69-
// Get EEPROM memory size
69+
// Get EEPROM memory size
7070
__u16 getEEPROMbytes(struct eeprom* e);
7171
72-
// Read data from EEPROM
72+
// Read data from EEPROM
7373
int eeprom_read_byte(struct eeprom* e, __u16 mem_addr);
7474
75-
// Write data to EEPROM
75+
// Write data to EEPROM
7676
int eeprom_write_byte(struct eeprom *e, __u16 mem_addr, __u8 data);
77+
```
7778

7879
---
7980

0 commit comments

Comments
 (0)