Go to advanced search

by cary
Wed Apr 10, 2013 3:49 am
Forum: Graphics programming
Topic: How to draw nonconvex polygon in raspberry
Replies: 5
Views: 4032

Re: How to draw nonconvex polygon in raspberry

Does raspberry support glu/glut? I only know raspberry support opengl es.
by cary
Mon Apr 08, 2013 4:27 pm
Forum: Graphics programming
Topic: How to draw nonconvex polygon in raspberry
Replies: 5
Views: 4032

How to draw nonconvex polygon in raspberry

Now i want to draw non-convex polygon on my raspberry.
I used to use GLUtesselator to do the drawing On my pc and i am a new guy to used opengl es. Does raspberry also support that?
Does any one know how to do this?
by cary
Fri Apr 05, 2013 4:13 pm
Forum: Beginners
Topic: how to atuo login to raspberry with root
Replies: 3
Views: 4963

how to atuo login to raspberry with root

How to auto login raspberry with root user and start x11 when raspberry is powered on.
Does anybody know that. I have to do the atuo login even through i know it's weird.
by cary
Fri Mar 29, 2013 2:04 pm
Forum: C/C++
Topic: Why i can only get one character each time from UTRA
Replies: 3
Views: 1194

Re: Why i can only get one character each time from UTRA

This is the code on pc #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <string.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <termios.h> #include <errno.h> void writeBytes(int descriptor, int count); void readBytes(int descript...
by cary
Thu Mar 28, 2013 9:38 am
Forum: C/C++
Topic: Why i can only get one character each time from UTRA
Replies: 3
Views: 1194

Why i can only get one character each time from UTRA

I use same code on my raspberry and pc, the utra mode is set to raw mode. The only different is pc open dev '/dev/ttyUSB0' and raspberry open dev '/dev/ttyAMA0'. Then i try to send character from each other. I can get many character on my raspberry from pc one time, but can only get one character on...
by cary
Thu Mar 21, 2013 2:53 pm
Forum: Python
Topic: UART
Replies: 30
Views: 9196

Re: UART

I also meet the same problem and was blocked there a few days. I can send data from raspberry pi to my pc through UART, but can not do that from pc to raspberry. This is code on raspberry pi >>> import serial >>> ser=serial.Serial('/dev/ttyAMA0', 115200) >>> ser.isOpen() True >>> ser.read() Tracebac...

Go to advanced search