[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] eeprom problems
From: |
Jack Valmadre |
Subject: |
[avr-gcc-list] eeprom problems |
Date: |
Tue, 30 Sep 2003 11:16:01 +1000 |
Hi,
I'm writing a program that writes a lot of information to EEPROM at the start
then accesses it later on in the program.
I have used the <avr/eeprom.h> include file.
For every line that has an eeprom_write_byte() or and eeprom_read_byte()
command, I get an error saying:
warning: passing arg 1 of `eeprom_write_byte' makes pointer from integer
without a cast
Here is one example of each command:
eeprom_write_byte(10, 6);
PORTD = eeprom_read_byte(front_sensors);
How can I fix this?
Thanks,
Jack
- [avr-gcc-list] eeprom problems,
Jack Valmadre <=