Eugeniuschang / u8glib

Automatically exported from code.google.com/p/u8glib
Other
0 stars 0 forks source link

Problems with ATmega32 for Arduino IDE v1.1 #265

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
A library which allows to use ATmega32 with Arduino IDE v1.1 exist.
It is very useful to have. It is available under the link
https://github.com/eaconner/ATmega32-Arduino

1.After installation of the library the "GraphicsTest" example from the u8glib 
with ST7920 LCD display was tried to be compiled.
2.The setting are the following:

U8GLIB_ST7920_128X64_4X u8g(28,29,30,31,18,20,21,22,26,24,25) - corresponding 
to my PCB pining

The board was set as ATMega32-8MHz   (Internal oscillator)

The Arduino compiler produces the following output:

G:\Program Files\Arduino\libraries\U8glib\utility\u8g_com_arduino_hw_spi.c: In 
function 'u8g_com_arduino_hw_spi_fn':
G:\Program Files\Arduino\libraries\U8glib\utility\u8g_com_arduino_hw_spi.c:202: 
error: 'SCK' undeclared (first use in this function)
G:\Program Files\Arduino\libraries\U8glib\utility\u8g_com_arduino_hw_spi.c:202: 
error: (Each undeclared identifier is reported only once
G:\Program Files\Arduino\libraries\U8glib\utility\u8g_com_arduino_hw_spi.c:202: 
error: for each function it appears in.)
G:\Program Files\Arduino\libraries\U8glib\utility\u8g_com_arduino_hw_spi.c:204: 
error: 'MOSI' undeclared (first use in this function)
G:\Program Files\Arduino\libraries\U8glib\utility\u8g_com_arduino_hw_spi.c:208: 
error: 'SS' undeclared (first use in this function)

What version of the product are you using? On what operating system?
1.0.5-r2 Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by chicho.m...@gmail.com on 18 Jun 2014 at 10:02

GoogleCodeExporter commented 8 years ago
the pin definitions of 
https://github.com/eaconner/ATmega32-Arduino
seem to be incomplete and lead to this errors.
I would say,that this is not a u8glib error.

Original comment by olikr...@gmail.com on 18 Jun 2014 at 10:11

GoogleCodeExporter commented 8 years ago
Any results on this? Further questions or comments? 

Original comment by olikr...@gmail.com on 28 Jun 2014 at 9:08

GoogleCodeExporter commented 8 years ago
You were right. I have added the missing pin definitions and everything works 
fine.

Original comment by chicho.m...@gmail.com on 29 Jun 2014 at 3:29

GoogleCodeExporter commented 8 years ago
Thanks for your feedback. I will close this issue.

Original comment by olikr...@gmail.com on 29 Jun 2014 at 5:08

GoogleCodeExporter commented 8 years ago
Has this been added/ send to EAconner so everybody can benefit from this fix?
Or at least share what you added and where.

Thank you in advance.

Richard

Original comment by rwalg...@gmail.com on 22 Dec 2014 at 7:20

GoogleCodeExporter commented 8 years ago
Hi,
I have contacted eaconner months ago:
https://github.com/eaconner/ATmega32-Arduino/issues/3
without any response from his side...
It seems that his support is canceled. 

Original comment by chicho.m...@gmail.com on 22 Dec 2014 at 7:28