Commit graph

80 commits

Author SHA1 Message Date
Kai Lauterbach 1ceeaf0d1e Some more changes. 2011-12-10 00:50:28 +01:00
Kai Lauterbach beb8d0c4e2 Some more code size optimizations. 2011-12-10 00:50:28 +01:00
Kai Lauterbach 9aca5cf6f9 Code optimized for size. 2011-12-10 00:50:28 +01:00
Kai Lauterbach e6a5e55a3e Custom USB requests changed. 2011-12-10 00:50:28 +01:00
Aaron Mueller b92b8953a6 Fix a display issue with the wires 2011-12-10 00:50:28 +01:00
Aaron Mueller 37608b6b24 First working GTK + GL window 2011-12-10 00:50:28 +01:00
Aaron Mueller be7e61d679 Merge branch 'USB'
Conflicts:
	.gitignore
	firmware/Makefile
	pcb/miniledcube.brd
	pcb/miniledcube.sch
2011-12-07 21:32:42 +01:00
Aaron Mueller fa69c53f89 Merge branch 'klaute' into USB
Conflicts:
	firmware/main.c
	firmware/main.h
	firmware/usb.c
	firmware/usb.h
2011-12-07 21:28:41 +01:00
Kai Lauterbach f8242b9ae3 Delay call from mainloop removed because of faster
usb communication.
2011-12-07 21:16:47 +01:00
Kai Lauterbach 66c84c6415 Some sleep call's added. 2011-12-07 21:16:47 +01:00
Kai Lauterbach 28bd57a8fb Timeout reduced. 2011-12-07 21:16:46 +01:00
Kai Lauterbach 09f600f9e1 First implementation of the USB communication. 2011-12-07 21:16:46 +01:00
Kai Lauterbach 9a8082065a Simple test. 2011-12-07 21:16:46 +01:00
Kai Lauterbach 4697706a2c First stable usb connection lsusb report. 2011-12-07 21:16:46 +01:00
Kai Lauterbach c175dc0ad8 Some other files to ignore. 2011-12-07 21:16:46 +01:00
Kai Lauterbach 0a316aaed9 First working version of the ISR to control the LEDs. 2011-12-07 21:16:46 +01:00
Kai Lauterbach 15c681c7e3 A simple test program to simulate the bitshifting in the ISR. 2011-12-07 21:16:46 +01:00
Kai Lauterbach a0ae46b6c3 Copied changes from USB branch. 2011-12-07 21:16:46 +01:00
Kai Lauterbach 8a2a2d99ed First implementation of the new ISR. 2011-12-07 21:16:46 +01:00
klaute 58a7f12826 Timer configured and first implementation of the ISR. 2011-11-29 23:48:54 +01:00
Kai Lauterbach 87535e87e7 Just code formated. 2011-11-29 19:35:07 +01:00
Kai Lauterbach 4fb68b970a Merge branch 'USB' of github.com:klaute/Cthn.de-MiniLEDCube into USB 2011-11-11 19:34:12 +01:00
Kai Lauterbach 53d8a976bf Formatted... 2011-11-11 19:32:43 +01:00
Aaron Mueller c10808004c Start implementing the GUI for the 3D-LED-Cube 2011-11-08 22:32:09 +01:00
Kai Lauterbach 36e9290611 Missing description added. 2011-11-05 16:53:24 +01:00
Kai Lauterbach d5941812cc Changes from last meeting. 2011-11-05 16:52:02 +01:00
Kai Lauterbach 7cd1ac3d2e Timer/Counter calculations to configure the new timing requirements. 2011-11-05 16:49:02 +01:00
Kai Lauterbach 8ba8455abe Merge branch 'USB' of github.com:klaute/Cthn.de-MiniLEDCube into USB 2011-11-02 18:39:49 +01:00
Aaron Mueller 2694d9988f Implement the LED voltage switch.
LEDs can now be switched on or off with the mouse. The current
state of the LEd cube is saved in a array which can be easily
printed out to STDOUT.
2011-10-31 00:25:07 +01:00
Aaron Mueller 8e91376491 Merge branch 'USB' of github.com:klaute/Cthn.de-MiniLEDCube into USB 2011-10-30 23:59:15 +01:00
Aaron Mueller 37e885f02e Add the picking feature.
We can now select a LED on the screen and get the index of the LED.
To get the right index, we use the color picking technique mentioned
in the OpenGL RedBook. This works suprisingly pretty well (and fast!).
2011-10-30 23:55:53 +01:00
Aaron Mueller b2d11488fa Strip the resulting binary to redurce some space 2011-10-30 23:42:46 +01:00
Kai Lauterbach f5e5816444 iSome typo fixes and revision updates. 2011-10-30 19:09:20 +01:00
Kai Lauterbach 963a3e6063 Typo fixed. 2011-10-29 21:55:19 +02:00
Aaron Mueller 42e0200349 Merge branch 'USB' of github.com:klaute/Cthn.de-MiniLEDCube into USB 2011-10-23 21:44:42 +02:00
Aaron Mueller 5335603b15 Correct some lighting and make real LED models. 2011-10-23 21:43:54 +02:00
Kai Lauterbach db88825230 Unused resistor removed. 2011-10-23 21:17:01 +02:00
Kai Lauterbach b8d273667f Formated only. 2011-10-20 21:23:02 +02:00
Aaron Mueller c8e496195f Merge branch 'USB' of github.com:klaute/Cthn.de-MiniLEDCube into USB 2011-10-20 20:42:01 +02:00
Kai Lauterbach fc727bce52 Copy from master branch. 2011-10-20 20:40:45 +02:00
Aaron Mueller dc6b4346ce Fix the "zoom" problem and add some wires in between. 2011-10-20 20:28:00 +02:00
Kai Lauterbach 1750d585ee Old previous version restored and modified. 2011-10-20 19:27:28 +02:00
Kai Lauterbach b694d64ac1 New version without the usb schematic problem.
Board routing removed.
2011-10-20 19:20:22 +02:00
Kai Lauterbach e9e1883e5c Temporary eagle backupfiles are now ignored. 2011-10-20 19:18:14 +02:00
Kai Lauterbach ded949d06d Formated only. 2011-10-20 19:12:26 +02:00
Aaron Mueller 1b468b8c22 Start implementing a 3D GUI to configure the cube.
The idea is to use OpenGL and some simple C code to display a 3D cube.
With the mouse you can define which LED should be on or off on a
particular frame. With this technique, you can define whole sequences of
frames to form animations.
2011-10-19 01:10:15 +02:00
Kai Lauterbach d7dedd3baa Clean up the testcode 2011-10-19 01:05:16 +02:00
Kai Lauterbach 9ce06c0292 Major changes on the core of the framework from klaute
* Some interferrences with the two timers (usb/led)
* Big cleanup from the codebase and separate logical parts
* Documenting the code
* Big space optimizations on the code to fit on the AVR
2011-10-19 01:05:16 +02:00
Kai Lauterbach ef1aa32741 Initial commit of the VUSB custom request client. 2011-10-19 01:05:16 +02:00
Kai Lauterbach 1c740255d5 Cleaned... 2011-10-19 01:05:16 +02:00