Pages: [1]   Go Down
Author Topic: swapping ide  (Read 599 times)
0 Members and 1 Guest are viewing this topic.
Georgia
Offline Offline
Newbie
*
Karma: 0
Posts: 28
I get by with lots of help from my friends
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Is it possible some way to program a due with Leaf Labs IDE as they have better commands. Or at   least give due the pwm write command from the leaf ide?

I really have to get my project moving in one direction or an other soon.
Logged

Offline Offline
Newbie
*
Karma: 2
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's not possible to program the due with the maple-ide as they use another processor. Getting the pwm feature from the maple-ide is possible, but it would probably be less work the rewrite the arduino-ide analogWrite command and add a set_pwm_freq command.
So as I see it you can either..
1. use the maple.
2. write your own function that sets the freq of the pwm as well as the duty value.
3. wait till the arduino guys has done something about it.

I've seen on your blog that you are designing a shield for it, one alternative would be to make the shield for the due and just use wires to connect the maple for now.
Logged

Pages: [1]   Go Up
Jump to: