Änderungen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche

LineCamPrinter

336 Byte hinzugefügt, 23:36, 9. Feb. 2019
/* Details of operation */
# TSL1401_ReadLine(): The analog values of the pixels can now be shifted out and read by the ADC. This is done using the ADC.h from Teensy to do it in very high speed. The minimum and maximum pixel values of the line will be determined and averaged over several line readings. These are used to bring the picture data to an always maximum contrast by mapping with the min and max data.
# After read-out, the process starts again at 2.
 
 
As long as the trigger button is pressed, every line gets further dithered using Floyd-Steinberg and send to the printer immediately. Because there is a long TX FIFO, the printing can continue even quite a while after capturing. However, as everything is done via interrupt, the capturing of new lines is still done with good timing.
== Code ==
https://github.com/hackffm/LineCamPrinter
1.995
Bearbeitungen