<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.mcselec.com/bavr/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.mcselec.com/bavr/index.php?action=history&amp;feed=atom&amp;title=How_To_Screen_Capture_-_FT800</id>
		<title>How To Screen Capture - FT800 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.mcselec.com/bavr/index.php?action=history&amp;feed=atom&amp;title=How_To_Screen_Capture_-_FT800"/>
		<link rel="alternate" type="text/html" href="http://wiki.mcselec.com/bavr/index.php?title=How_To_Screen_Capture_-_FT800&amp;action=history"/>
		<updated>2026-05-02T19:48:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.6</generator>

	<entry>
		<id>http://wiki.mcselec.com/bavr/index.php?title=How_To_Screen_Capture_-_FT800&amp;diff=4960&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;&lt;span class=&quot;f_Header&quot;&gt;How to Screen Capture&lt;/span&gt;  There is nothing better than been able to produce nice Screen captures from your Graphics Display (instead of using a came...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.mcselec.com/bavr/index.php?title=How_To_Screen_Capture_-_FT800&amp;diff=4960&amp;oldid=prev"/>
				<updated>2014-12-12T21:31:25Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;span class=&amp;quot;f_Header&amp;quot;&amp;gt;How to Screen Capture&amp;lt;/span&amp;gt;  There is nothing better than been able to produce nice Screen captures from your Graphics Display (instead of using a came...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;span class=&amp;quot;f_Header&amp;quot;&amp;gt;How to Screen Capture&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is nothing better than been able to produce nice Screen captures from your Graphics Display (instead of using a camera) when wanting to write a manual or a help file explaining the different screen operations/features at what they do.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The process is quite simple to implement into your program generating a Screen capture output. &amp;amp;nbsp;You can use the supplied code or you can modify the code and produce your own version.&lt;br /&gt;
&lt;br /&gt;
If you look at&amp;amp;nbsp;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;FT800 Capture.Bas&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;it demonstrates the Screen capture using two routines.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Sub ScreenShot: &amp;amp;nbsp;is a demo originally from James Bowman (Gameduino2) which takes a snapshot and just outputs the data via Serial (which you have to write your own PC serial capture program).&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Sub ScreenShot2: &amp;amp;nbsp;is the same as above except it uses additional control codes for handshaking and stopping the program. A sample PC (Windows) program called Capture FT800.exe demonstrate the capture process which when successful &amp;amp;nbsp;produces a BMP file.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Capture FT800.exe waits for a ACK to acknowledge a ready to receive message so transmission can start, once transfer begins and then finishes it receives a EOT acknowledge end of transmission., Additional to this if the user wants to stop/quit &amp;amp;nbsp;transmission the program will send an ESC character to notify the hardware to stop sending data .&lt;br /&gt;
&lt;br /&gt;
The easiest way to begin is to add Screenshot.inc &amp;amp;nbsp;to your code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bascomavr&amp;quot;&amp;gt;&lt;br /&gt;
$Include &amp;quot;FT800.inc&amp;quot;&lt;br /&gt;
$Include &amp;quot;FT800_Functions.inc&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
$Include &amp;quot;ScreenShot.inc&amp;quot; ' ç==== add this line&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then decide where in your program you want to call&amp;amp;nbsp;&amp;lt;span style=&amp;quot;color: rgb(255, 0, 0);&amp;quot;&amp;gt;ScreenShot2&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;so it can start the capturing process (working with Capture FT800.exe).&lt;br /&gt;
&lt;br /&gt;
This example it’s called at the end of the program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bascomavr&amp;quot;&amp;gt;&lt;br /&gt;
Do&lt;br /&gt;
 Demo&lt;br /&gt;
 Loop&lt;br /&gt;
&lt;br /&gt;
 ScreenShot2&lt;br /&gt;
 &lt;br /&gt;
 End&lt;br /&gt;
&lt;br /&gt;
This sample is called within a certain code area, straight after the screen is displayed.&lt;br /&gt;
 ClearScreen&lt;br /&gt;
 ColorRGB 255, 255, 255&lt;br /&gt;
 BitmapSource RAM_G&lt;br /&gt;
 BitmapLayout Header_Format(1+_base), Header_Stride(1+_base), Header_Height(1+_base)&lt;br /&gt;
 BitmapSize NEAREST, Border, Border, Header_Width(1+_base), Header_Height(1+_base)&lt;br /&gt;
 Begin_G BITMAPS ' start drawing bitmaps&lt;br /&gt;
 Const DA = FT_DispWidth / 4&lt;br /&gt;
 Ln1 = Header_Width(1+_base) / 2&lt;br /&gt;
 Const DB = FT_DispHeight / 2&lt;br /&gt;
 Ln2 = Header_Height(1+_base) / 2&lt;br /&gt;
 BMoffsetx = DA - Ln1&lt;br /&gt;
 BMoffsety = DB - Ln2&lt;br /&gt;
 Vertex2II BMoffsetx, BMoffsety, 0, 0&lt;br /&gt;
 UpdateScreen&lt;br /&gt;
&lt;br /&gt;
 ScreenShot2&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size: 11pt; font-family: Calibri;&amp;quot;&amp;gt;Using the&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-size: 11pt; font-family: Calibri; font-style: italic;&amp;quot;&amp;gt;Capture FT800.exe:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: when possible use the highest baud rate possible to decrease the wait time of receiving transmission. Don’t forget to make sure the Hardware baud rate matches the Capture FT800 baud rate! (it won’t time time out if wrong).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Embim3.png|center|Embim3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 0px; margin: 7px 0px 7px 24px;&amp;quot;&amp;gt;&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;baseline&amp;quot; style=&amp;quot;vertical-align: baseline;&amp;quot;&lt;br /&gt;
| width=&amp;quot;24&amp;quot; | &amp;lt;span style=&amp;quot;font-size: 11pt; font-family: Calibri;&amp;quot;&amp;gt;1)&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;font-size: 11pt; font-family: Calibri;&amp;quot;&amp;gt;Chose your Comm port&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;padding: 0px; margin: 7px 0px 7px 24px;&amp;quot;&amp;gt;&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;baseline&amp;quot; style=&amp;quot;vertical-align: baseline;&amp;quot;&lt;br /&gt;
| width=&amp;quot;24&amp;quot; | &amp;lt;span style=&amp;quot;font-size: 11pt; font-family: Calibri;&amp;quot;&amp;gt;2)&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;font-size: 11pt; font-family: Calibri;&amp;quot;&amp;gt;Select the Baud rate of your Hardware&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;padding: 0px; margin: 7px 0px 7px 24px;&amp;quot;&amp;gt;&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;baseline&amp;quot; style=&amp;quot;vertical-align: baseline;&amp;quot;&lt;br /&gt;
| width=&amp;quot;24&amp;quot; | &amp;lt;span style=&amp;quot;font-size: 11pt; font-family: Calibri;&amp;quot;&amp;gt;3)&amp;lt;/span&amp;gt;&lt;br /&gt;
| &amp;lt;span style=&amp;quot;font-size: 11pt; font-family: Calibri;&amp;quot;&amp;gt;You can either enter a filename or it can prompt you at the end of the capture.&amp;lt;/span&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;padding: 0px; margin: 7px 0px 7px 24px;&amp;quot;&amp;gt;&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;baseline&amp;quot; style=&amp;quot;vertical-align: baseline;&amp;quot;&lt;br /&gt;
| width=&amp;quot;24&amp;quot; | &amp;lt;span style=&amp;quot;font-size: 11pt; font-family: Calibri;&amp;quot;&amp;gt;4)&amp;lt;/span&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size: 11pt; font-family: Calibri;&amp;quot;&amp;gt;Press Start when ready, if successful you will see &amp;amp;nbsp;a message.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;{{Languages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:FT800]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>