CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 12 matches
CCS Forum Index
Author Message
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Tue Jan 05, 2016 9:53 am   Subject: Touch Sensor - I hope you can help me?!?
Its me again! Rolling Eyes

This is only a prototype... I want to make my own SPS light-switches. They always habe 2 functions... If i press the pad for a short time the light goes on or off, if i pres ...
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Thu Dec 31, 2015 6:57 am   Subject: Touch Sensor - I hope you can help me?!?
Ok... i bought some capacitors, but the problem stays the same...

Yesterday i tried something with a friend (two brains are better than one). This code is working... with some funny "errors&qu ...
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Sat Dec 26, 2015 12:07 pm   Subject: Touch Sensor - I hope you can help me?!?
Hi... Sorry for my late reply. The holidays are/were really stressful Wink

I don't have a 0,1uf capacitor but i will buy one in monday and i will have a look in the datasheet to use the right o ...
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Thu Dec 24, 2015 8:53 am   Subject: Touch Sensor - I hope you can help me?!?
Hi here are the Fotos of my plug board and my diamex pic Programmer (it is equal the pickit2)

http://s7.postimg.org/lx4r8wh7r/14509635036511853325285.jpghttp://s7.postimg.org/dc6u3zhnr/145096321933 ...
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Wed Dec 23, 2015 12:10 pm   Subject: Touch Sensor - I hope you can help me?!?
Well its not very complicated...
The LEDs are in ports 2 (RA0) and 3 (RA1) with a 470 ohm resistor,
my touchpads are just cables in ports 21-24 (RB0-RB3) and
VDD (port 20) is connected to my pick ...
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Wed Dec 23, 2015 11:22 am   Subject: Touch Sensor - I hope you can help me?!?
Hmm... They are still always "on" if i touch the pad... the only difference is that just the right one is on, the other one is off. With the last code they were always on...

Do you have a ...
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Wed Dec 23, 2015 4:57 am   Subject: Touch Sensor - I hope you can help me?!?
I am studying your code for hours now... but i don't understand two thing... maybe three Wink

Can you tell me what the line does exactly?
#define KEYON(keyno) bit_test (TOUCHPADSTA ...
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Tue Dec 22, 2015 3:58 pm   Subject: Touch Sensor - I hope you can help me?!?
No... doesnt change anything... Sad

Is it possible that there is a wrong value for the untouched value stored? So if i pressed the button the "pressed"-value becomes the new unpressed ...
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Tue Dec 22, 2015 1:29 pm   Subject: Touch Sensor - I hope you can help me?!?
OK... So far so good...

I tried it... and you were right. The version with Touchpadstatus worked, the other one didnt worked at all... but the problem is that the LED's go on, but they doesnt go of ...
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Tue Dec 22, 2015 3:33 am   Subject: Touch Sensor - I hope you can help me?!?
Hi Ttelmah!

All i can say is WWOOWW!!
I think it will take some time to understand that! Wink

Please tell me if i am right:

The "new" threshold you are using in this code is no ...
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Tue Dec 22, 2015 2:01 am   Subject: Touch Sensor - I hope you can help me?!?
Hi Ttelmah and asmboy!

Yeah... At first it looked similar to PHP... but that was totaly wrong Very Happy

Ok... lets see if i got that Wink
The code till "void main" stays the same: ...
  Topic: Touch Sensor - I hope you can help me?!?
igelkotze

Replies: 29
Views: 47711

PostForum: General CCS C Discussion   Posted: Mon Dec 21, 2015 1:26 pm   Subject: Touch Sensor - I hope you can help me?!?
Hi!

I'm new to the whole Microcontroller thing. I think I read everything (in this forum) about the Touch functions CCS offers, but I have not found a solution I understood. I am only a Web progra ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group