hi all where can I find source code of cmos-camera qtopia application on mini2440? thanks in advance
source code of cmos-camera qtopia application
I have problem with {open(DEVICE_NAME,MODE);} command in Qtopia2.2, while
it works pretty in C++ examples.
I included the required header files from ARM-Linux GCC 4.3.2
subdirectories; but it does not work!
please provide us with a simple qtopia2.2 example for using
open(/dev/pwm,0); command.
thanks in advance
  this the used code
#include "hello.h"
#include <qpushbutton.h>
#include <qlabel.h>
#include <qpixmap.h>
#include <qmovie.h>
#include <qtabwidget.h>
#include <qpoint.h>
#include <qtopia/qprocess.h>
#include <qtimer.h>
#include <qdatetime.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <fcntl.h>
...
fd_buzzer = open("/dev/pwm",0);
...
//open is successful (fd_buzzer>0), but there is no sound from buzzer
//while when I open it from c++ example, there is sound of buzzer
  also, the following code has the proposed problem
QFile buzzerfile("/dev/pwm");
buzzerfile.open(IO_ReadOnly);
  

