Changing renard pic...
 
Notifications
Clear all

Changing renard pic code issues

37 Posts
7 Users
0 Reactions
26.8 K Views
Posts: 1168
(@keith-r)
Noble Member
Joined: 19 years ago
will3ishere wrote:if there needs to be a change what would it be

;; PWM_build can be either 0 or 1
#define PWM_build 1
;; DC_build can be either 0 or 1 (it should be 0 if PWM_build is 0)
#define DC_build 0

#define CLOCKRATE 18432000
#define BAUDRATE 57600
this is straight from the wiki, trying to make baud rate 115200

If your #define PWM_build 1
then, #define DC_build 1 This is how it should read.


Reply
Posts: 2215
(@ctmal)
Famed Member
Joined: 19 years ago
Keith R wrote:If your #define PWM_build 1
then, #define DC_build 1 This is how it should read.

No, it is correct in the wiki. DC_build should only be 1 if you are using a DC setup. if you are using AC it has to be 0. If you are using a DC build then PWM_build has to be 1. If using an AC build, PWM can be 1 or 0 but DC_Build has to be 0.


Reply
Posts: 2215
(@ctmal)
Famed Member
Joined: 19 years ago
will3ishere wrote:Well when I do that, save it, compile it, program the pic, play a program with vixen I get no blinky from the controller

Sent from my iPhone using Tapatalk

If you successfully create the build and flash the pic, did you set the baud rate in Vixen and Windows Device Manager to the correct baud rates? Does it work if you leave it at 57600? Is this a known working controller?


Reply
will3ishere
Posts: 327
Topic starter
(@will3ishere)
Reputable Member
Joined: 18 years ago

Yes, the controller works, when set at 57600

Sent from my iPhone using Tapatalk


Reply
will3ishere
Posts: 327
Topic starter
(@will3ishere)
Reputable Member
Joined: 18 years ago

man this is driving me nucking futs. I downloaded the 115200 file from the file library and still no blink, i can make it work set to 57600?


Reply
Page 5 / 8
Share: