aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Unified analog, digital, and timer pin mappings to implement the mappingPerry Hung2010-03-231-5/+5
| | | | | | | | | we discussed. There's no such thing as A0-A15 anymore. You should now be able to do something like: unsigned int val; pinMode(15, INPUT_ANALOG); val = analogRead(15);
* Add a carriage return for println, remove it from the usart sendPerry Hung2010-03-221-1/+0
| | | | routine.
* modded the library makefile to work with patched dfu-util, also added the ↵ajmeyer@mit.edu2010-02-121-1/+4
| | | | | | USER_FLASH section to the rom linker git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@131 749a229e-a60e-11de-b98f-4500b42dc123
* Enabled 39 GPIOs for digitalWrite(), fixed timer/usart collisions on ↵iperry2010-01-171-21/+3
| | | | | | PWM/USART pins git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@120 749a229e-a60e-11de-b98f-4500b42dc123
* forgot to turn on the interrupt for usar3iperry2010-01-101-7/+13
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@110 749a229e-a60e-11de-b98f-4500b42dc123
* enabled serial3iperry2010-01-101-5/+17
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@109 749a229e-a60e-11de-b98f-4500b42dc123
* Tweaked makefile to get rid of silly make flags. Added a udev rule in ↵iperry2010-01-101-8/+5
| | | | | | support/ to eliminate sudo req for make program git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@105 749a229e-a60e-11de-b98f-4500b42dc123
* changed math.h to wiring_math.h to avoid collision with newlib's math libraryiperry2010-01-081-6/+9
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@99 749a229e-a60e-11de-b98f-4500b42dc123
* added a simpler main.cpp and moved the complicated stuff into a separate fileajmeyer@mit.edu2009-12-271-46/+8
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@88 749a229e-a60e-11de-b98f-4500b42dc123
* Fixed delayMicroseconds, changed serial interface, added an (untested) ↵iperry2009-12-251-5/+4
| | | | | | runtime check for pwm/serial collision, moved more headers around. git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@79 749a229e-a60e-11de-b98f-4500b42dc123
* added demo code on main.cpp to build a simple two way channel over the ↵ajmeyer@mit.edu2009-12-191-3/+23
| | | | | | virtual serial port. To use this, run ln -s /dev/ttyACM0 /dev/ttyS9 then open up Maple IDE and select ttyS9 as the serial port. you should be able to see the count of the number of bytes in as well as the blink message git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@78 749a229e-a60e-11de-b98f-4500b42dc123
* Added licensing. Moved lots of header files around. Added HardwareSerial ↵iperry2009-12-191-34/+15
| | | | | | reads, writes. Tweaked some of the util and assert functions. Added various useful routines for printing stuff to the serial port. Continued moving out stm32lib. Slightly more consistent naming, this will come in another change. git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@74 749a229e-a60e-11de-b98f-4500b42dc123
* fixed some minor naming issues in usb.c/h usb_serialWriteStr is nonfunctionalajmeyer@mit.edu2009-12-191-1/+7
| | | | git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@73 749a229e-a60e-11de-b98f-4500b42dc123
* Initial commit of library code, moved from leaftest repoiperry2009-12-171-0/+67
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@69 749a229e-a60e-11de-b98f-4500b42dc123