-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port U8glib to Raspberry Pi #171
Comments
Reported by |
Reported by |
Reported by |
Reported by |
Reported by - _Attachment: [rpi_u8glib.patch](https://storage.googleapis.com/google-code-attachments/u8glib/issue-171/comment-6/rpi_u8glib.patch)_ - _Attachment: [U8gLogo.cpp](https://storage.googleapis.com/google-code-attachments/u8glib/issue-171/comment-6/U8gLogo.cpp)_ - _Attachment: [20130904_094959_n.jpg](https://storage.googleapis.com/google-code-attachments/u8glib/issue-171/comment-6/20130904_094959_n.jpg)_ |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by - _Attachment: [20140830_123737.jpg](https://storage.googleapis.com/google-code-attachments/u8glib/issue-171/comment-15/20140830_123737.jpg)_ - _Attachment: [20140830_123713.jpg](https://storage.googleapis.com/google-code-attachments/u8glib/issue-171/comment-15/20140830_123713.jpg)_ |
Reported by |
Reported by |
Reported by - _Attachment: [IMAG0141.jpg](https://storage.googleapis.com/google-code-attachments/u8glib/issue-171/comment-19/IMAG0141.jpg)_ |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by - _Attachment: [u8glib_1.16.RaspberryPi.patch](https://storage.googleapis.com/google-code-attachments/u8glib/issue-171/comment-24/u8glib_1.16.RaspberryPi.patch)_ |
Reported by
|
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by - _Attachment: [IMAG0158.jpg](https://storage.googleapis.com/google-code-attachments/u8glib/issue-171/comment-38/IMAG0158.jpg)_ |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by
|
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
Reported by |
I would like to report I was successful to compile the library and few examples from github code on Raspberry Pi, and also they work on my SSD1306 SPI connected!! I did this procedure:
$ sudo apt-get install build-essential autoconf libtool libsdl1.2-dev I had a lot of trouble to identify the need of packages autoconf and libtool, but after that the build was easy.
Currently I tested with v.1.18.1. $ sudo git clone https://github.com/olikraus/u8glib.git
$ cd u8glib/
For the following examples I had to select the corresponding LCD, editing the following files: $ sudo nano sys/arduino/Chess/Chess.cpp
$ sudo nano sys/arduino/U8gLogo/U8gLogo.cpp
$ sudo nano sys/arduino/GraphicsTest/GraphicsTest.cpp changing the corresponding line of my lcd (SSD1306_128X64): //U8GLIB_SSD1306_128X64 u8g(10, 9); // HW SPI Com: CS = 10, A0 = 9 (Hardware Pins are SCK = 13 and MOSI = 11) changed to:
My setup was using hardware SPI in Raspberry Pi and two addtional pins with the following connections (using WiringPi numbering from http://wiringpi.com/pins/ ):
$ sudo ./autogen.sh
$ sudo ./configure
$ sudo make
$ sudo make install
$ sudo ./u8gwpi_logo |
Thanks for the report. |
So I've finally managed to implement single sweep drawing for DOGXL160 on Raspberry pi. I've created a pull request against current master if someone needs it. |
I have similar plans also for all other devices. I will implement this for the next major release. |
its very cool but now, it cant compile , errors , please create git repo and put files |
Originally reported on Google Code with ID 171
Reported by
olikraus
on 2013-05-26 05:52:58The text was updated successfully, but these errors were encountered: