Dangerous Prototypes

In development => Project development, ideas, and suggestions => Arduino => Topic started by: liyin on October 09, 2010, 05:49:45 pm

Title: MHVLib - Efficient Library for AVR MCU's
Post by: liyin on October 09, 2010, 05:49:45 pm
MHVLib - An Efficiency Oriented Library for AVR Microcontrollers

http://www.makehackvoid.com/group-projects/mhvlib-efficiency-oriented-library-avr-microcontrollers (http://http://www.makehackvoid.com/group-projects/mhvlib-efficiency-oriented-library-avr-microcontrollers)

Quote
Much of the efficiency gains comes from addressing some of the key design deficiencies of the Arduino runtime - we do not store pin/port information in tables in flash, needlessly preallocate objects nor dictate that excessively large buffers must be used. Instead, control of these are handed over to the developer at compile time. Our design philosophy is simple - whereas the Arduino trades off efficiency for ease of use, we are targetting experienced developers who want more from their systems, so we trade off ease of use for efficiency.

Whats Implemented:

- Digital I/O
- Timers
- Serial
- External Interrupts
- Servo control
- Analogue to digital
- Hardware PWM
- Software PWM Matrix (for passive LED matrices)
- Gamma correction - calculate on the fly, or lookup tables (recommended)
- Fast synchronous serial shifter (untested)
- Software H Bridge for driving naked transistors (with PWM support)
- Realtime Clock

To Do:

- Optimise servo library
- Add interrupt declarations for all microcontrollers
- Input Capture for timers
- Power Saving
- A/D Triggers
- SPI
- Documentation
- Full functionality of the Arduino runtime

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00922052128session_write_close ( )...(null):0
20.00952183720ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00952184496Database_MySQL->query( ).../DatabaseHandler.php:119
40.05472323232Database_MySQL->error( ).../Db-mysql.class.php:273