Author |
Message |
Topic: enc28j60 + dsPIC30F4011 |
mazedm80
Replies: 12
Views: 16998
|
Forum: General CCS C Discussion Posted: Sat Apr 11, 2015 11:05 am Subject: enc28j60 + dsPIC30F4011 |
sry im not registered...
can anybody give me the code ?
[email protected] |
Topic: enc28j60 + dsPIC30F4011 |
mazedm80
Replies: 12
Views: 16998
|
Forum: General CCS C Discussion Posted: Fri Apr 10, 2015 10:52 pm Subject: enc28j60 + dsPIC30F4011 |
bump. |
Topic: enc28j60 + dsPIC30F4011 |
mazedm80
Replies: 12
Views: 16998
|
Forum: General CCS C Discussion Posted: Thu Apr 09, 2015 11:09 pm Subject: enc28j60 + dsPIC30F4011 |
There is no sample code for tcp/ip in ccs. I search but nobody work with 16bit mcu in ccs...
and the code above is from enc28j60.c library.
Where is lots of function and parameter, so how to use the ... |
Topic: enc28j60 + dsPIC30F4011 |
mazedm80
Replies: 12
Views: 16998
|
Forum: General CCS C Discussion Posted: Wed Apr 08, 2015 11:39 pm Subject: enc28j60 + dsPIC30F4011 |
There's sample code with the TCPIP drivers available from CCS.
where is the sample code ?
so i need to use those in my code
remove those # tag and only those i need to change ?
#define MAC_U ... |
Topic: enc28j60 + dsPIC30F4011 |
mazedm80
Replies: 12
Views: 16998
|
Forum: General CCS C Discussion Posted: Wed Apr 08, 2015 7:34 am Subject: enc28j60 + dsPIC30F4011 |
im new in tcp/ip, i just want to host a webpage in my mcu, i see the enc28j60.c library in ccs but i dont understand where to start and how to use the library...
can anybody give me any sample code ? ... |
Topic: PWM Problem |
mazedm80
Replies: 16
Views: 25177
|
Forum: General CCS C Discussion Posted: Fri Feb 20, 2015 1:13 am Subject: PWM Problem |
thank u Ttelmah
i u got the problem...
i always use the int16 and it divide by 4 and if it is float the motor didn't run... |
Topic: PWM Problem |
mazedm80
Replies: 16
Views: 25177
|
Forum: General CCS C Discussion Posted: Thu Feb 19, 2015 1:13 pm Subject: PWM Problem |
Version 5.013 |
Topic: PWM Problem |
mazedm80
Replies: 16
Views: 25177
|
Forum: General CCS C Discussion Posted: Thu Feb 19, 2015 11:06 am Subject: PWM Problem |
u dont get my problem bro...
int8 a;
a=250;
set_pwm1_duty(a);
its not the problem...
the problem is
int8 a,b;
a=250;
b=250;
set_pwm1_duty(a);
set_pwm2_duty(b);
wh ... |
Topic: PWM Problem |
mazedm80
Replies: 16
Views: 25177
|
Forum: General CCS C Discussion Posted: Thu Feb 19, 2015 10:09 am Subject: PWM Problem |
int8 or int16 it doesn't work...
and set_pwm, it also takes int16 values... |
Topic: PWM Problem |
mazedm80
Replies: 16
Views: 25177
|
Forum: General CCS C Discussion Posted: Thu Feb 19, 2015 8:28 am Subject: PWM Problem |
i dont have any oscilloscope, and when i burn this code the motor rotate but the rpm is like 1 or less...but if i directly give
set_pwm1_duty(250);
instead of
set_pwm1_duty(a);
works fine. |
Topic: PWM Problem |
mazedm80
Replies: 16
Views: 25177
|
Forum: General CCS C Discussion Posted: Thu Feb 19, 2015 4:49 am Subject: PWM Problem |
#include <18f2520.h>
#fuses HS,NOWDT,NOPUT
#use delay (crystal = 20MHz)
#define R2 PIN_C0 //with ccp2
#define L2 PIN_C3 //with ccp1
int16 a=250;
int16 b=250;
void main ... |
Topic: PWM Problem |
mazedm80
Replies: 16
Views: 25177
|
Forum: General CCS C Discussion Posted: Wed Feb 18, 2015 9:31 am Subject: PWM Problem |
I'm having problem with pwm... I'm using L298 motor driver and PIC18F2550 mcu...
suppose
left_motor_speed=255;
right_motor_speed=255;
set_pwm1_duty(left_motor_speed); //Left Motor Sp ... |
|