Updated streaming scripts. Compiler compatibility for _delay_ms().

- Moved obsolete streaming scripts to folder for reference.

- Added a more complex Python streaming script which uses the serial
buffer as an additional streaming buffer.

- Removed all references to a _delay_ms(variable) to allow for better
porting across different compilers.
This commit is contained in:
Sonny Jeon
2012-01-27 19:48:46 -07:00
parent fca3fb4188
commit b86ba60a25
10 changed files with 109 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ void mc_dwell(double seconds)
{
uint16_t i = floor(seconds);
st_synchronize();
_delay_ms(floor(1000*(seconds-i))); // Delay millisecond remainder
delay_ms(floor(1000*(seconds-i))); // Delay millisecond remainder
while (i > 0) {
_delay_ms(1000); // Delay one second
i--;