|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Issues with Generate_Pwms() function
Hi there, guys and girls!
While we were trying to make our robot move autonomously, we discovered we can't do anything without the (hidden) Generate_Pwms function. When we use this function and give the neutral (127) value to the motors they don't move but start to spontaneously tick for a ms every couple of seconds. If you came across a similar problem, please let us know - preferablly with your solution. If not, feel free to send us any thoughts or ideas that might help. Thanks a lot, Team Steampunk, #1577 (Raanana, Israel) ![]() |
|
#2
|
|||||
|
|||||
|
Re: Issues with Generate_Pwms() function
Quote:
Basically, PWMs 13-16 aren't true PWMs, they're faked. If you have interupts enabled, then these are probably screwed up. As for the solution, the best one is probably to not use PWMs 13-16. It has been mentioned in other threads. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Example gyro code released. | Kevin Watson | Programming | 60 | 17-03-2005 18:32 |
| RoboEmu2(code simulator)--now with C! | rbayer | Programming | 23 | 17-02-2005 09:17 |
| PHP to ASP function | Raven_Writer | Website Design/Showcase | 2 | 12-04-2004 10:04 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |
| issues with if then else | Andrew Rudolph | Programming | 1 | 15-01-2003 09:15 |