Search found 94 matches

by daviddawe1982
Mon May 20, 2013 2:01 pm
Forum: LCD Driver and Graphic Framework
Topic: little help with ADS7843
Replies: 36
Views: 12944

Re: little help with ADS7843

Well I tried chprintf and it did the same thing, The working area of the thread calling it is sill 1024.
Are the print commands resource hungry?
I also tried to chprintf to console in Main thread and it also stops the code..
by daviddawe1982
Mon May 20, 2013 12:03 pm
Forum: LCD Driver and Graphic Framework
Topic: little help with ADS7843
Replies: 36
Views: 12944

Re: little help with ADS7843

Ok Techu, Your code worked fine, So I went back to my code and started to remove certain things and I have found the course of my problems.. sprintf I use it twice in one thread and without them all of my code works fine including the buttons that toggle a led! Is there a alternative to sprintf for ...
by daviddawe1982
Mon May 20, 2013 4:15 am
Forum: LCD Driver and Graphic Framework
Topic: little help with ADS7843
Replies: 36
Views: 12944

Re: little help with ADS7843

Ok Techu I will try as soon as I get home, one difference I did notice is I am creating the thread this way
chThdCreateFromHeap
And you are using this
chThdCreateStatic
This may be my problem..
by daviddawe1982
Mon May 20, 2013 2:21 am
Forum: LCD Driver and Graphic Framework
Topic: little help with ADS7843
Replies: 36
Views: 12944

Re: little help with ADS7843

Buttons show that they get pressed (dark grey ) but the LED no longer works after starting the other thread . I have completely pulled down the code and built it bit by bit and it is defiantly when i start the other thread . I am using the GNU toolchain , ChibiStudio , and i have enabled multithread...
by daviddawe1982
Mon May 20, 2013 1:38 am
Forum: LCD Driver and Graphic Framework
Topic: little help with ADS7843
Replies: 36
Views: 12944

Re: little help with ADS7843

Yes I understand what you mean I was only saying it would be nice if it was the same as gdispDraw and please don't stir me about the use of pen's ... My mum only let's me use crayons. :D My problem is pretty simple the example for GWIN Buttons works fine but if i add a thread (use multi thre ading) ...
by daviddawe1982
Sun May 19, 2013 3:24 pm
Forum: LCD Driver and Graphic Framework
Topic: little help with ADS7843
Replies: 36
Views: 12944

Re: little help with ADS7843

I have moved the DrawButtons above the draw window commands and now thay at least go dark when pressed but the IF for the buttons does not appear to function..
Is there a different way to check weather a button is pressed?
by daviddawe1982
Sun May 19, 2013 4:00 am
Forum: LCD Driver and Graphic Framework
Topic: little help with ADS7843
Replies: 36
Views: 12944

Re: little help with ADS7843

Ok, that was not my problem. When I use activate the SampleThread thread the Set button fails to work but the Clear button continues to work. Without activating the SampleThread both buttons work fine, I have tried increasing the process stack size to 0x2000 and it will still not work properly. I am...
by daviddawe1982
Sat May 18, 2013 4:03 pm
Forum: LCD Driver and Graphic Framework
Topic: little help with ADS7843
Replies: 36
Views: 12944

Re: little help with ADS7843

Hay Techu,
How do i change the main thread stack size i cannot find any info..
by daviddawe1982
Sat May 18, 2013 3:04 pm
Forum: LCD Driver and Graphic Framework
Topic: little help with ADS7843
Replies: 36
Views: 12944

Re: little help with ADS7843

Yes the touch screen is working your advice on the PAL mode's was the trick. Things are all working now :D Is there a way to make gwinFillArea color the same as the background not the foreground color so I can display as sample every second I have got it to work like this, gwinSetColor(GW1, White); ...
by daviddawe1982
Sat May 18, 2013 2:42 pm
Forum: LCD Driver and Graphic Framework
Topic: little help with ADS7843
Replies: 36
Views: 12944

Re: little help with ADS7843

Ok the thread continues now the working area was not large enough and also the string is working..
Thanks

Go to advanced search