Author |
Message |
Topic: Capacitive touch on 16F722A |
J_GROUP
Replies: 13
Views: 35061
|
Forum: General CCS C Discussion Posted: Mon May 16, 2016 3:56 am Subject: Capacitive touch on 16F722A |
It's not working sir,
#include <16f722.h>
#fuses NOWDT,NOPROTECT,MCLR,INTRC_IO,VCAP_A5,BORV25,NOBROWNOUT
#use delay (INTERNAL=4M)
#use TOUCHPAD (Range=H,scantime=32ms,thres ... |
Topic: Capacitive touch on 16F722A |
J_GROUP
Replies: 13
Views: 35061
|
Forum: General CCS C Discussion Posted: Mon May 16, 2016 2:33 am Subject: Capacitive touch on 16F722A |
I following code as you provided.
But I still cant detect long press (hold key), current code working like using Touchpad_hit() function.
Please see my code
#include <16f722.h>
#fu ... |
Topic: Capacitive touch on 16F722A |
J_GROUP
Replies: 13
Views: 35061
|
Forum: General CCS C Discussion Posted: Mon May 16, 2016 1:19 am Subject: Capacitive touch on 16F722A |
As I said:
"I'd suggest you clear the bits yourself. They will set again if the key is still detected."
Can you give me a detail example code?
Thank you |
Topic: Capacitive touch on 16F722A |
J_GROUP
Replies: 13
Views: 35061
|
Forum: General CCS C Discussion Posted: Sun May 15, 2016 9:49 am Subject: Capacitive touch on 16F722A |
I was add touchpad_getc() for each key then the status of key press has clear.
But I want to key hold function ex: sounder turn on while press and hold the keypad. Have you got any idea for this? |
Topic: Capacitive touch on 16F722A |
J_GROUP
Replies: 13
Views: 35061
|
Forum: General CCS C Discussion Posted: Sat May 14, 2016 11:15 am Subject: Capacitive touch on 16F722A |
Dear all,
Thank for reply.
I don't want use function touchpad_hit(). Because I want to detect hold key action. Have you got other solution for me ? |
Topic: Capacitive touch on 16F722A |
J_GROUP
Replies: 13
Views: 35061
|
Forum: General CCS C Discussion Posted: Sat May 14, 2016 1:57 am Subject: Capacitive touch on 16F722A |
Dear All,
I make capacitive touch circuit with 16F722a.
But I have problem. Whenever touch to key, the sounder don't turn off when released.
Below is my code:
#include <16f722.h>
... |
Topic: Disable analog 18F26k22 |
J_GROUP
Replies: 7
Views: 12011
|
Forum: General CCS C Discussion Posted: Tue Mar 01, 2016 10:42 am Subject: Disable analog 18F26k22 |
sir,
this program and hardware I was running on 18F25k22. This time I need more memory so I change to 18F26k22 and get trouble |
Topic: Disable analog 18F26k22 |
J_GROUP
Replies: 7
Views: 12011
|
Forum: General CCS C Discussion Posted: Tue Mar 01, 2016 9:36 am Subject: Disable analog 18F26k22 |
#include <18f26k22.h>
#device *=16
#include <math.h>
#include <float.h>
#include <stdio.h>
#include <brands_select.h>
#fuses WDT8192,PROTECT,NOLVP,MCLR,NOBROWNOU ... |
Topic: Disable analog 18F26k22 |
J_GROUP
Replies: 7
Views: 12011
|
Forum: General CCS C Discussion Posted: Tue Mar 01, 2016 9:03 am Subject: Disable analog 18F26k22 |
Hi
I need disable analog input mode on pin RC7 of 18F26k22. Please help |
Topic: How to scan device on RS485 Network |
J_GROUP
Replies: 9
Views: 16847
|
Forum: General CCS C Discussion Posted: Sat Oct 17, 2015 9:06 am Subject: How to scan device on RS485 Network |
dear Sir,
Thank for your reply,
I working on OmniBus Lighting control of Leviton security and Automation. That lighting system reach 255 node. That mean 255 slave on single network. I check thei ... |
Topic: How to scan device on RS485 Network |
J_GROUP
Replies: 9
Views: 16847
|
Forum: General CCS C Discussion Posted: Fri Oct 16, 2015 11:16 am Subject: How to scan device on RS485 Network |
sir,
if you manuafactured and sell alot, you cannot control what serialnumber of devices on your customers network. |
Topic: How to scan device on RS485 Network |
J_GROUP
Replies: 9
Views: 16847
|
Forum: General CCS C Discussion Posted: Thu Oct 15, 2015 8:10 am Subject: How to scan device on RS485 Network |
Thank for your reply,
I was tried solution as yours but have some problem.
I have 8 digits as resource for serial device.
That mean the biggest value of serial is 99999999
If following you ... |
Topic: How to scan device on RS485 Network |
J_GROUP
Replies: 9
Views: 16847
|
Forum: General CCS C Discussion Posted: Wed Oct 14, 2015 10:59 pm Subject: How to scan device on RS485 Network |
Hi Friends,
I need your ideas about how to scan to list device on haft-duplex rs 485 network.
I have project to make device with serial number (8 digits).
Now I want list devices connected to ... |
Topic: PIC SPI interface with Zigbee MRF24J40MA |
J_GROUP
Replies: 5
Views: 11370
|
Forum: General CCS C Discussion Posted: Fri Aug 28, 2015 12:32 pm Subject: PIC SPI interface with Zigbee MRF24J40MA |
I used pin c0 for chip select. have any setting need? |
Topic: PIC SPI interface with Zigbee MRF24J40MA |
J_GROUP
Replies: 5
Views: 11370
|
Forum: General CCS C Discussion Posted: Thu Aug 27, 2015 7:58 pm Subject: PIC SPI interface with Zigbee MRF24J40MA |
Yes, I use 3.3 volt power supply.
I tried some code at code library but still no result. |
|