Author |
Message |
Topic: Weird behavior on 'less than' condition |
tim_sid
Replies: 5
Views: 9509
|
Forum: General CCS C Discussion Posted: Wed Sep 30, 2015 9:52 am Subject: Weird behavior on 'less than' condition |
Sorry for such a late update for some other reasons.
@Ttelmah; I tried with scaled integers it didnt work but now the previous code is working. Yeah your point does make sense and noted, thanks. |
Topic: Weird behavior on 'less than' condition |
tim_sid
Replies: 5
Views: 9509
|
Forum: General CCS C Discussion Posted: Fri Sep 25, 2015 12:19 am Subject: Weird behavior on 'less than' condition |
'Temp' is float.
Once the Temp is out of range it is caught in the if condition and stays in while until it comes in range. sample_ADC is returning float value of voltage. All goes fine with exact li ... |
Topic: Weird behavior on 'less than' condition |
tim_sid
Replies: 5
Views: 9509
|
Forum: General CCS C Discussion Posted: Thu Sep 24, 2015 11:07 am Subject: Weird behavior on 'less than' condition |
Hello all,
This question might sound weird but I am facing this. I have a simple piece of code running fine as long as i do not include the less than '<' condition. When I include less than condi ... |
Topic: USB with pic32mx210f016d |
tim_sid
Replies: 1
Views: 3930
|
Forum: General CCS C Discussion Posted: Tue Feb 03, 2015 11:04 am Subject: USB with pic32mx210f016d |
Hello all,
I am trying to implement USB datalogger application with pic32mx210f016d. I am using Microchip application library demo codes to build basic function but it contains demo codes only for PI ... |
Topic: Stepper With PWM |
tim_sid
Replies: 4
Views: 7813
|
Forum: General CCS C Discussion Posted: Mon Dec 15, 2014 2:22 am Subject: Stepper With PWM |
Thanks Ttelmah,
So i have to skip PWM, sure now i can go with timer and interrupts, i'll try some codes.
Thanks again. |
Topic: Stepper With PWM |
tim_sid
Replies: 4
Views: 7813
|
Forum: General CCS C Discussion Posted: Mon Dec 15, 2014 1:04 am Subject: Stepper With PWM |
Yeah there are many examples but how can i generate 4 different PWM signals with appropriate delays causing specific pulses per second? Actually i am generating 4 pulses and apply them to 4 phases of ... |
Topic: Stepper With PWM |
tim_sid
Replies: 4
Views: 7813
|
Forum: General CCS C Discussion Posted: Sun Dec 14, 2014 9:31 pm Subject: Stepper With PWM |
Hello all,
I am new to stepper, have driven it with a sequence of pulses controlled by delay function running motor in full step mode. Now i want to control motor with PWM as my controller needs to t ... |
Topic: How do putc() work? |
tim_sid
Replies: 6
Views: 13834
|
Forum: General CCS C Discussion Posted: Tue Jul 01, 2014 12:46 am Subject: How do putc() work? |
Thanks Ttelmah,
This made some points clear about transmission. I will try it. Thanks. |
Topic: How do putc() work? |
tim_sid
Replies: 6
Views: 13834
|
Forum: General CCS C Discussion Posted: Mon Jun 30, 2014 6:11 am Subject: How do putc() work? |
Hello all,
I used this blocking technique in my code and I want to create blocking putc().
using byte and bit defined for TXIF i added this in my code.
while(TXIF==0);
putc(packe ... |
Topic: USB sample code PicUSB |
tim_sid
Replies: 27
Views: 250215
|
Forum: Code Library Posted: Wed Jun 18, 2014 10:31 am Subject: USB sample code PicUSB |
Dear Hobby PIC,
I just used your code and modified it too, its running good. Thanks.
But I have a problem, when I transmit a file from PC it is received at PIC18F2550, the speed of communication is ... |
Topic: USB with PIC18F2550 |
tim_sid
Replies: 13
Views: 28844
|
Forum: General CCS C Discussion Posted: Wed Jun 18, 2014 10:10 am Subject: USB with PIC18F2550 |
Here is the code:
/////////////////////////////////////////////////////////////////////////
//// PicUSB.c ////
//// ... |
Topic: USB with PIC18F2550 |
tim_sid
Replies: 13
Views: 28844
|
Forum: General CCS C Discussion Posted: Wed Jun 18, 2014 7:22 am Subject: USB with PIC18F2550 |
one correction: the code above is just receiving the data transmitted from PC. |
Topic: USB with PIC18F2550 |
tim_sid
Replies: 13
Views: 28844
|
Forum: General CCS C Discussion Posted: Wed Jun 18, 2014 7:06 am Subject: USB with PIC18F2550 |
I am following the application attached here:
http://320volt.com/en/ccs-c-ile-pic18f2550-usb-led-uygulamalari/
I have modified the main code to transmit the file
void main(void) { ... |
Topic: USB with PIC18F2550 |
tim_sid
Replies: 13
Views: 28844
|
Forum: General CCS C Discussion Posted: Wed Jun 18, 2014 2:05 am Subject: USB with PIC18F2550 |
Yes, 3 days ago I encountered the same issue while using this firmware and 20MHz crystal. The problem was solved when I replaced the crystal by 12MHz.
Well, I can successfully transfer my data over ... |
Topic: FORCE_HW & FORCE_SW |
tim_sid
Replies: 9
Views: 17859
|
Forum: General CCS C Discussion Posted: Fri Apr 11, 2014 5:49 am Subject: FORCE_HW & FORCE_SW |
Thank you so much for quick replies.
Ckielstra, I just need my PIC working in Master mode for writing to slave device. |
|