Closed GoogleCodeExporter closed 9 years ago
Hi,
did I understand you correct, that you unzipped both zip files? - This will not
work!
If you want to use arduino ide 1.0 or 1.0.1 you have to use
avr-netino-19Jan2012.zip.
So unpack arduino in an empty directory and than the zip file
avr-netino-19Jan2012.zip in this directory and try again.
Original comment by mic.maas...@gmail.com
on 8 Sep 2012 at 6:48
Hello and thanks
my first try was with avr-netino 19Jan2012 and did not compile as missing
ports.h. I found that the mssing files are part of the older zip and so
unpacked the old one first and then the second one into arduino 1.0.1 install
dir. But that also did not work and I got the above compile errors.
Thanks for your great work, but I fear it is not usabel with a clean install of
arduino 1.0.1.
Original comment by hjg...@gmail.com
on 9 Sep 2012 at 5:11
Hi,
I tried to verify your problem, but I could not.
I did the following:
- download and unpack arduino-1.0.1-windows.zip in an empty (!) directory
- download and unpack avr-netino-19Jan2012.zip in the same directory
- start arduino ide
- select Tools->Board->avrnetio w/ atmega644 (optiboot.c)
- open File->Examples->arv-netino->ANIO_LCD
- Compile (Verify) without any error
I did than on a Compute with Win7 (32bit) and on Linux Ubuntu.
Are you sure that you unpacked your files in an empty directory?
Because the Ports.h is not needed anymore.
Are you able to try this on a different OS?
Original comment by mic.maas...@gmail.com
on 10 Sep 2012 at 7:53
Thanks for the help. Following your description worked for me to:
- download and unpack arduino-1.0.1-windows.zip in an empty (!) directory
- download and unpack avr-netino-19Jan2012.zip in the same directory
- start arduino ide
- select Tools->Board->avrnetio w/ atmega644 (optiboot.c)
- open File->Examples->arv-netino->ANIO_LCD
- Compile (Verify) without any error
Tested OK using Windows 7 (x64)
But as I need RFM12 support, I need a solution using "avr-netino-10May2011.zip"
- download and unpack arduino-1.0.1-windows.zip in an empty (!) directory
- download and unpack avr-netino-10May2011.zip in the same directory
- start arduino ide
- select Tools->Board->avrnetio w/ atmega644 (optiboot.c)
- open File->Examples->arv-netino->ANIO_LCD
- Compile (Verify) gives errors:
ANIO_LCD.cpp:4:21: error: Arduino.h: No such file or directory
In file included from ANIO_LCD.cpp:1:
D:\AVR-Net-IO\avrnetino\arduino-1.0.1\libraries\Wire/Wire.h:60: error:
conflicting return type specified for 'virtual size_t TwoWire::write(uint8_t)'
D:\AVR-Net-IO\avrnetino\arduino-1.0.1\hardware\avrnetio\cores\avrnetio/Print.h:4
0: error: overriding 'virtual void Print::write(uint8_t)'
D:\AVR-Net-IO\avrnetino\arduino-1.0.1\libraries\Wire/Wire.h:61: error:
conflicting return type specified for 'virtual size_t TwoWire::write(const
uint8_t*, size_t)'
D:\AVR-Net-IO\avrnetino\arduino-1.0.1\hardware\avrnetio\cores\avrnetio/Print.h:4
2: error: overriding 'virtual void Print::write(const uint8_t*, size_t)'
ANIO_LCD.cpp: In function 'void loop()':
ANIO_LCD.pde:-1: error: 'delay' was not declared in this scope
Original comment by hjg...@gmail.com
on 10 Sep 2012 at 8:13
I now also tested avr-netino-10May2011.zip with arduino-1.0-windows.zip and got
again verify/compile errors.
Which arduino IDE version was used for avr-netino-10May2011.zip?
Original comment by hjg...@gmail.com
on 10 Sep 2012 at 9:15
Hi,
oh good, this clears things to me.
1) avr-netino-10May2011.zip was tested with arduino-0022 to arduino-0020
2) RF12: The old library won't work with arduino-1.0 and higher
There is a project porting some of these libraries to newer arduino, please see:
http://jeelabs.net/projects/cafe/wiki/RF12
https://github.com/jcw/jeelib
In the past you only have to change the chip select pin (CS) settings in the
library to the correct value for avr-net-io board.
Hopefully in the next release I will add RF12 again.
Original comment by mic.maas...@gmail.com
on 10 Sep 2012 at 10:46
Thanks a lot
so I have to go with Arduino 0022 or 0020 or wait for your RFM12 release
I did look for the CS setting in the library but was unable to find it.
Original comment by hjg...@gmail.com
on 10 Sep 2012 at 12:01
See new release avr-netino-04Oct2013.zip, RFM12 is included in JeeLib.
Original comment by mic.maas...@gmail.com
on 6 Oct 2013 at 7:31
Original issue reported on code.google.com by
hjg...@gmail.com
on 7 Sep 2012 at 12:19