Thread: Dashboard?
View Single Post
  #4   Spotlight this post!  
Unread 12-07-2003, 01:25
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
Hmm. Could you mux it like this?

Code:
var counter byte
counter = 0

mainloop:

select ( counter // 5 )
case 0:  outh = 255
case 1:  outh = pwm1
case 2:  outh = pwm2
case 3:  outh = pwm3
case 4:  outh = pwm4
endselect

counter = counter + 1

goto mainloop
Considering that the RC runs at ~40Hz, if you output four PWM values, along with a sync value (might be unnecessary), you'd get ~8 output values per second.

I have never written a dashboard program, so I don't know the intricacies of doing this kind of thing. Sorry. Just a random thought.
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos