Author |
Message |
Topic: Timer0 Problem |
Ruby
Replies: 7
Views: 12580
|
Forum: General CCS C Discussion Posted: Sun Nov 23, 2014 10:04 pm Subject: Timer0 Problem |
Thank you very much you all specially Ttelmah.
I am sending the data through docklight program for now so I know how many characters I am sending. Although I am sending the data through docklight , d ... |
Topic: Timer0 Problem |
Ruby
Replies: 7
Views: 12580
|
Forum: General CCS C Discussion Posted: Sun Nov 23, 2014 9:31 am Subject: Timer0 Problem |
I didn't understand you...
By getc () I am getting the new data. There is no static value.
if (kbhit()) { for (a=0;a<2;a++) ... |
Topic: Timer0 Problem |
Ruby
Replies: 7
Views: 12580
|
Forum: General CCS C Discussion Posted: Sun Nov 23, 2014 7:35 am Subject: Timer0 Problem |
Thanks for replay.
P_w is the data I am sending from pc in ascii. By atoi I am converting it to int. It has to be between 0 and 20.
I is set zero every 200. |
Topic: Timer0 Problem |
Ruby
Replies: 7
Views: 12580
|
Forum: General CCS C Discussion Posted: Sun Nov 23, 2014 2:29 am Subject: Timer0 Problem |
Hi. Can someone please tell me what is the wrong with the code???
#include <16f877a.h>
#include <stdlib.h> // atoi
#fuses hs,nowrt,nowdt,nodebug,brownout,nolvp,nocpd,put,noprotect
#u ... |
Topic: Simonk ESC & PWM |
Ruby
Replies: 10
Views: 17437
|
Forum: General CCS C Discussion Posted: Fri Nov 14, 2014 1:14 pm Subject: Simonk ESC & PWM |
How do you know? I couldn't find any datasheet of them? 400 better right? |
Topic: Simonk ESC & PWM |
Ruby
Replies: 10
Views: 17437
|
Forum: General CCS C Discussion Posted: Fri Nov 14, 2014 12:17 pm Subject: Simonk ESC & PWM |
I bought this
http://m.ebay.com/itm/161432910116 |
Topic: Simonk ESC & PWM |
Ruby
Replies: 10
Views: 17437
|
Forum: General CCS C Discussion Posted: Fri Nov 14, 2014 11:49 am Subject: Simonk ESC & PWM |
Ok but if I can't find there what I am looking for how can I move the post? |
Topic: Simonk ESC & PWM |
Ruby
Replies: 10
Views: 17437
|
Forum: General CCS C Discussion Posted: Fri Nov 14, 2014 11:39 am Subject: Simonk ESC & PWM |
Thanks for reply. What you mean with look in library? |
Topic: Simonk ESC & PWM |
Ruby
Replies: 10
Views: 17437
|
Forum: General CCS C Discussion Posted: Fri Nov 14, 2014 10:49 am Subject: Simonk ESC & PWM |
Hi everybody. I need help with pwm. I am using 16f877a. If I am not wrong I need 50hz for esc. |
Topic: i2c MPU-6050 |
Ruby
Replies: 32
Views: 99116
|
Forum: General CCS C Discussion Posted: Fri Sep 26, 2014 3:55 pm Subject: i2c MPU-6050 |
Hi guys. Code works perfect with 16f877a. I have also cleaned the code cause it uses only accel values. I am trying to find some examples about DMP. |
Topic: i2c MPU-6050 |
Ruby
Replies: 32
Views: 99116
|
Forum: General CCS C Discussion Posted: Thu Sep 25, 2014 12:44 pm Subject: i2c MPU-6050 |
Thank you. I will check the code. Thanks alot. |
Topic: i2c MPU-6050 |
Ruby
Replies: 32
Views: 99116
|
Forum: General CCS C Discussion Posted: Thu Sep 25, 2014 12:05 pm Subject: i2c MPU-6050 |
Thanks. I am not sure about configuration of the gyro. And I don't know the formula to convert the data I get from gyro to angle. Atan is math calculation if I am not wrong. The thing is which data I ... |
Topic: i2c MPU-6050 |
Ruby
Replies: 32
Views: 99116
|
Forum: General CCS C Discussion Posted: Thu Sep 25, 2014 11:50 am Subject: i2c MPU-6050 |
Anyone? ?? |
Topic: i2c MPU-6050 |
Ruby
Replies: 32
Views: 99116
|
Forum: General CCS C Discussion Posted: Tue Sep 23, 2014 11:49 pm Subject: i2c MPU-6050 |
Hi PCM. You are the greatest. Can you post the code you did. I want to see where I was wrong. I think I couldn't do the configuration right. I made some calculations and add timer1 to get angle but I ... |
Topic: i2c MPU-6050 |
Ruby
Replies: 32
Views: 99116
|
Forum: General CCS C Discussion Posted: Mon Sep 22, 2014 2:21 pm Subject: i2c MPU-6050 |
Yes your right. I thought that it will be easy to calculate the angle and etc. but it has lots of noises and i don't know how to calculate the angle.
Ps: the links that you posted i have already rea ... |
|