Sonny J
110faae986
More '%' modulo opertor removals and some housecleaning.
...
- Serial functions contained quite a few modulo operations that would
be executed with high frequency when streaming. AVR processors are very
slow when operating these. In one test on the Arduino forums, it showed
about a 15x slow down compared to a simple if-then statement. -
Clarified some variable names and types and comments.
2011-09-15 20:32:15 -06:00
Simen Svale Skogsrud
553c44a93f
Fixed serial.c after tests on real hardware
2011-06-05 20:54:23 +02:00
Simen Svale Skogsrud
f0843db46e
refactored printIntegerInBase to work without a buffer + minor cleanup
2011-06-03 21:50:02 +02:00
Simen Svale Skogsrud
69be1240be
refactored a complex comment
2011-06-03 15:43:14 +02:00
Simen Svale Skogsrud
bfe7a2ad84
flossed the serial module
2011-06-03 15:42:28 +02:00
Simen Svale Skogsrud
5eea9f4c7c
pruned extraneous comment
2011-06-03 15:33:56 +02:00
Simen Svale Skogsrud
9a5fed4fda
changed file headers to reflect the totally refactored state of the serial and print modules
2011-06-03 15:31:59 +02:00
Simen Svale Skogsrud
c0b4b8309a
cleaned up serial completing support for non blocking tx and refactoring formatting functions into a new module 'print'
2011-06-03 15:28:14 +02:00
Simen Svale Skogsrud
8793b555e0
cleaned up data types in serial module, all data now uint8_t
2011-06-01 09:45:15 +02:00
Simen Svale Skogsrud
ee3139d283
changed serialAvailable to serialAnyAvailable which does not calculate the number of bytes, only if there are any at all
2011-06-01 09:36:15 +02:00
Simen Svale Skogsrud
defabc80ed
renamed wiring_serial to serial to reflect its complete remake
2011-05-31 22:45:38 +02:00