WEBVTT
Kind: captions
Language: en

00:00:00.399 --> 00:00:03.189 align:start position:0%
 
hello<00:00:00.719><c> everyone</c><00:00:01.599><c> it</c><00:00:01.760><c> has</c><00:00:02.000><c> been</c><00:00:02.159><c> a</c><00:00:02.240><c> while</c><00:00:02.960><c> this</c>

00:00:03.189 --> 00:00:03.199 align:start position:0%
hello everyone it has been a while this
 

00:00:03.199 --> 00:00:04.870 align:start position:0%
hello everyone it has been a while this
video<00:00:03.520><c> i</c><00:00:03.600><c> would</c><00:00:03.760><c> like</c><00:00:03.840><c> to</c><00:00:04.000><c> share</c><00:00:04.319><c> one</c><00:00:04.560><c> of</c><00:00:04.720><c> the</c>

00:00:04.870 --> 00:00:04.880 align:start position:0%
video i would like to share one of the
 

00:00:04.880 --> 00:00:07.749 align:start position:0%
video i would like to share one of the
projects<00:00:05.359><c> i</c><00:00:05.440><c> finished</c><00:00:05.839><c> recently</c><00:00:06.720><c> el</c><00:00:07.120><c> term</c>

00:00:07.749 --> 00:00:07.759 align:start position:0%
projects i finished recently el term
 

00:00:07.759 --> 00:00:09.750 align:start position:0%
projects i finished recently el term
which<00:00:08.000><c> stand</c><00:00:08.320><c> for</c><00:00:08.679><c> electroluminescence</c>

00:00:09.750 --> 00:00:09.760 align:start position:0%
which stand for electroluminescence
 

00:00:09.760 --> 00:00:12.509 align:start position:0%
which stand for electroluminescence
terminal<00:00:10.800><c> i</c><00:00:10.960><c> bought</c><00:00:11.200><c> these</c><00:00:11.519><c> planar</c>

00:00:12.509 --> 00:00:12.519 align:start position:0%
terminal i bought these planar
 

00:00:12.519 --> 00:00:15.910 align:start position:0%
terminal i bought these planar
640x480<00:00:13.639><c> electroluminescent</c><00:00:14.639><c> screens</c><00:00:15.599><c> a</c><00:00:15.759><c> few</c>

00:00:15.910 --> 00:00:15.920 align:start position:0%
640x480 electroluminescent screens a few
 

00:00:15.920 --> 00:00:17.109 align:start position:0%
640x480 electroluminescent screens a few
months<00:00:16.240><c> back</c>

00:00:17.109 --> 00:00:17.119 align:start position:0%
months back
 

00:00:17.119 --> 00:00:19.590 align:start position:0%
months back
this<00:00:17.440><c> play</c><00:00:17.680><c> is</c><00:00:17.840><c> sort</c><00:00:18.000><c> of</c><00:00:18.240><c> similar</c><00:00:18.720><c> to</c><00:00:18.960><c> olad</c><00:00:19.439><c> but</c>

00:00:19.590 --> 00:00:19.600 align:start position:0%
this play is sort of similar to olad but
 

00:00:19.600 --> 00:00:22.390 align:start position:0%
this play is sort of similar to olad but
it's<00:00:19.760><c> monochrome</c><00:00:20.880><c> these</c><00:00:21.119><c> dot</c><00:00:21.359><c> matrix</c><00:00:21.920><c> screens</c>

00:00:22.390 --> 00:00:22.400 align:start position:0%
it's monochrome these dot matrix screens
 

00:00:22.400 --> 00:00:25.269 align:start position:0%
it's monochrome these dot matrix screens
typically<00:00:23.039><c> emit</c><00:00:23.439><c> yellow</c><00:00:23.760><c> or</c><00:00:23.920><c> amberish</c><00:00:24.560><c> color</c>

00:00:25.269 --> 00:00:25.279 align:start position:0%
typically emit yellow or amberish color
 

00:00:25.279 --> 00:00:28.230 align:start position:0%
typically emit yellow or amberish color
but<00:00:25.519><c> there</c><00:00:25.760><c> are</c><00:00:26.080><c> also</c><00:00:26.400><c> models</c><00:00:27.359><c> with</c>

00:00:28.230 --> 00:00:28.240 align:start position:0%
but there are also models with
 

00:00:28.240 --> 00:00:30.550 align:start position:0%
but there are also models with
red<00:00:28.560><c> and</c><00:00:28.640><c> green</c><00:00:29.039><c> dual</c><00:00:29.359><c> color</c><00:00:30.080><c> naturally</c><00:00:30.480><c> i</c>

00:00:30.550 --> 00:00:30.560 align:start position:0%
red and green dual color naturally i
 

00:00:30.560 --> 00:00:32.310 align:start position:0%
red and green dual color naturally i
would<00:00:30.720><c> like</c><00:00:30.960><c> to</c><00:00:31.279><c> make</c><00:00:31.519><c> something</c><00:00:31.920><c> with</c><00:00:32.079><c> this</c>

00:00:32.310 --> 00:00:32.320 align:start position:0%
would like to make something with this
 

00:00:32.320 --> 00:00:35.030 align:start position:0%
would like to make something with this
screen<00:00:32.960><c> and</c><00:00:33.120><c> i</c><00:00:33.200><c> decided</c><00:00:33.680><c> to</c><00:00:34.320><c> make</c><00:00:34.559><c> a</c><00:00:34.640><c> serial</c>

00:00:35.030 --> 00:00:35.040 align:start position:0%
screen and i decided to make a serial
 

00:00:35.040 --> 00:00:38.150 align:start position:0%
screen and i decided to make a serial
terminal<00:00:35.440><c> with</c><00:00:35.680><c> it</c><00:00:36.160><c> so</c><00:00:36.480><c> let's</c><00:00:36.719><c> get</c><00:00:36.960><c> started</c>

00:00:38.150 --> 00:00:38.160 align:start position:0%
terminal with it so let's get started
 

00:00:38.160 --> 00:00:40.470 align:start position:0%
terminal with it so let's get started
this<00:00:38.399><c> video</c><00:00:38.719><c> contains</c><00:00:39.200><c> the</c><00:00:39.280><c> following</c><00:00:39.680><c> parts</c>

00:00:40.470 --> 00:00:40.480 align:start position:0%
this video contains the following parts
 

00:00:40.480 --> 00:00:42.950 align:start position:0%
this video contains the following parts
processor<00:00:40.960><c> selection</c><00:00:41.840><c> overall</c><00:00:42.239><c> design</c>

00:00:42.950 --> 00:00:42.960 align:start position:0%
processor selection overall design
 

00:00:42.960 --> 00:00:45.110 align:start position:0%
processor selection overall design
making<00:00:43.360><c> hardware</c><00:00:44.239><c> writing</c><00:00:44.559><c> the</c><00:00:44.640><c> driver</c><00:00:44.960><c> for</c>

00:00:45.110 --> 00:00:45.120 align:start position:0%
making hardware writing the driver for
 

00:00:45.120 --> 00:00:47.430 align:start position:0%
making hardware writing the driver for
the<00:00:45.200><c> er</c><00:00:45.600><c> screen</c><00:00:46.320><c> implement</c><00:00:46.879><c> the</c><00:00:47.039><c> serial</c>

00:00:47.430 --> 00:00:47.440 align:start position:0%
the er screen implement the serial
 

00:00:47.440 --> 00:00:49.750 align:start position:0%
the er screen implement the serial
terminal<00:00:48.000><c> and</c><00:00:48.160><c> final</c><00:00:48.399><c> result</c>

00:00:49.750 --> 00:00:49.760 align:start position:0%
terminal and final result
 

00:00:49.760 --> 00:00:52.069 align:start position:0%
terminal and final result
first<00:00:50.160><c> is</c><00:00:50.320><c> about</c><00:00:50.640><c> processor</c><00:00:51.120><c> selection</c><00:00:51.920><c> i</c>

00:00:52.069 --> 00:00:52.079 align:start position:0%
first is about processor selection i
 

00:00:52.079 --> 00:00:53.830 align:start position:0%
first is about processor selection i
would<00:00:52.239><c> like</c><00:00:52.399><c> to</c><00:00:52.559><c> implement</c><00:00:53.039><c> the</c><00:00:53.280><c> whole</c><00:00:53.600><c> thing</c>

00:00:53.830 --> 00:00:53.840 align:start position:0%
would like to implement the whole thing
 

00:00:53.840 --> 00:00:55.670 align:start position:0%
would like to implement the whole thing
with<00:00:54.000><c> just</c><00:00:54.239><c> a</c><00:00:54.320><c> microcontroller</c>

00:00:55.670 --> 00:00:55.680 align:start position:0%
with just a microcontroller
 

00:00:55.680 --> 00:00:58.310 align:start position:0%
with just a microcontroller
the<00:00:56.160><c> serial</c><00:00:56.559><c> terminal</c><00:00:56.960><c> part</c><00:00:57.280><c> should</c><00:00:57.440><c> be</c><00:00:57.680><c> okay</c>

00:00:58.310 --> 00:00:58.320 align:start position:0%
the serial terminal part should be okay
 

00:00:58.320 --> 00:01:00.950 align:start position:0%
the serial terminal part should be okay
the<00:00:58.640><c> original</c><00:00:59.120><c> vt220</c><00:01:00.000><c> was</c><00:01:00.320><c> based</c><00:01:00.719><c> on</c>

00:01:00.950 --> 00:01:00.960 align:start position:0%
the original vt220 was based on
 

00:01:00.960 --> 00:01:03.590 align:start position:0%
the original vt220 was based on
microcontroller<00:01:01.760><c> anyway</c><00:01:02.640><c> but</c><00:01:03.039><c> refreshing</c>

00:01:03.590 --> 00:01:03.600 align:start position:0%
microcontroller anyway but refreshing
 

00:01:03.600 --> 00:01:05.990 align:start position:0%
microcontroller anyway but refreshing
the<00:01:03.760><c> screen</c><00:01:04.239><c> might</c><00:01:04.479><c> not</c><00:01:05.280><c> most</c><00:01:05.519><c> of</c><00:01:05.600><c> the</c><00:01:05.760><c> dot</c>

00:01:05.990 --> 00:01:06.000 align:start position:0%
the screen might not most of the dot
 

00:01:06.000 --> 00:01:07.910 align:start position:0%
the screen might not most of the dot
matrix<00:01:06.400><c> screen</c><00:01:06.720><c> technology</c><00:01:07.360><c> requires</c>

00:01:07.910 --> 00:01:07.920 align:start position:0%
matrix screen technology requires
 

00:01:07.920 --> 00:01:11.109 align:start position:0%
matrix screen technology requires
constant<00:01:08.320><c> refreshing</c><00:01:09.360><c> like</c><00:01:09.680><c> at</c><00:01:09.920><c> 60</c><00:01:10.320><c> hertz</c>

00:01:11.109 --> 00:01:11.119 align:start position:0%
constant refreshing like at 60 hertz
 

00:01:11.119 --> 00:01:13.109 align:start position:0%
constant refreshing like at 60 hertz
screen<00:01:11.439><c> modules</c><00:01:11.920><c> that's</c><00:01:12.159><c> commonly</c><00:01:12.560><c> used</c><00:01:12.880><c> with</c>

00:01:13.109 --> 00:01:13.119 align:start position:0%
screen modules that's commonly used with
 

00:01:13.119 --> 00:01:15.030 align:start position:0%
screen modules that's commonly used with
microcontrollers<00:01:14.080><c> are</c><00:01:14.400><c> typically</c>

00:01:15.030 --> 00:01:15.040 align:start position:0%
microcontrollers are typically
 

00:01:15.040 --> 00:01:17.510 align:start position:0%
microcontrollers are typically
self-refreshed<00:01:15.920><c> screens</c><00:01:16.640><c> the</c><00:01:16.799><c> screen</c><00:01:17.119><c> module</c>

00:01:17.510 --> 00:01:17.520 align:start position:0%
self-refreshed screens the screen module
 

00:01:17.520 --> 00:01:19.670 align:start position:0%
self-refreshed screens the screen module
has<00:01:17.759><c> its</c><00:01:17.920><c> own</c><00:01:18.080><c> memory</c><00:01:18.479><c> and</c><00:01:18.560><c> controller</c><00:01:19.439><c> and</c>

00:01:19.670 --> 00:01:19.680 align:start position:0%
has its own memory and controller and
 

00:01:19.680 --> 00:01:21.350 align:start position:0%
has its own memory and controller and
would<00:01:19.920><c> refresh</c><00:01:20.400><c> from</c><00:01:20.640><c> its</c><00:01:20.799><c> own</c><00:01:20.960><c> memory</c>

00:01:21.350 --> 00:01:21.360 align:start position:0%
would refresh from its own memory
 

00:01:21.360 --> 00:01:23.590 align:start position:0%
would refresh from its own memory
without<00:01:21.680><c> microcontroller</c><00:01:22.479><c> interpretation</c>

00:01:23.590 --> 00:01:23.600 align:start position:0%
without microcontroller interpretation
 

00:01:23.600 --> 00:01:24.789 align:start position:0%
without microcontroller interpretation
for<00:01:23.840><c> example</c>

00:01:24.789 --> 00:01:24.799 align:start position:0%
for example
 

00:01:24.799 --> 00:01:27.350 align:start position:0%
for example
like<00:01:25.040><c> these</c><00:01:25.360><c> oled</c><00:01:25.759><c> modules</c><00:01:26.560><c> well</c><00:01:26.799><c> the</c><00:01:26.880><c> oled</c>

00:01:27.350 --> 00:01:27.360 align:start position:0%
like these oled modules well the oled
 

00:01:27.360 --> 00:01:30.149 align:start position:0%
like these oled modules well the oled
needs<00:01:27.600><c> to</c><00:01:27.759><c> be</c><00:01:28.320><c> constantly</c><00:01:28.960><c> refreshed</c><00:01:29.840><c> i</c><00:01:30.000><c> could</c>

00:01:30.149 --> 00:01:30.159 align:start position:0%
needs to be constantly refreshed i could
 

00:01:30.159 --> 00:01:32.310 align:start position:0%
needs to be constantly refreshed i could
just<00:01:30.400><c> disconnect</c><00:01:31.200><c> my</c><00:01:31.360><c> controller</c><00:01:32.079><c> and</c><00:01:32.240><c> it</c>

00:01:32.310 --> 00:01:32.320 align:start position:0%
just disconnect my controller and it
 

00:01:32.320 --> 00:01:33.749 align:start position:0%
just disconnect my controller and it
keeps<00:01:32.640><c> display</c>

00:01:33.749 --> 00:01:33.759 align:start position:0%
keeps display
 

00:01:33.759 --> 00:01:35.670 align:start position:0%
keeps display
there<00:01:34.079><c> exists</c><00:01:34.479><c> self</c><00:01:34.799><c> refreshing</c><00:01:35.360><c> yellow</c>

00:01:35.670 --> 00:01:35.680 align:start position:0%
there exists self refreshing yellow
 

00:01:35.680 --> 00:01:38.870 align:start position:0%
there exists self refreshing yellow
screens<00:01:36.479><c> but</c><00:01:36.880><c> this</c><00:01:37.200><c> one</c><00:01:37.439><c> i</c><00:01:37.600><c> have</c><00:01:38.000><c> isn't</c><00:01:38.720><c> it</c>

00:01:38.870 --> 00:01:38.880 align:start position:0%
screens but this one i have isn't it
 

00:01:38.880 --> 00:01:41.910 align:start position:0%
screens but this one i have isn't it
demands<00:01:39.360><c> to</c><00:01:39.520><c> be</c><00:01:39.759><c> refreshed</c><00:01:40.320><c> at</c><00:01:40.400><c> 120</c><00:01:41.280><c> hertz</c>

00:01:41.910 --> 00:01:41.920 align:start position:0%
demands to be refreshed at 120 hertz
 

00:01:41.920 --> 00:01:43.670 align:start position:0%
demands to be refreshed at 120 hertz
which<00:01:42.159><c> means</c><00:01:42.399><c> the</c><00:01:42.479><c> microcontroller</c><00:01:43.280><c> needs</c><00:01:43.520><c> to</c>

00:01:43.670 --> 00:01:43.680 align:start position:0%
which means the microcontroller needs to
 

00:01:43.680 --> 00:01:45.910 align:start position:0%
which means the microcontroller needs to
continuously<00:01:44.399><c> pushing</c><00:01:44.799><c> data</c><00:01:45.119><c> to</c><00:01:45.280><c> the</c><00:01:45.360><c> screen</c>

00:01:45.910 --> 00:01:45.920 align:start position:0%
continuously pushing data to the screen
 

00:01:45.920 --> 00:01:48.710 align:start position:0%
continuously pushing data to the screen
at<00:01:46.079><c> 120</c><00:01:46.560><c> hertz</c><00:01:47.360><c> this</c><00:01:47.600><c> puts</c><00:01:47.840><c> some</c><00:01:48.079><c> requirements</c>

00:01:48.710 --> 00:01:48.720 align:start position:0%
at 120 hertz this puts some requirements
 

00:01:48.720 --> 00:01:51.190 align:start position:0%
at 120 hertz this puts some requirements
on<00:01:48.799><c> the</c><00:01:48.880><c> microcontroller</c><00:01:49.840><c> it</c><00:01:50.159><c> has</c><00:01:50.479><c> to</c><00:01:50.720><c> either</c>

00:01:51.190 --> 00:01:51.200 align:start position:0%
on the microcontroller it has to either
 

00:01:51.200 --> 00:01:53.910 align:start position:0%
on the microcontroller it has to either
hold<00:01:51.520><c> the</c><00:01:52.079><c> entire</c><00:01:52.479><c> frame</c><00:01:52.720><c> buffer</c><00:01:53.119><c> in</c><00:01:53.200><c> the</c><00:01:53.360><c> ram</c>

00:01:53.910 --> 00:01:53.920 align:start position:0%
hold the entire frame buffer in the ram
 

00:01:53.920 --> 00:01:56.149 align:start position:0%
hold the entire frame buffer in the ram
or<00:01:54.159><c> it</c><00:01:54.320><c> could</c><00:01:54.479><c> generate</c><00:01:54.960><c> image</c><00:01:55.280><c> data</c><00:01:55.920><c> and</c>

00:01:56.149 --> 00:01:56.159 align:start position:0%
or it could generate image data and
 

00:01:56.159 --> 00:01:58.469 align:start position:0%
or it could generate image data and
screen<00:01:56.560><c> refreshing</c><00:01:57.119><c> speed</c>

00:01:58.469 --> 00:01:58.479 align:start position:0%
screen refreshing speed
 

00:01:58.479 --> 00:02:00.550 align:start position:0%
screen refreshing speed
both<00:01:58.799><c> works</c><00:01:59.280><c> but</c><00:01:59.520><c> being</c><00:01:59.759><c> able</c><00:02:00.000><c> to</c><00:02:00.159><c> store</c><00:02:00.479><c> the</c>

00:02:00.550 --> 00:02:00.560 align:start position:0%
both works but being able to store the
 

00:02:00.560 --> 00:02:02.149 align:start position:0%
both works but being able to store the
frame<00:02:00.799><c> buffer</c><00:02:01.200><c> would</c><00:02:01.439><c> be</c><00:02:01.680><c> a</c><00:02:01.759><c> bit</c><00:02:02.000><c> more</c>

00:02:02.149 --> 00:02:02.159 align:start position:0%
frame buffer would be a bit more
 

00:02:02.159 --> 00:02:03.350 align:start position:0%
frame buffer would be a bit more
flexible

00:02:03.350 --> 00:02:03.360 align:start position:0%
flexible
 

00:02:03.360 --> 00:02:05.429 align:start position:0%
flexible
then<00:02:03.600><c> it</c><00:02:03.680><c> should</c><00:02:03.920><c> also</c><00:02:04.320><c> be</c><00:02:04.560><c> able</c><00:02:04.799><c> to</c><00:02:04.960><c> generate</c>

00:02:05.429 --> 00:02:05.439 align:start position:0%
then it should also be able to generate
 

00:02:05.439 --> 00:02:07.350 align:start position:0%
then it should also be able to generate
the<00:02:05.600><c> timing</c><00:02:06.000><c> needed</c><00:02:06.240><c> by</c><00:02:06.399><c> the</c><00:02:06.560><c> screen</c>

00:02:07.350 --> 00:02:07.360 align:start position:0%
the timing needed by the screen
 

00:02:07.360 --> 00:02:10.150 align:start position:0%
the timing needed by the screen
obviously<00:02:07.920><c> one</c><00:02:08.160><c> could</c><00:02:08.399><c> do</c><00:02:08.560><c> this</c><00:02:08.800><c> with</c><00:02:09.039><c> an</c><00:02:09.200><c> fpga</c>

00:02:10.150 --> 00:02:10.160 align:start position:0%
obviously one could do this with an fpga
 

00:02:10.160 --> 00:02:12.949 align:start position:0%
obviously one could do this with an fpga
and<00:02:10.319><c> i</c><00:02:10.399><c> do</c><00:02:10.640><c> have</c><00:02:10.879><c> an</c><00:02:11.039><c> fpga</c><00:02:11.920><c> video</c><00:02:12.319><c> coming</c><00:02:12.640><c> up</c><00:02:12.879><c> in</c>

00:02:12.949 --> 00:02:12.959 align:start position:0%
and i do have an fpga video coming up in
 

00:02:12.959 --> 00:02:14.070 align:start position:0%
and i do have an fpga video coming up in
the<00:02:13.120><c> future</c>

00:02:14.070 --> 00:02:14.080 align:start position:0%
the future
 

00:02:14.080 --> 00:02:16.070 align:start position:0%
the future
but<00:02:14.319><c> that's</c><00:02:14.560><c> for</c><00:02:14.720><c> another</c><00:02:15.120><c> time</c><00:02:15.599><c> for</c><00:02:15.840><c> this</c>

00:02:16.070 --> 00:02:16.080 align:start position:0%
but that's for another time for this
 

00:02:16.080 --> 00:02:18.390 align:start position:0%
but that's for another time for this
time<00:02:16.560><c> many</c><00:02:16.879><c> of</c><00:02:16.959><c> the</c><00:02:17.120><c> 32-bit</c><00:02:17.680><c> mic</c><00:02:17.840><c> controllers</c>

00:02:18.390 --> 00:02:18.400 align:start position:0%
time many of the 32-bit mic controllers
 

00:02:18.400 --> 00:02:21.430 align:start position:0%
time many of the 32-bit mic controllers
work<00:02:18.640><c> here</c><00:02:19.200><c> i</c><00:02:19.360><c> chose</c><00:02:20.000><c> the</c><00:02:20.160><c> rp2040</c><00:02:21.200><c> from</c>

00:02:21.430 --> 00:02:21.440 align:start position:0%
work here i chose the rp2040 from
 

00:02:21.440 --> 00:02:22.949 align:start position:0%
work here i chose the rp2040 from
raspberry<00:02:21.920><c> pi</c>

00:02:22.949 --> 00:02:22.959 align:start position:0%
raspberry pi
 

00:02:22.959 --> 00:02:25.510 align:start position:0%
raspberry pi
here<00:02:23.120><c> are</c><00:02:23.280><c> the</c><00:02:23.360><c> main</c><00:02:23.599><c> specs</c><00:02:24.000><c> for</c><00:02:24.080><c> the</c><00:02:24.239><c> rp2040</c>

00:02:25.510 --> 00:02:25.520 align:start position:0%
here are the main specs for the rp2040
 

00:02:25.520 --> 00:02:28.630 align:start position:0%
here are the main specs for the rp2040
dual<00:02:25.840><c> core</c><00:02:26.080><c> cortex</c><00:02:26.560><c> m0</c><00:02:27.200><c> 264</c><00:02:27.920><c> kilobytes</c><00:02:28.480><c> of</c>

00:02:28.630 --> 00:02:28.640 align:start position:0%
dual core cortex m0 264 kilobytes of
 

00:02:28.640 --> 00:02:31.589 align:start position:0%
dual core cortex m0 264 kilobytes of
sram<00:02:29.280><c> no</c><00:02:29.520><c> internal</c><00:02:29.920><c> flash</c><00:02:30.319><c> excuse</c><00:02:30.959><c> code</c><00:02:31.280><c> from</c>

00:02:31.589 --> 00:02:31.599 align:start position:0%
sram no internal flash excuse code from
 

00:02:31.599 --> 00:02:33.990 align:start position:0%
sram no internal flash excuse code from
spy<00:02:31.920><c> flash</c><00:02:32.640><c> the</c><00:02:32.800><c> most</c><00:02:33.120><c> important</c><00:02:33.599><c> part</c><00:02:33.840><c> for</c>

00:02:33.990 --> 00:02:34.000 align:start position:0%
spy flash the most important part for
 

00:02:34.000 --> 00:02:37.110 align:start position:0%
spy flash the most important part for
this<00:02:34.239><c> project</c><00:02:34.720><c> is</c><00:02:34.879><c> it</c><00:02:35.120><c> has</c><00:02:35.440><c> the</c><00:02:35.599><c> pio</c><00:02:36.720><c> which</c><00:02:36.959><c> is</c>

00:02:37.110 --> 00:02:37.120 align:start position:0%
this project is it has the pio which is
 

00:02:37.120 --> 00:02:39.830 align:start position:0%
this project is it has the pio which is
a<00:02:37.200><c> micro</c><00:02:37.599><c> code</c><00:02:37.920><c> programmable</c><00:02:38.480><c> io</c><00:02:38.800><c> module</c><00:02:39.760><c> i</c>

00:02:39.830 --> 00:02:39.840 align:start position:0%
a micro code programmable io module i
 

00:02:39.840 --> 00:02:41.589 align:start position:0%
a micro code programmable io module i
will<00:02:40.080><c> show</c><00:02:40.239><c> how</c><00:02:40.480><c> to</c><00:02:40.640><c> use</c><00:02:40.879><c> it</c><00:02:41.040><c> to</c><00:02:41.200><c> drive</c><00:02:41.440><c> the</c>

00:02:41.589 --> 00:02:41.599 align:start position:0%
will show how to use it to drive the
 

00:02:41.599 --> 00:02:42.550 align:start position:0%
will show how to use it to drive the
screen

00:02:42.550 --> 00:02:42.560 align:start position:0%
screen
 

00:02:42.560 --> 00:02:44.150 align:start position:0%
screen
now<00:02:42.800><c> let's</c><00:02:43.040><c> take</c><00:02:43.200><c> a</c><00:02:43.280><c> look</c><00:02:43.519><c> at</c><00:02:43.599><c> the</c><00:02:43.760><c> overall</c>

00:02:44.150 --> 00:02:44.160 align:start position:0%
now let's take a look at the overall
 

00:02:44.160 --> 00:02:46.229 align:start position:0%
now let's take a look at the overall
design<00:02:44.800><c> with</c><00:02:45.040><c> the</c><00:02:45.120><c> microcontroller</c><00:02:45.840><c> in</c><00:02:46.080><c> i</c>

00:02:46.229 --> 00:02:46.239 align:start position:0%
design with the microcontroller in i
 

00:02:46.239 --> 00:02:48.229 align:start position:0%
design with the microcontroller in i
just<00:02:46.400><c> need</c><00:02:46.560><c> to</c><00:02:46.720><c> fill</c><00:02:46.959><c> in</c><00:02:47.120><c> the</c><00:02:47.280><c> interfaces</c><00:02:48.080><c> i</c>

00:02:48.229 --> 00:02:48.239 align:start position:0%
just need to fill in the interfaces i
 

00:02:48.239 --> 00:02:50.150 align:start position:0%
just need to fill in the interfaces i
need<00:02:48.480><c> it</c><00:02:48.959><c> the</c><00:02:49.120><c> screen</c><00:02:49.440><c> doesn't</c><00:02:49.680><c> need</c><00:02:49.920><c> any</c>

00:02:50.150 --> 00:02:50.160 align:start position:0%
need it the screen doesn't need any
 

00:02:50.160 --> 00:02:52.070 align:start position:0%
need it the screen doesn't need any
extra<00:02:50.560><c> interface</c><00:02:51.040><c> chips</c><00:02:51.599><c> and</c><00:02:51.760><c> could</c><00:02:52.000><c> be</c>

00:02:52.070 --> 00:02:52.080 align:start position:0%
extra interface chips and could be
 

00:02:52.080 --> 00:02:53.110 align:start position:0%
extra interface chips and could be
connected<00:02:52.480><c> directly</c><00:02:52.959><c> to</c><00:02:53.040><c> the</c>

00:02:53.110 --> 00:02:53.120 align:start position:0%
connected directly to the
 

00:02:53.120 --> 00:02:55.509 align:start position:0%
connected directly to the
microcontroller<00:02:54.400><c> the</c><00:02:54.640><c> terminal</c><00:02:55.200><c> needs</c>

00:02:55.509 --> 00:02:55.519 align:start position:0%
microcontroller the terminal needs
 

00:02:55.519 --> 00:02:59.270 align:start position:0%
microcontroller the terminal needs
keyboard<00:02:56.000><c> input</c><00:02:56.879><c> so</c><00:02:57.360><c> adding</c><00:02:57.680><c> a</c><00:02:57.840><c> ps2</c><00:02:58.400><c> port</c><00:02:58.640><c> here</c>

00:02:59.270 --> 00:02:59.280 align:start position:0%
keyboard input so adding a ps2 port here
 

00:02:59.280 --> 00:03:01.750 align:start position:0%
keyboard input so adding a ps2 port here
of<00:02:59.440><c> course</c><00:02:59.760><c> i</c><00:03:00.000><c> could</c><00:03:00.239><c> also</c><00:03:00.640><c> just</c><00:03:00.879><c> use</c><00:03:01.120><c> the</c><00:03:01.280><c> usb</c>

00:03:01.750 --> 00:03:01.760 align:start position:0%
of course i could also just use the usb
 

00:03:01.760 --> 00:03:03.589 align:start position:0%
of course i could also just use the usb
port<00:03:02.080><c> of</c><00:03:02.239><c> the</c>

00:03:03.589 --> 00:03:03.599 align:start position:0%
port of the
 

00:03:03.599 --> 00:03:04.790 align:start position:0%
port of the
itself

00:03:04.790 --> 00:03:04.800 align:start position:0%
itself
 

00:03:04.800 --> 00:03:07.589 align:start position:0%
itself
and<00:03:04.959><c> last</c><00:03:05.680><c> the</c><00:03:05.840><c> terminal</c><00:03:06.400><c> needs</c><00:03:06.720><c> a</c><00:03:07.200><c> serial</c>

00:03:07.589 --> 00:03:07.599 align:start position:0%
and last the terminal needs a serial
 

00:03:07.599 --> 00:03:11.910 align:start position:0%
and last the terminal needs a serial
port<00:03:08.239><c> so</c><00:03:08.480><c> adding</c><00:03:08.800><c> a</c><00:03:08.959><c> max</c><00:03:09.440><c> 3232</c><00:03:10.560><c> for</c><00:03:10.720><c> a</c><00:03:10.959><c> rs232</c>

00:03:11.910 --> 00:03:11.920 align:start position:0%
port so adding a max 3232 for a rs232
 

00:03:11.920 --> 00:03:14.550 align:start position:0%
port so adding a max 3232 for a rs232
port<00:03:12.720><c> with</c><00:03:12.959><c> jumpers</c><00:03:13.440><c> for</c><00:03:13.599><c> gtl</c><00:03:14.159><c> serial</c>

00:03:14.550 --> 00:03:14.560 align:start position:0%
port with jumpers for gtl serial
 

00:03:14.560 --> 00:03:15.990 align:start position:0%
port with jumpers for gtl serial
operations

00:03:15.990 --> 00:03:16.000 align:start position:0%
operations
 

00:03:16.000 --> 00:03:18.470 align:start position:0%
operations
for<00:03:16.159><c> the</c><00:03:16.720><c> power</c><00:03:17.040><c> supply</c><00:03:17.680><c> the</c><00:03:17.840><c> screen</c><00:03:18.239><c> has</c>

00:03:18.470 --> 00:03:18.480 align:start position:0%
for the power supply the screen has
 

00:03:18.480 --> 00:03:20.710 align:start position:0%
for the power supply the screen has
internal<00:03:18.959><c> high</c><00:03:19.200><c> voltage</c><00:03:19.599><c> generation</c><00:03:20.319><c> so</c><00:03:20.480><c> only</c>

00:03:20.710 --> 00:03:20.720 align:start position:0%
internal high voltage generation so only
 

00:03:20.720 --> 00:03:23.430 align:start position:0%
internal high voltage generation so only
a<00:03:20.800><c> 12</c><00:03:21.120><c> volt</c><00:03:21.360><c> is</c><00:03:21.519><c> needed</c><00:03:22.239><c> i</c><00:03:22.400><c> decided</c><00:03:22.720><c> to</c><00:03:22.879><c> use</c><00:03:23.120><c> 12</c>

00:03:23.430 --> 00:03:23.440 align:start position:0%
a 12 volt is needed i decided to use 12
 

00:03:23.440 --> 00:03:25.509 align:start position:0%
a 12 volt is needed i decided to use 12
volt<00:03:23.760><c> input</c><00:03:24.159><c> for</c><00:03:24.400><c> the</c><00:03:24.480><c> whole</c><00:03:24.720><c> board</c>

00:03:25.509 --> 00:03:25.519 align:start position:0%
volt input for the whole board
 

00:03:25.519 --> 00:03:28.789 align:start position:0%
volt input for the whole board
then<00:03:25.840><c> use</c><00:03:26.159><c> a</c><00:03:26.239><c> 12</c><00:03:26.560><c> volt</c><00:03:26.959><c> to</c><00:03:27.120><c> 5</c><00:03:27.360><c> volt</c><00:03:27.599><c> dc</c><00:03:28.000><c> dc</c><00:03:28.480><c> to</c>

00:03:28.789 --> 00:03:28.799 align:start position:0%
then use a 12 volt to 5 volt dc dc to
 

00:03:28.799 --> 00:03:31.750 align:start position:0%
then use a 12 volt to 5 volt dc dc to
power<00:03:29.280><c> the</c><00:03:29.760><c> raspberry</c><00:03:30.239><c> pi</c><00:03:30.480><c> pico</c>

00:03:31.750 --> 00:03:31.760 align:start position:0%
power the raspberry pi pico
 

00:03:31.760 --> 00:03:34.070 align:start position:0%
power the raspberry pi pico
then<00:03:32.000><c> comes</c><00:03:32.319><c> around</c><00:03:32.640><c> in</c><00:03:32.720><c> the</c><00:03:32.799><c> broad</c><00:03:33.280><c> to</c>

00:03:34.070 --> 00:03:34.080 align:start position:0%
then comes around in the broad to
 

00:03:34.080 --> 00:03:36.070 align:start position:0%
then comes around in the broad to
keep<00:03:34.319><c> things</c><00:03:34.640><c> simple</c><00:03:35.120><c> i'm</c><00:03:35.280><c> using</c><00:03:35.599><c> the</c><00:03:35.680><c> pickle</c>

00:03:36.070 --> 00:03:36.080 align:start position:0%
keep things simple i'm using the pickle
 

00:03:36.080 --> 00:03:38.070 align:start position:0%
keep things simple i'm using the pickle
as<00:03:36.239><c> a</c><00:03:36.319><c> module</c><00:03:36.799><c> and</c><00:03:36.959><c> mounting</c><00:03:37.360><c> it</c><00:03:37.440><c> directly</c><00:03:38.000><c> on</c>

00:03:38.070 --> 00:03:38.080 align:start position:0%
as a module and mounting it directly on
 

00:03:38.080 --> 00:03:39.030 align:start position:0%
as a module and mounting it directly on
the<00:03:38.159><c> board</c>

00:03:39.030 --> 00:03:39.040 align:start position:0%
the board
 

00:03:39.040 --> 00:03:40.789 align:start position:0%
the board
there<00:03:39.280><c> isn't</c><00:03:39.519><c> much</c><00:03:39.840><c> special</c><00:03:40.319><c> about</c><00:03:40.560><c> this</c>

00:03:40.789 --> 00:03:40.799 align:start position:0%
there isn't much special about this
 

00:03:40.799 --> 00:03:43.589 align:start position:0%
there isn't much special about this
board<00:03:41.120><c> so</c><00:03:41.280><c> i'm</c><00:03:41.440><c> not</c><00:03:41.760><c> going</c><00:03:42.000><c> into</c><00:03:42.239><c> details</c><00:03:43.280><c> once</c>

00:03:43.589 --> 00:03:43.599 align:start position:0%
board so i'm not going into details once
 

00:03:43.599 --> 00:03:46.229 align:start position:0%
board so i'm not going into details once
done<00:03:43.920><c> exporting</c><00:03:44.640><c> submitting</c><00:03:45.280><c> to</c><00:03:45.519><c> the</c>

00:03:46.229 --> 00:03:46.239 align:start position:0%
done exporting submitting to the
 

00:03:46.239 --> 00:03:47.670 align:start position:0%
done exporting submitting to the
manufacturer

00:03:47.670 --> 00:03:47.680 align:start position:0%
manufacturer
 

00:03:47.680 --> 00:03:50.070 align:start position:0%
manufacturer
and<00:03:47.920><c> a</c><00:03:48.000><c> few</c><00:03:48.159><c> days</c><00:03:48.480><c> later</c><00:03:48.799><c> i</c><00:03:48.959><c> got</c><00:03:49.120><c> the</c><00:03:49.280><c> board</c>

00:03:50.070 --> 00:03:50.080 align:start position:0%
and a few days later i got the board
 

00:03:50.080 --> 00:03:52.869 align:start position:0%
and a few days later i got the board
then<00:03:50.239><c> starting</c><00:03:50.720><c> the</c><00:03:50.799><c> board</c><00:03:51.599><c> i</c><00:03:51.760><c> usually</c><00:03:52.319><c> solder</c>

00:03:52.869 --> 00:03:52.879 align:start position:0%
then starting the board i usually solder
 

00:03:52.879 --> 00:03:55.190 align:start position:0%
then starting the board i usually solder
the<00:03:53.040><c> capacitors</c><00:03:53.840><c> and</c><00:03:53.920><c> resistors</c><00:03:54.640><c> first</c><00:03:54.959><c> then</c>

00:03:55.190 --> 00:03:55.200 align:start position:0%
the capacitors and resistors first then
 

00:03:55.200 --> 00:03:57.830 align:start position:0%
the capacitors and resistors first then
chips<00:03:55.599><c> and</c><00:03:55.760><c> elastic</c><00:03:56.080><c> connectors</c><00:03:57.200><c> there</c><00:03:57.519><c> isn't</c>

00:03:57.830 --> 00:03:57.840 align:start position:0%
chips and elastic connectors there isn't
 

00:03:57.840 --> 00:04:00.470 align:start position:0%
chips and elastic connectors there isn't
much<00:03:58.159><c> stuff</c><00:03:58.560><c> on</c><00:03:58.720><c> this</c><00:03:58.959><c> board</c><00:03:59.760><c> and</c><00:04:00.080><c> to</c><00:04:00.319><c> be</c>

00:04:00.470 --> 00:04:00.480 align:start position:0%
much stuff on this board and to be
 

00:04:00.480 --> 00:04:03.030 align:start position:0%
much stuff on this board and to be
honest<00:04:01.040><c> i've</c><00:04:01.439><c> been</c><00:04:01.840><c> mostly</c><00:04:02.319><c> working</c><00:04:02.640><c> on</c><00:04:02.879><c> more</c>

00:04:03.030 --> 00:04:03.040 align:start position:0%
honest i've been mostly working on more
 

00:04:03.040 --> 00:04:06.229 align:start position:0%
honest i've been mostly working on more
complex<00:04:03.680><c> boards</c><00:04:04.080><c> like</c><00:04:04.319><c> fpga</c><00:04:04.879><c> or</c><00:04:05.040><c> soc</c><00:04:05.599><c> or</c><00:04:05.680><c> ddr</c>

00:04:06.229 --> 00:04:06.239 align:start position:0%
complex boards like fpga or soc or ddr
 

00:04:06.239 --> 00:04:08.149 align:start position:0%
complex boards like fpga or soc or ddr
and<00:04:06.400><c> it's</c><00:04:06.640><c> kind</c><00:04:06.799><c> of</c><00:04:07.040><c> refreshing</c><00:04:07.519><c> to</c><00:04:07.680><c> work</c><00:04:07.920><c> with</c>

00:04:08.149 --> 00:04:08.159 align:start position:0%
and it's kind of refreshing to work with
 

00:04:08.159 --> 00:04:10.149 align:start position:0%
and it's kind of refreshing to work with
these<00:04:08.400><c> simple</c><00:04:08.799><c> two</c><00:04:09.200><c> layer</c><00:04:09.519><c> microcontroller</c>

00:04:10.149 --> 00:04:10.159 align:start position:0%
these simple two layer microcontroller
 

00:04:10.159 --> 00:04:11.509 align:start position:0%
these simple two layer microcontroller
boards<00:04:10.480><c> again</c>

00:04:11.509 --> 00:04:11.519 align:start position:0%
boards again
 

00:04:11.519 --> 00:04:13.670 align:start position:0%
boards again
now<00:04:11.760><c> it's</c><00:04:11.920><c> time</c><00:04:12.159><c> for</c><00:04:12.400><c> coding</c><00:04:12.959><c> first</c><00:04:13.280><c> about</c><00:04:13.519><c> the</c>

00:04:13.670 --> 00:04:13.680 align:start position:0%
now it's time for coding first about the
 

00:04:13.680 --> 00:04:16.069 align:start position:0%
now it's time for coding first about the
screen<00:04:14.000><c> driving</c><00:04:14.879><c> there</c><00:04:15.200><c> are</c><00:04:15.360><c> clear</c><00:04:15.760><c> timing</c>

00:04:16.069 --> 00:04:16.079 align:start position:0%
screen driving there are clear timing
 

00:04:16.079 --> 00:04:18.229 align:start position:0%
screen driving there are clear timing
requirements<00:04:16.880><c> in</c><00:04:16.959><c> the</c><00:04:17.120><c> screen</c><00:04:17.359><c> data</c><00:04:17.680><c> sheet</c>

00:04:18.229 --> 00:04:18.239 align:start position:0%
requirements in the screen data sheet
 

00:04:18.239 --> 00:04:20.229 align:start position:0%
requirements in the screen data sheet
the<00:04:18.479><c> screen</c><00:04:18.799><c> is</c><00:04:18.880><c> divided</c><00:04:19.280><c> into</c><00:04:19.600><c> upper</c><00:04:19.919><c> half</c>

00:04:20.229 --> 00:04:20.239 align:start position:0%
the screen is divided into upper half
 

00:04:20.239 --> 00:04:22.150 align:start position:0%
the screen is divided into upper half
and<00:04:20.320><c> lower</c><00:04:20.639><c> half</c><00:04:21.359><c> and</c><00:04:21.519><c> they</c><00:04:21.680><c> are</c><00:04:21.919><c> being</c>

00:04:22.150 --> 00:04:22.160 align:start position:0%
and lower half and they are being
 

00:04:22.160 --> 00:04:24.550 align:start position:0%
and lower half and they are being
refreshed<00:04:22.720><c> simultaneously</c><00:04:24.000><c> refreshing</c>

00:04:24.550 --> 00:04:24.560 align:start position:0%
refreshed simultaneously refreshing
 

00:04:24.560 --> 00:04:26.629 align:start position:0%
refreshed simultaneously refreshing
process<00:04:25.120><c> is</c><00:04:25.280><c> also</c><00:04:25.520><c> quite</c><00:04:25.759><c> straightforward</c><00:04:26.479><c> to</c>

00:04:26.629 --> 00:04:26.639 align:start position:0%
process is also quite straightforward to
 

00:04:26.639 --> 00:04:29.110 align:start position:0%
process is also quite straightforward to
sending<00:04:27.040><c> the</c><00:04:27.199><c> pixels</c><00:04:28.080><c> send</c><00:04:28.320><c> a</c><00:04:28.400><c> horizontal</c>

00:04:29.110 --> 00:04:29.120 align:start position:0%
sending the pixels send a horizontal
 

00:04:29.120 --> 00:04:31.510 align:start position:0%
sending the pixels send a horizontal
sync<00:04:29.840><c> when</c><00:04:30.080><c> reaching</c><00:04:30.479><c> the</c><00:04:30.560><c> light</c><00:04:30.880><c> end</c><00:04:31.360><c> and</c>

00:04:31.510 --> 00:04:31.520 align:start position:0%
sync when reaching the light end and
 

00:04:31.520 --> 00:04:33.670 align:start position:0%
sync when reaching the light end and
send<00:04:31.680><c> a</c><00:04:31.759><c> vertical</c><00:04:32.240><c> sync</c><00:04:32.560><c> on</c><00:04:32.639><c> the</c><00:04:32.720><c> first</c><00:04:33.040><c> line</c>

00:04:33.670 --> 00:04:33.680 align:start position:0%
send a vertical sync on the first line
 

00:04:33.680 --> 00:04:35.909 align:start position:0%
send a vertical sync on the first line
this<00:04:33.919><c> sounds</c><00:04:34.240><c> similar</c><00:04:34.560><c> to</c><00:04:34.720><c> a</c><00:04:34.800><c> typical</c><00:04:35.199><c> rgb</c><00:04:35.759><c> or</c>

00:04:35.909 --> 00:04:35.919 align:start position:0%
this sounds similar to a typical rgb or
 

00:04:35.919 --> 00:04:38.790 align:start position:0%
this sounds similar to a typical rgb or
dpi<00:04:36.479><c> signal</c><00:04:37.120><c> but</c><00:04:37.280><c> the</c><00:04:37.360><c> difference</c><00:04:37.919><c> is</c><00:04:38.080><c> it</c><00:04:38.560><c> it</c>

00:04:38.790 --> 00:04:38.800 align:start position:0%
dpi signal but the difference is it it
 

00:04:38.800 --> 00:04:41.430 align:start position:0%
dpi signal but the difference is it it
transmits<00:04:39.280><c> multiple</c><00:04:39.680><c> pixels</c><00:04:40.240><c> on</c><00:04:40.400><c> each</c><00:04:40.639><c> clock</c>

00:04:41.430 --> 00:04:41.440 align:start position:0%
transmits multiple pixels on each clock
 

00:04:41.440 --> 00:04:43.430 align:start position:0%
transmits multiple pixels on each clock
and<00:04:41.600><c> there</c><00:04:41.840><c> are</c><00:04:42.000><c> two</c><00:04:42.240><c> residual</c><00:04:42.720><c> beams</c><00:04:43.120><c> instead</c>

00:04:43.430 --> 00:04:43.440 align:start position:0%
and there are two residual beams instead
 

00:04:43.440 --> 00:04:45.030 align:start position:0%
and there are two residual beams instead
of<00:04:43.600><c> just</c><00:04:43.840><c> one</c>

00:04:45.030 --> 00:04:45.040 align:start position:0%
of just one
 

00:04:45.040 --> 00:04:47.510 align:start position:0%
of just one
if<00:04:45.280><c> i</c><00:04:45.440><c> directly</c><00:04:46.000><c> use</c><00:04:46.160><c> gpio</c><00:04:46.800><c> to</c><00:04:46.960><c> do</c><00:04:47.120><c> that</c><00:04:47.440><c> it</c>

00:04:47.510 --> 00:04:47.520 align:start position:0%
if i directly use gpio to do that it
 

00:04:47.520 --> 00:04:49.510 align:start position:0%
if i directly use gpio to do that it
would<00:04:47.680><c> look</c><00:04:47.919><c> like</c><00:04:48.160><c> this</c><00:04:48.800><c> first</c><00:04:49.120><c> fetch</c><00:04:49.440><c> the</c>

00:04:49.510 --> 00:04:49.520 align:start position:0%
would look like this first fetch the
 

00:04:49.520 --> 00:04:52.150 align:start position:0%
would look like this first fetch the
screen<00:04:49.840><c> buffer</c><00:04:50.160><c> address</c><00:04:50.880><c> and</c><00:04:50.960><c> enter</c><00:04:51.360><c> loop</c><00:04:52.000><c> the</c>

00:04:52.150 --> 00:04:52.160 align:start position:0%
screen buffer address and enter loop the
 

00:04:52.160 --> 00:04:54.150 align:start position:0%
screen buffer address and enter loop the
looper<00:04:52.479><c> only</c><00:04:52.720><c> covers</c><00:04:53.199><c> up</c><00:04:53.360><c> the</c><00:04:53.520><c> screen</c><00:04:53.840><c> as</c><00:04:54.000><c> the</c>

00:04:54.150 --> 00:04:54.160 align:start position:0%
looper only covers up the screen as the
 

00:04:54.160 --> 00:04:56.629 align:start position:0%
looper only covers up the screen as the
screen<00:04:54.479><c> has</c><00:04:54.639><c> been</c><00:04:54.800><c> divided</c><00:04:55.280><c> vertically</c><00:04:56.320><c> each</c>

00:04:56.629 --> 00:04:56.639 align:start position:0%
screen has been divided vertically each
 

00:04:56.639 --> 00:05:00.150 align:start position:0%
screen has been divided vertically each
line<00:04:56.960><c> has</c><00:04:57.280><c> 640</c><00:04:57.919><c> pixels</c><00:04:58.479><c> divided</c><00:04:59.040><c> by</c><00:04:59.360><c> 8</c><00:04:59.600><c> pixels</c>

00:05:00.150 --> 00:05:00.160 align:start position:0%
line has 640 pixels divided by 8 pixels
 

00:05:00.160 --> 00:05:03.749 align:start position:0%
line has 640 pixels divided by 8 pixels
per<00:05:00.400><c> byte</c><00:05:00.880><c> equals</c><00:05:01.360><c> to</c><00:05:01.840><c> 80</c><00:05:02.240><c> bytes</c><00:05:02.880><c> the</c><00:05:03.039><c> data</c><00:05:03.360><c> bus</c>

00:05:03.749 --> 00:05:03.759 align:start position:0%
per byte equals to 80 bytes the data bus
 

00:05:03.759 --> 00:05:06.390 align:start position:0%
per byte equals to 80 bytes the data bus
is<00:05:03.919><c> 4</c><00:05:04.160><c> bit</c><00:05:04.479><c> wide</c><00:05:05.120><c> so</c><00:05:05.360><c> each</c><00:05:05.680><c> byte</c><00:05:05.919><c> takes</c><00:05:06.240><c> two</c>

00:05:06.390 --> 00:05:06.400 align:start position:0%
is 4 bit wide so each byte takes two
 

00:05:06.400 --> 00:05:09.189 align:start position:0%
is 4 bit wide so each byte takes two
clocks<00:05:07.120><c> the</c><00:05:07.280><c> code</c><00:05:07.520><c> for</c><00:05:07.759><c> sending</c><00:05:08.479><c> each</c><00:05:08.720><c> byte</c><00:05:09.120><c> is</c>

00:05:09.189 --> 00:05:09.199 align:start position:0%
clocks the code for sending each byte is
 

00:05:09.199 --> 00:05:11.350 align:start position:0%
clocks the code for sending each byte is
simply<00:05:09.680><c> setting</c><00:05:10.000><c> the</c><00:05:10.080><c> gpio</c><00:05:10.880><c> based</c><00:05:11.120><c> on</c><00:05:11.280><c> the</c>

00:05:11.350 --> 00:05:11.360 align:start position:0%
simply setting the gpio based on the
 

00:05:11.360 --> 00:05:14.070 align:start position:0%
simply setting the gpio based on the
bits<00:05:12.000><c> and</c><00:05:12.160><c> sending</c><00:05:12.479><c> a</c><00:05:12.639><c> pause</c><00:05:13.440><c> on</c><00:05:13.600><c> the</c><00:05:13.680><c> clock</c>

00:05:14.070 --> 00:05:14.080 align:start position:0%
bits and sending a pause on the clock
 

00:05:14.080 --> 00:05:15.990 align:start position:0%
bits and sending a pause on the clock
line<00:05:14.720><c> additionally</c><00:05:15.360><c> i</c><00:05:15.440><c> send</c><00:05:15.680><c> the</c><00:05:15.759><c> sync</c>

00:05:15.990 --> 00:05:16.000 align:start position:0%
line additionally i send the sync
 

00:05:16.000 --> 00:05:17.430 align:start position:0%
line additionally i send the sync
signals<00:05:16.560><c> based</c><00:05:16.880><c> on</c><00:05:16.960><c> the</c><00:05:17.039><c> previous</c>

00:05:17.430 --> 00:05:17.440 align:start position:0%
signals based on the previous
 

00:05:17.440 --> 00:05:19.749 align:start position:0%
signals based on the previous
description<00:05:18.479><c> it</c><00:05:18.639><c> should</c><00:05:18.800><c> be</c><00:05:19.039><c> obvious</c><00:05:19.440><c> that</c>

00:05:19.749 --> 00:05:19.759 align:start position:0%
description it should be obvious that
 

00:05:19.759 --> 00:05:22.150 align:start position:0%
description it should be obvious that
such<00:05:20.080><c> code</c><00:05:20.400><c> is</c><00:05:20.560><c> not</c><00:05:20.800><c> efficient</c><00:05:21.280><c> at</c><00:05:21.440><c> all</c><00:05:21.919><c> and</c>

00:05:22.150 --> 00:05:22.160 align:start position:0%
such code is not efficient at all and
 

00:05:22.160 --> 00:05:24.629 align:start position:0%
such code is not efficient at all and
here<00:05:22.400><c> is</c><00:05:22.560><c> a</c><00:05:22.639><c> result</c><00:05:23.120><c> if</c><00:05:23.280><c> i</c><00:05:23.440><c> run</c><00:05:23.680><c> it</c><00:05:24.080><c> it</c><00:05:24.240><c> works</c>

00:05:24.629 --> 00:05:24.639 align:start position:0%
here is a result if i run it it works
 

00:05:24.639 --> 00:05:27.029 align:start position:0%
here is a result if i run it it works
but<00:05:24.880><c> it's</c><00:05:25.520><c> quite</c><00:05:25.840><c> flickery</c>

00:05:27.029 --> 00:05:27.039 align:start position:0%
but it's quite flickery
 

00:05:27.039 --> 00:05:29.270 align:start position:0%
but it's quite flickery
if<00:05:27.440><c> measured</c><00:05:27.840><c> with</c><00:05:28.080><c> an</c><00:05:28.240><c> oscilloscope</c><00:05:29.120><c> the</c>

00:05:29.270 --> 00:05:29.280 align:start position:0%
if measured with an oscilloscope the
 

00:05:29.280 --> 00:05:31.990 align:start position:0%
if measured with an oscilloscope the
current<00:05:29.600><c> refresh</c><00:05:30.080><c> rate</c><00:05:30.400><c> is</c><00:05:30.479><c> about</c><00:05:30.800><c> 64</c><00:05:31.360><c> hertz</c>

00:05:31.990 --> 00:05:32.000 align:start position:0%
current refresh rate is about 64 hertz
 

00:05:32.000 --> 00:05:34.870 align:start position:0%
current refresh rate is about 64 hertz
it's<00:05:32.240><c> kind</c><00:05:32.479><c> of</c><00:05:32.639><c> far</c><00:05:32.880><c> away</c><00:05:33.120><c> from</c><00:05:33.360><c> 120</c><00:05:33.919><c> hertz</c><00:05:34.720><c> or</c>

00:05:34.870 --> 00:05:34.880 align:start position:0%
it's kind of far away from 120 hertz or
 

00:05:34.880 --> 00:05:37.270 align:start position:0%
it's kind of far away from 120 hertz or
in<00:05:35.039><c> other</c><00:05:35.360><c> words</c><00:05:35.600><c> they</c><00:05:35.759><c> need</c><00:05:36.000><c> to</c><00:05:36.160><c> use</c><00:05:36.400><c> 188</c>

00:05:37.270 --> 00:05:37.280 align:start position:0%
in other words they need to use 188
 

00:05:37.280 --> 00:05:39.990 align:start position:0%
in other words they need to use 188
percent<00:05:37.680><c> of</c><00:05:37.840><c> processor</c><00:05:38.400><c> to</c><00:05:38.560><c> achieve</c><00:05:39.280><c> 120</c>

00:05:39.990 --> 00:05:40.000 align:start position:0%
percent of processor to achieve 120
 

00:05:40.000 --> 00:05:42.150 align:start position:0%
percent of processor to achieve 120
hertz<00:05:40.479><c> refresh</c><00:05:40.960><c> rate</c>

00:05:42.150 --> 00:05:42.160 align:start position:0%
hertz refresh rate
 

00:05:42.160 --> 00:05:44.310 align:start position:0%
hertz refresh rate
now<00:05:42.400><c> i'm</c><00:05:42.560><c> to</c><00:05:42.720><c> improve</c><00:05:43.120><c> that</c><00:05:43.680><c> the</c><00:05:43.919><c> obvious</c>

00:05:44.310 --> 00:05:44.320 align:start position:0%
now i'm to improve that the obvious
 

00:05:44.320 --> 00:05:47.430 align:start position:0%
now i'm to improve that the obvious
thing<00:05:44.639><c> is</c><00:05:44.800><c> to</c><00:05:44.960><c> optimize</c><00:05:46.000><c> is</c><00:05:46.240><c> to</c><00:05:46.400><c> not</c><00:05:46.800><c> using</c><00:05:47.199><c> bit</c>

00:05:47.430 --> 00:05:47.440 align:start position:0%
thing is to optimize is to not using bit
 

00:05:47.440 --> 00:05:49.430 align:start position:0%
thing is to optimize is to not using bit
tests<00:05:47.759><c> to</c><00:05:47.919><c> output</c><00:05:48.320><c> data</c><00:05:48.639><c> but</c><00:05:48.880><c> directly</c>

00:05:49.430 --> 00:05:49.440 align:start position:0%
tests to output data but directly
 

00:05:49.440 --> 00:05:52.469 align:start position:0%
tests to output data but directly
shifting<00:05:49.840><c> and</c><00:05:50.080><c> writing</c><00:05:50.400><c> to</c><00:05:50.560><c> the</c><00:05:50.720><c> gpl</c><00:05:51.360><c> register</c>

00:05:52.469 --> 00:05:52.479 align:start position:0%
shifting and writing to the gpl register
 

00:05:52.479 --> 00:05:54.950 align:start position:0%
shifting and writing to the gpl register
or<00:05:52.800><c> even</c><00:05:53.039><c> better</c><00:05:53.440><c> we</c><00:05:53.600><c> have</c><00:05:53.759><c> the</c><00:05:53.840><c> pio</c><00:05:54.720><c> which</c>

00:05:54.950 --> 00:05:54.960 align:start position:0%
or even better we have the pio which
 

00:05:54.960 --> 00:05:56.950 align:start position:0%
or even better we have the pio which
could<00:05:55.120><c> do</c><00:05:55.360><c> the</c><00:05:55.520><c> shifting</c><00:05:55.919><c> and</c><00:05:56.080><c> outputting</c><00:05:56.720><c> at</c>

00:05:56.950 --> 00:05:56.960 align:start position:0%
could do the shifting and outputting at
 

00:05:56.960 --> 00:06:00.150 align:start position:0%
could do the shifting and outputting at
a<00:05:57.039><c> preset</c><00:05:57.919><c> clock</c><00:05:58.319><c> rate</c><00:05:59.120><c> the</c><00:05:59.280><c> pll</c><00:05:59.759><c> needs</c><00:05:59.919><c> some</c>

00:06:00.150 --> 00:06:00.160 align:start position:0%
a preset clock rate the pll needs some
 

00:06:00.160 --> 00:06:02.070 align:start position:0%
a preset clock rate the pll needs some
microcode<00:06:00.720><c> for</c><00:06:00.880><c> operation</c><00:06:01.520><c> for</c><00:06:01.680><c> the</c><00:06:01.840><c> first</c>

00:06:02.070 --> 00:06:02.080 align:start position:0%
microcode for operation for the first
 

00:06:02.080 --> 00:06:04.710 align:start position:0%
microcode for operation for the first
task<00:06:02.479><c> the</c><00:06:02.560><c> code</c><00:06:02.880><c> is</c><00:06:02.960><c> simple</c><00:06:03.840><c> the</c><00:06:04.000><c> out</c><00:06:04.240><c> command</c>

00:06:04.710 --> 00:06:04.720 align:start position:0%
task the code is simple the out command
 

00:06:04.720 --> 00:06:07.110 align:start position:0%
task the code is simple the out command
is<00:06:04.800><c> for</c><00:06:05.039><c> outputting</c><00:06:05.600><c> data</c><00:06:06.080><c> signal</c>

00:06:07.110 --> 00:06:07.120 align:start position:0%
is for outputting data signal
 

00:06:07.120 --> 00:06:09.270 align:start position:0%
is for outputting data signal
and<00:06:07.280><c> the</c><00:06:07.680><c> side</c><00:06:08.000><c> is</c><00:06:08.160><c> for</c><00:06:08.400><c> outputting</c><00:06:08.880><c> the</c><00:06:08.960><c> clock</c>

00:06:09.270 --> 00:06:09.280 align:start position:0%
and the side is for outputting the clock
 

00:06:09.280 --> 00:06:12.469 align:start position:0%
and the side is for outputting the clock
signal<00:06:10.000><c> the</c><00:06:10.160><c> code</c><00:06:10.560><c> outputs</c><00:06:11.280><c> four</c><00:06:11.520><c> bit</c><00:06:12.000><c> data</c>

00:06:12.469 --> 00:06:12.479 align:start position:0%
signal the code outputs four bit data
 

00:06:12.479 --> 00:06:14.230 align:start position:0%
signal the code outputs four bit data
and<00:06:12.639><c> set</c><00:06:12.880><c> the</c><00:06:13.039><c> clock</c><00:06:13.360><c> high</c><00:06:13.759><c> in</c><00:06:13.919><c> the</c><00:06:14.000><c> first</c>

00:06:14.230 --> 00:06:14.240 align:start position:0%
and set the clock high in the first
 

00:06:14.240 --> 00:06:16.550 align:start position:0%
and set the clock high in the first
cycle<00:06:15.120><c> and</c><00:06:15.360><c> set</c><00:06:15.600><c> the</c><00:06:15.759><c> clock</c><00:06:16.080><c> low</c><00:06:16.400><c> in</c><00:06:16.479><c> the</c>

00:06:16.550 --> 00:06:16.560 align:start position:0%
cycle and set the clock low in the
 

00:06:16.560 --> 00:06:19.270 align:start position:0%
cycle and set the clock low in the
second<00:06:16.880><c> cycle</c><00:06:17.600><c> then</c><00:06:17.840><c> it</c><00:06:17.919><c> wraps</c><00:06:18.240><c> around</c>

00:06:19.270 --> 00:06:19.280 align:start position:0%
second cycle then it wraps around
 

00:06:19.280 --> 00:06:21.749 align:start position:0%
second cycle then it wraps around
a<00:06:19.520><c> screen</c><00:06:20.000><c> needs</c><00:06:20.319><c> two</c><00:06:20.479><c> data</c><00:06:20.800><c> streams</c><00:06:21.440><c> for</c><00:06:21.600><c> the</c>

00:06:21.749 --> 00:06:21.759 align:start position:0%
a screen needs two data streams for the
 

00:06:21.759 --> 00:06:24.309 align:start position:0%
a screen needs two data streams for the
upper<00:06:22.160><c> and</c><00:06:22.319><c> lower</c><00:06:22.639><c> part</c><00:06:23.039><c> respectively</c><00:06:24.080><c> i'm</c>

00:06:24.309 --> 00:06:24.319 align:start position:0%
upper and lower part respectively i'm
 

00:06:24.319 --> 00:06:27.110 align:start position:0%
upper and lower part respectively i'm
going<00:06:24.560><c> to</c><00:06:24.720><c> just</c><00:06:25.039><c> use</c><00:06:25.280><c> two</c><00:06:25.440><c> pi</c><00:06:25.840><c> state</c><00:06:26.160><c> machines</c>

00:06:27.110 --> 00:06:27.120 align:start position:0%
going to just use two pi state machines
 

00:06:27.120 --> 00:06:29.590 align:start position:0%
going to just use two pi state machines
put<00:06:27.360><c> the</c><00:06:27.520><c> same</c><00:06:27.840><c> signals</c><00:06:28.400><c> aside</c><00:06:29.039><c> directly</c>

00:06:29.590 --> 00:06:29.600 align:start position:0%
put the same signals aside directly
 

00:06:29.600 --> 00:06:31.830 align:start position:0%
put the same signals aside directly
modify<00:06:30.000><c> the</c><00:06:30.160><c> code</c><00:06:30.400><c> to</c><00:06:30.560><c> use</c><00:06:30.720><c> pio</c><00:06:31.360><c> for</c><00:06:31.520><c> data</c>

00:06:31.830 --> 00:06:31.840 align:start position:0%
modify the code to use pio for data
 

00:06:31.840 --> 00:06:32.790 align:start position:0%
modify the code to use pio for data
output

00:06:32.790 --> 00:06:32.800 align:start position:0%
output
 

00:06:32.800 --> 00:06:35.029 align:start position:0%
output
the<00:06:32.960><c> gpio</c><00:06:33.520><c> operations</c><00:06:34.160><c> are</c><00:06:34.319><c> now</c><00:06:34.479><c> replaced</c>

00:06:35.029 --> 00:06:35.039 align:start position:0%
the gpio operations are now replaced
 

00:06:35.039 --> 00:06:37.749 align:start position:0%
the gpio operations are now replaced
with<00:06:35.280><c> code</c><00:06:35.520><c> filling</c><00:06:35.919><c> the</c><00:06:36.080><c> fifo</c><00:06:36.560><c> of</c><00:06:36.639><c> pio</c>

00:06:37.749 --> 00:06:37.759 align:start position:0%
with code filling the fifo of pio
 

00:06:37.759 --> 00:06:39.590 align:start position:0%
with code filling the fifo of pio
and<00:06:38.000><c> it</c><00:06:38.160><c> waits</c><00:06:38.560><c> for</c><00:06:38.720><c> the</c><00:06:38.800><c> pll</c><00:06:39.199><c> to</c><00:06:39.360><c> finish</c>

00:06:39.590 --> 00:06:39.600 align:start position:0%
and it waits for the pll to finish
 

00:06:39.600 --> 00:06:41.029 align:start position:0%
and it waits for the pll to finish
sending<00:06:39.919><c> the</c><00:06:40.080><c> data</c><00:06:40.319><c> before</c><00:06:40.639><c> sending</c><00:06:40.960><c> the</c>

00:06:41.029 --> 00:06:41.039 align:start position:0%
sending the data before sending the
 

00:06:41.039 --> 00:06:42.790 align:start position:0%
sending the data before sending the
synchronization<00:06:41.840><c> signals</c>

00:06:42.790 --> 00:06:42.800 align:start position:0%
synchronization signals
 

00:06:42.800 --> 00:06:44.629 align:start position:0%
synchronization signals
pia<00:06:43.199><c> also</c><00:06:43.600><c> needs</c><00:06:43.840><c> some</c><00:06:44.160><c> additional</c>

00:06:44.629 --> 00:06:44.639 align:start position:0%
pia also needs some additional
 

00:06:44.639 --> 00:06:46.950 align:start position:0%
pia also needs some additional
initialization<00:06:45.919><c> for</c><00:06:46.160><c> example</c><00:06:46.560><c> the</c><00:06:46.720><c> clock</c>

00:06:46.950 --> 00:06:46.960 align:start position:0%
initialization for example the clock
 

00:06:46.960 --> 00:06:50.309 align:start position:0%
initialization for example the clock
frequency<00:06:47.840><c> and</c><00:06:48.000><c> 120</c><00:06:48.720><c> hertz</c><00:06:49.280><c> refresh</c><00:06:49.759><c> rate</c>

00:06:50.309 --> 00:06:50.319 align:start position:0%
frequency and 120 hertz refresh rate
 

00:06:50.319 --> 00:06:54.790 align:start position:0%
frequency and 120 hertz refresh rate
that's<00:06:50.800><c> 120</c><00:06:51.360><c> hertz</c><00:06:51.840><c> by</c><00:06:52.400><c> 240</c><00:06:52.960><c> lines</c><00:06:53.520><c> by</c><00:06:54.000><c> 160</c>

00:06:54.790 --> 00:06:54.800 align:start position:0%
that's 120 hertz by 240 lines by 160
 

00:06:54.800 --> 00:06:57.749 align:start position:0%
that's 120 hertz by 240 lines by 160
transmissions<00:06:55.759><c> equals</c><00:06:56.240><c> to</c><00:06:56.479><c> 4.6</c><00:06:57.199><c> megahertz</c>

00:06:57.749 --> 00:06:57.759 align:start position:0%
transmissions equals to 4.6 megahertz
 

00:06:57.759 --> 00:07:00.550 align:start position:0%
transmissions equals to 4.6 megahertz
output<00:06:58.080><c> clock</c><00:06:58.880><c> the</c><00:06:59.120><c> pll</c><00:06:59.599><c> always</c><00:06:59.919><c> sends</c><00:07:00.240><c> data</c>

00:07:00.550 --> 00:07:00.560 align:start position:0%
output clock the pll always sends data
 

00:07:00.560 --> 00:07:03.510 align:start position:0%
output clock the pll always sends data
at<00:07:00.720><c> a</c><00:07:00.840><c> configured</c><00:07:01.759><c> clock</c><00:07:02.160><c> rate</c><00:07:02.720><c> so</c><00:07:02.880><c> the</c><00:07:03.039><c> cpu</c>

00:07:03.510 --> 00:07:03.520 align:start position:0%
at a configured clock rate so the cpu
 

00:07:03.520 --> 00:07:05.270 align:start position:0%
at a configured clock rate so the cpu
just<00:07:03.680><c> need</c><00:07:03.840><c> to</c><00:07:04.000><c> be</c><00:07:04.160><c> fast</c><00:07:04.479><c> enough</c><00:07:04.800><c> to</c><00:07:04.960><c> feed</c><00:07:05.199><c> the</c>

00:07:05.270 --> 00:07:05.280 align:start position:0%
just need to be fast enough to feed the
 

00:07:05.280 --> 00:07:07.430 align:start position:0%
just need to be fast enough to feed the
data<00:07:05.759><c> without</c><00:07:06.240><c> needing</c><00:07:06.639><c> additional</c><00:07:07.039><c> delay</c>

00:07:07.430 --> 00:07:07.440 align:start position:0%
data without needing additional delay
 

00:07:07.440 --> 00:07:09.430 align:start position:0%
data without needing additional delay
code<00:07:07.680><c> to</c><00:07:07.840><c> match</c><00:07:08.160><c> the</c><00:07:08.240><c> frame</c><00:07:08.479><c> rate</c>

00:07:09.430 --> 00:07:09.440 align:start position:0%
code to match the frame rate
 

00:07:09.440 --> 00:07:11.749 align:start position:0%
code to match the frame rate
the<00:07:09.599><c> code</c><00:07:09.919><c> is</c><00:07:10.000><c> still</c><00:07:10.240><c> not</c><00:07:10.560><c> complete</c><00:07:11.039><c> though</c>

00:07:11.749 --> 00:07:11.759 align:start position:0%
the code is still not complete though
 

00:07:11.759 --> 00:07:13.670 align:start position:0%
the code is still not complete though
the<00:07:11.919><c> current</c><00:07:12.319><c> code</c><00:07:12.560><c> doesn't</c><00:07:12.880><c> guarantee</c><00:07:13.440><c> that</c>

00:07:13.670 --> 00:07:13.680 align:start position:0%
the current code doesn't guarantee that
 

00:07:13.680 --> 00:07:15.670 align:start position:0%
the current code doesn't guarantee that
two<00:07:13.840><c> pio</c><00:07:14.319><c> state</c><00:07:14.560><c> machines</c><00:07:14.960><c> would</c><00:07:15.199><c> always</c><00:07:15.520><c> be</c>

00:07:15.670 --> 00:07:15.680 align:start position:0%
two pio state machines would always be
 

00:07:15.680 --> 00:07:18.550 align:start position:0%
two pio state machines would always be
in<00:07:15.840><c> sync</c><00:07:16.560><c> for</c><00:07:16.720><c> example</c><00:07:17.199><c> here</c><00:07:17.759><c> it</c><00:07:17.919><c> runs</c><00:07:18.240><c> to</c><00:07:18.400><c> the</c>

00:07:18.550 --> 00:07:18.560 align:start position:0%
in sync for example here it runs to the
 

00:07:18.560 --> 00:07:20.550 align:start position:0%
in sync for example here it runs to the
upper<00:07:18.880><c> screen</c><00:07:19.199><c> state</c><00:07:19.520><c> machine</c><00:07:20.000><c> then</c><00:07:20.240><c> arrives</c>

00:07:20.550 --> 00:07:20.560 align:start position:0%
upper screen state machine then arrives
 

00:07:20.560 --> 00:07:22.950 align:start position:0%
upper screen state machine then arrives
to<00:07:20.720><c> the</c><00:07:20.880><c> lower</c><00:07:21.199><c> screen</c><00:07:22.000><c> so</c><00:07:22.240><c> the</c><00:07:22.400><c> upper</c><00:07:22.639><c> state</c>

00:07:22.950 --> 00:07:22.960 align:start position:0%
to the lower screen so the upper state
 

00:07:22.960 --> 00:07:25.189 align:start position:0%
to the lower screen so the upper state
machine<00:07:23.360><c> will</c><00:07:23.599><c> start</c><00:07:23.840><c> working</c><00:07:24.319><c> first</c><00:07:24.960><c> if</c>

00:07:25.189 --> 00:07:25.199 align:start position:0%
machine will start working first if
 

00:07:25.199 --> 00:07:27.670 align:start position:0%
machine will start working first if
lucky<00:07:25.599><c> both</c><00:07:25.919><c> the</c><00:07:26.160><c> machine</c><00:07:26.479><c> would</c><00:07:26.720><c> be</c><00:07:26.880><c> in</c><00:07:27.039><c> sync</c>

00:07:27.670 --> 00:07:27.680 align:start position:0%
lucky both the machine would be in sync
 

00:07:27.680 --> 00:07:30.550 align:start position:0%
lucky both the machine would be in sync
but<00:07:27.919><c> if</c><00:07:28.240><c> unlucky</c><00:07:29.039><c> the</c><00:07:29.280><c> upper</c><00:07:29.680><c> one</c><00:07:30.000><c> would</c><00:07:30.319><c> be</c>

00:07:30.550 --> 00:07:30.560 align:start position:0%
but if unlucky the upper one would be
 

00:07:30.560 --> 00:07:33.110 align:start position:0%
but if unlucky the upper one would be
leading<00:07:30.960><c> the</c><00:07:31.120><c> lower</c><00:07:31.440><c> one</c><00:07:32.000><c> causing</c><00:07:32.479><c> this</c><00:07:32.800><c> image</c>

00:07:33.110 --> 00:07:33.120 align:start position:0%
leading the lower one causing this image
 

00:07:33.120 --> 00:07:35.749 align:start position:0%
leading the lower one causing this image
to<00:07:33.280><c> be</c><00:07:33.520><c> shifted</c><00:07:34.319><c> a</c><00:07:34.479><c> simple</c><00:07:34.880><c> way</c><00:07:35.039><c> to</c><00:07:35.199><c> solve</c><00:07:35.520><c> that</c>

00:07:35.749 --> 00:07:35.759 align:start position:0%
to be shifted a simple way to solve that
 

00:07:35.759 --> 00:07:38.230 align:start position:0%
to be shifted a simple way to solve that
is<00:07:35.919><c> to</c><00:07:36.080><c> turn</c><00:07:36.319><c> off</c><00:07:36.479><c> the</c><00:07:36.639><c> same</c><00:07:36.880><c> machines</c><00:07:37.759><c> prefill</c>

00:07:38.230 --> 00:07:38.240 align:start position:0%
is to turn off the same machines prefill
 

00:07:38.240 --> 00:07:40.710 align:start position:0%
is to turn off the same machines prefill
some<00:07:38.479><c> data</c><00:07:38.800><c> into</c><00:07:38.960><c> the</c><00:07:39.120><c> fifo</c><00:07:39.840><c> the</c><00:07:40.160><c> star</c><00:07:40.560><c> two</c>

00:07:40.710 --> 00:07:40.720 align:start position:0%
some data into the fifo the star two
 

00:07:40.720 --> 00:07:42.790 align:start position:0%
some data into the fifo the star two
state<00:07:41.039><c> machines</c><00:07:41.520><c> anything</c>

00:07:42.790 --> 00:07:42.800 align:start position:0%
state machines anything
 

00:07:42.800 --> 00:07:45.189 align:start position:0%
state machines anything
now<00:07:43.199><c> run</c><00:07:43.360><c> the</c><00:07:43.520><c> code</c><00:07:43.919><c> the</c><00:07:44.080><c> flickery</c><00:07:44.639><c> is</c><00:07:44.800><c> mostly</c>

00:07:45.189 --> 00:07:45.199 align:start position:0%
now run the code the flickery is mostly
 

00:07:45.199 --> 00:07:48.869 align:start position:0%
now run the code the flickery is mostly
gone<00:07:45.680><c> and</c><00:07:45.840><c> now</c><00:07:46.160><c> we</c><00:07:46.319><c> have</c><00:07:46.560><c> a</c><00:07:46.639><c> steady</c><00:07:47.039><c> 120</c><00:07:47.520><c> hertz</c>

00:07:48.869 --> 00:07:48.879 align:start position:0%
gone and now we have a steady 120 hertz
 

00:07:48.879 --> 00:07:50.950 align:start position:0%
gone and now we have a steady 120 hertz
though<00:07:49.199><c> it</c><00:07:49.360><c> displays</c><00:07:50.080><c> it's</c><00:07:50.240><c> just</c><00:07:50.479><c> fine</c><00:07:50.800><c> the</c>

00:07:50.950 --> 00:07:50.960 align:start position:0%
though it displays it's just fine the
 

00:07:50.960 --> 00:07:53.430 align:start position:0%
though it displays it's just fine the
cpu<00:07:51.440><c> spends</c><00:07:51.840><c> all</c><00:07:52.080><c> his</c><00:07:52.240><c> time</c><00:07:52.639><c> just</c><00:07:52.879><c> displaying</c>

00:07:53.430 --> 00:07:53.440 align:start position:0%
cpu spends all his time just displaying
 

00:07:53.440 --> 00:07:55.510 align:start position:0%
cpu spends all his time just displaying
an<00:07:53.599><c> image</c><00:07:53.919><c> with</c><00:07:54.160><c> no</c><00:07:54.400><c> resources</c><00:07:55.039><c> for</c><00:07:55.199><c> other</c>

00:07:55.510 --> 00:07:55.520 align:start position:0%
an image with no resources for other
 

00:07:55.520 --> 00:07:57.589 align:start position:0%
an image with no resources for other
stuff<00:07:56.240><c> like</c><00:07:56.560><c> implementing</c><00:07:57.120><c> the</c><00:07:57.280><c> actual</c>

00:07:57.589 --> 00:07:57.599 align:start position:0%
stuff like implementing the actual
 

00:07:57.599 --> 00:07:59.990 align:start position:0%
stuff like implementing the actual
serial<00:07:57.919><c> terminal</c><00:07:58.879><c> there</c><00:07:59.120><c> are</c><00:07:59.199><c> two</c><00:07:59.440><c> solutions</c>

00:07:59.990 --> 00:08:00.000 align:start position:0%
serial terminal there are two solutions
 

00:08:00.000 --> 00:08:03.029 align:start position:0%
serial terminal there are two solutions
to<00:08:00.160><c> this</c><00:08:00.720><c> one</c><00:08:00.960><c> is</c><00:08:01.120><c> to</c><00:08:01.759><c> not</c><00:08:02.000><c> solve</c><00:08:02.319><c> it</c><00:08:02.479><c> at</c><00:08:02.720><c> all</c>

00:08:03.029 --> 00:08:03.039 align:start position:0%
to this one is to not solve it at all
 

00:08:03.039 --> 00:08:05.110 align:start position:0%
to this one is to not solve it at all
just<00:08:03.280><c> use</c><00:08:03.520><c> another</c><00:08:03.919><c> cpu</c><00:08:04.319><c> core</c><00:08:04.560><c> to</c><00:08:04.720><c> do</c><00:08:04.879><c> other</c>

00:08:05.110 --> 00:08:05.120 align:start position:0%
just use another cpu core to do other
 

00:08:05.120 --> 00:08:07.110 align:start position:0%
just use another cpu core to do other
stuff<00:08:05.440><c> since</c><00:08:05.680><c> we</c><00:08:05.840><c> have</c><00:08:06.000><c> two</c><00:08:06.160><c> of</c><00:08:06.319><c> them</c>

00:08:07.110 --> 00:08:07.120 align:start position:0%
stuff since we have two of them
 

00:08:07.120 --> 00:08:09.990 align:start position:0%
stuff since we have two of them
another<00:08:07.759><c> is</c><00:08:07.919><c> to</c><00:08:08.080><c> use</c><00:08:08.400><c> dma</c><00:08:09.039><c> and</c><00:08:09.280><c> interrupt</c>

00:08:09.990 --> 00:08:10.000 align:start position:0%
another is to use dma and interrupt
 

00:08:10.000 --> 00:08:13.430 align:start position:0%
another is to use dma and interrupt
using<00:08:10.240><c> dma</c><00:08:10.879><c> to</c><00:08:11.120><c> send</c><00:08:11.360><c> the</c><00:08:11.520><c> data</c><00:08:12.240><c> to</c><00:08:12.400><c> the</c><00:08:12.560><c> pio</c><00:08:13.280><c> a</c>

00:08:13.430 --> 00:08:13.440 align:start position:0%
using dma to send the data to the pio a
 

00:08:13.440 --> 00:08:15.909 align:start position:0%
using dma to send the data to the pio a
dma<00:08:14.000><c> is</c><00:08:14.479><c> basically</c><00:08:14.960><c> a</c><00:08:15.120><c> hardware</c><00:08:15.599><c> memory</c>

00:08:15.909 --> 00:08:15.919 align:start position:0%
dma is basically a hardware memory
 

00:08:15.919 --> 00:08:19.350 align:start position:0%
dma is basically a hardware memory
copier<00:08:16.720><c> and</c><00:08:16.879><c> the</c><00:08:16.960><c> cpu</c><00:08:17.360><c> doesn't</c><00:08:17.759><c> tell</c><00:08:18.080><c> the</c><00:08:18.319><c> dma</c>

00:08:19.350 --> 00:08:19.360 align:start position:0%
copier and the cpu doesn't tell the dma
 

00:08:19.360 --> 00:08:21.670 align:start position:0%
copier and the cpu doesn't tell the dma
where<00:08:19.680><c> to</c><00:08:19.840><c> copy</c><00:08:20.160><c> the</c><00:08:20.240><c> data</c><00:08:20.879><c> i'm</c><00:08:21.120><c> going</c><00:08:21.360><c> to</c><00:08:21.440><c> use</c>

00:08:21.670 --> 00:08:21.680 align:start position:0%
where to copy the data i'm going to use
 

00:08:21.680 --> 00:08:23.510 align:start position:0%
where to copy the data i'm going to use
a<00:08:21.759><c> dma</c><00:08:22.240><c> method</c>

00:08:23.510 --> 00:08:23.520 align:start position:0%
a dma method
 

00:08:23.520 --> 00:08:25.589 align:start position:0%
a dma method
for<00:08:23.680><c> the</c><00:08:23.840><c> code</c><00:08:24.160><c> configuring</c><00:08:24.639><c> the</c><00:08:24.720><c> dma</c><00:08:25.199><c> to</c><00:08:25.280><c> do</c><00:08:25.520><c> a</c>

00:08:25.589 --> 00:08:25.599 align:start position:0%
for the code configuring the dma to do a
 

00:08:25.599 --> 00:08:27.749 align:start position:0%
for the code configuring the dma to do a
memory<00:08:26.000><c> to</c><00:08:26.160><c> peripheral</c><00:08:26.639><c> copy</c><00:08:27.440><c> other</c>

00:08:27.749 --> 00:08:27.759 align:start position:0%
memory to peripheral copy other
 

00:08:27.759 --> 00:08:30.150 align:start position:0%
memory to peripheral copy other
subsequent<00:08:28.639><c> code</c><00:08:28.960><c> could</c><00:08:29.199><c> be</c><00:08:29.360><c> simply</c><00:08:29.759><c> using</c><00:08:30.080><c> a</c>

00:08:30.150 --> 00:08:30.160 align:start position:0%
subsequent code could be simply using a
 

00:08:30.160 --> 00:08:33.750 align:start position:0%
subsequent code could be simply using a
dma<00:08:30.800><c> for</c><00:08:31.039><c> copying</c><00:08:31.440><c> data</c><00:08:32.159><c> run</c><00:08:32.399><c> the</c><00:08:32.479><c> code</c><00:08:32.800><c> again</c>

00:08:33.750 --> 00:08:33.760 align:start position:0%
dma for copying data run the code again
 

00:08:33.760 --> 00:08:36.230 align:start position:0%
dma for copying data run the code again
it<00:08:33.919><c> should</c><00:08:34.320><c> still</c><00:08:34.560><c> work</c><00:08:35.200><c> it's</c><00:08:35.440><c> not</c><00:08:35.680><c> done</c><00:08:35.919><c> yet</c>

00:08:36.230 --> 00:08:36.240 align:start position:0%
it should still work it's not done yet
 

00:08:36.240 --> 00:08:38.230 align:start position:0%
it should still work it's not done yet
and<00:08:36.479><c> still</c><00:08:36.800><c> eats</c><00:08:37.039><c> all</c><00:08:37.120><c> the</c><00:08:37.279><c> cpu</c><00:08:37.760><c> time</c><00:08:38.080><c> this</c>

00:08:38.230 --> 00:08:38.240 align:start position:0%
and still eats all the cpu time this
 

00:08:38.240 --> 00:08:41.110 align:start position:0%
and still eats all the cpu time this
establishes<00:08:38.959><c> to</c><00:08:39.120><c> make</c><00:08:39.279><c> sure</c><00:08:39.519><c> dma</c><00:08:40.080><c> works</c><00:08:40.800><c> next</c>

00:08:41.110 --> 00:08:41.120 align:start position:0%
establishes to make sure dma works next
 

00:08:41.120 --> 00:08:44.070 align:start position:0%
establishes to make sure dma works next
step<00:08:41.440><c> is</c><00:08:41.760><c> split</c><00:08:42.240><c> stuff</c><00:08:42.640><c> into</c><00:08:42.880><c> interrupts</c>

00:08:44.070 --> 00:08:44.080 align:start position:0%
step is split stuff into interrupts
 

00:08:44.080 --> 00:08:46.230 align:start position:0%
step is split stuff into interrupts
divide<00:08:44.560><c> the</c><00:08:44.800><c> refresh</c><00:08:45.360><c> function</c><00:08:45.760><c> to</c><00:08:45.920><c> three</c>

00:08:46.230 --> 00:08:46.240 align:start position:0%
divide the refresh function to three
 

00:08:46.240 --> 00:08:49.190 align:start position:0%
divide the refresh function to three
parts<00:08:46.959><c> function</c><00:08:47.440><c> for</c><00:08:47.680><c> starting</c><00:08:48.000><c> a</c><00:08:48.080><c> new</c><00:08:48.320><c> frame</c>

00:08:49.190 --> 00:08:49.200 align:start position:0%
parts function for starting a new frame
 

00:08:49.200 --> 00:08:51.190 align:start position:0%
parts function for starting a new frame
function<00:08:49.600><c> for</c><00:08:49.839><c> starting</c><00:08:50.160><c> a</c><00:08:50.240><c> new</c><00:08:50.560><c> line</c><00:08:50.959><c> and</c><00:08:51.120><c> a</c>

00:08:51.190 --> 00:08:51.200 align:start position:0%
function for starting a new line and a
 

00:08:51.200 --> 00:08:54.389 align:start position:0%
function for starting a new line and a
function<00:08:51.920><c> for</c><00:08:52.240><c> dma</c><00:08:52.640><c> handler</c><00:08:53.360><c> the</c><00:08:53.519><c> dna</c><00:08:54.080><c> only</c>

00:08:54.389 --> 00:08:54.399 align:start position:0%
function for dma handler the dna only
 

00:08:54.399 --> 00:08:57.190 align:start position:0%
function for dma handler the dna only
transfers<00:08:55.120><c> one</c><00:08:55.440><c> line</c><00:08:55.760><c> at</c><00:08:55.839><c> a</c><00:08:56.000><c> time</c><00:08:56.560><c> once</c><00:08:56.880><c> that's</c>

00:08:57.190 --> 00:08:57.200 align:start position:0%
transfers one line at a time once that's
 

00:08:57.200 --> 00:08:59.350 align:start position:0%
transfers one line at a time once that's
done<00:08:57.440><c> the</c><00:08:57.519><c> dma</c><00:08:58.000><c> interrupt</c><00:08:58.480><c> is</c><00:08:58.640><c> called</c><00:08:58.880><c> again</c>

00:08:59.350 --> 00:08:59.360 align:start position:0%
done the dma interrupt is called again
 

00:08:59.360 --> 00:09:00.949 align:start position:0%
done the dma interrupt is called again
the<00:08:59.519><c> synchronization</c><00:09:00.320><c> signals</c><00:09:00.880><c> are</c>

00:09:00.949 --> 00:09:00.959 align:start position:0%
the synchronization signals are
 

00:09:00.959 --> 00:09:03.509 align:start position:0%
the synchronization signals are
generated<00:09:01.519><c> in</c><00:09:01.600><c> the</c><00:09:01.680><c> dma</c><00:09:02.240><c> interrupt</c><00:09:03.040><c> the</c><00:09:03.200><c> code</c>

00:09:03.509 --> 00:09:03.519 align:start position:0%
generated in the dma interrupt the code
 

00:09:03.519 --> 00:09:05.509 align:start position:0%
generated in the dma interrupt the code
then<00:09:03.760><c> decides</c><00:09:04.160><c> to</c><00:09:04.320><c> start</c><00:09:04.640><c> the</c><00:09:04.720><c> next</c><00:09:05.040><c> line</c><00:09:05.360><c> or</c>

00:09:05.509 --> 00:09:05.519 align:start position:0%
then decides to start the next line or
 

00:09:05.519 --> 00:09:07.190 align:start position:0%
then decides to start the next line or
start<00:09:05.760><c> a</c><00:09:05.839><c> new</c><00:09:06.080><c> frame</c><00:09:06.399><c> based</c><00:09:06.720><c> on</c><00:09:06.800><c> the</c><00:09:06.880><c> current</c>

00:09:07.190 --> 00:09:07.200 align:start position:0%
start a new frame based on the current
 

00:09:07.200 --> 00:09:10.230 align:start position:0%
start a new frame based on the current
position<00:09:08.240><c> finally</c><00:09:08.959><c> add</c><00:09:09.279><c> code</c><00:09:09.600><c> to</c><00:09:09.760><c> enable</c><00:09:10.160><c> the</c>

00:09:10.230 --> 00:09:10.240 align:start position:0%
position finally add code to enable the
 

00:09:10.240 --> 00:09:12.710 align:start position:0%
position finally add code to enable the
interrupt<00:09:11.120><c> and</c><00:09:11.279><c> remove</c><00:09:11.680><c> the</c><00:09:11.839><c> card</c><00:09:12.160><c> to</c><00:09:12.320><c> the</c><00:09:12.399><c> old</c>

00:09:12.710 --> 00:09:12.720 align:start position:0%
interrupt and remove the card to the old
 

00:09:12.720 --> 00:09:14.710 align:start position:0%
interrupt and remove the card to the old
refreshing<00:09:13.200><c> code</c><00:09:13.680><c> done</c>

00:09:14.710 --> 00:09:14.720 align:start position:0%
refreshing code done
 

00:09:14.720 --> 00:09:16.630 align:start position:0%
refreshing code done
now<00:09:14.959><c> i</c><00:09:15.040><c> can</c><00:09:15.200><c> add</c><00:09:15.440><c> other</c><00:09:15.839><c> stuff</c><00:09:16.160><c> into</c><00:09:16.320><c> the</c><00:09:16.399><c> main</c>

00:09:16.630 --> 00:09:16.640 align:start position:0%
now i can add other stuff into the main
 

00:09:16.640 --> 00:09:18.550 align:start position:0%
now i can add other stuff into the main
function<00:09:17.120><c> without</c><00:09:17.519><c> affecting</c><00:09:18.160><c> the</c><00:09:18.320><c> screen</c>

00:09:18.550 --> 00:09:18.560 align:start position:0%
function without affecting the screen
 

00:09:18.560 --> 00:09:21.350 align:start position:0%
function without affecting the screen
refresh<00:09:19.519><c> to</c><00:09:19.680><c> match</c><00:09:20.000><c> the</c><00:09:20.160><c> cpu</c><00:09:20.640><c> load</c><00:09:20.880><c> i</c><00:09:21.040><c> can</c><00:09:21.200><c> add</c>

00:09:21.350 --> 00:09:21.360 align:start position:0%
refresh to match the cpu load i can add
 

00:09:21.360 --> 00:09:24.230 align:start position:0%
refresh to match the cpu load i can add
some<00:09:21.519><c> gpl</c><00:09:22.080><c> toggling</c><00:09:22.880><c> and</c><00:09:23.279><c> interrupt</c><00:09:23.760><c> service</c>

00:09:24.230 --> 00:09:24.240 align:start position:0%
some gpl toggling and interrupt service
 

00:09:24.240 --> 00:09:26.949 align:start position:0%
some gpl toggling and interrupt service
routine<00:09:25.120><c> for</c><00:09:25.279><c> example</c><00:09:25.760><c> if</c><00:09:25.920><c> the</c><00:09:26.000><c> io</c><00:09:26.320><c> is</c><00:09:26.480><c> high</c><00:09:26.800><c> is</c>

00:09:26.949 --> 00:09:26.959 align:start position:0%
routine for example if the io is high is
 

00:09:26.959 --> 00:09:29.030 align:start position:0%
routine for example if the io is high is
in<00:09:27.040><c> the</c><00:09:27.200><c> interrupt</c><00:09:27.760><c> otherwise</c><00:09:28.240><c> not</c>

00:09:29.030 --> 00:09:29.040 align:start position:0%
in the interrupt otherwise not
 

00:09:29.040 --> 00:09:30.949 align:start position:0%
in the interrupt otherwise not
measuring<00:09:29.440><c> the</c><00:09:29.519><c> signal</c><00:09:30.000><c> the</c><00:09:30.080><c> duty</c><00:09:30.399><c> cycle</c><00:09:30.880><c> is</c>

00:09:30.949 --> 00:09:30.959 align:start position:0%
measuring the signal the duty cycle is
 

00:09:30.959 --> 00:09:32.389 align:start position:0%
measuring the signal the duty cycle is
about<00:09:31.200><c> 48</c>

00:09:32.389 --> 00:09:32.399 align:start position:0%
about 48
 

00:09:32.399 --> 00:09:35.350 align:start position:0%
about 48
which<00:09:32.640><c> means</c><00:09:32.880><c> the</c><00:09:32.959><c> cpu</c><00:09:33.440><c> load</c><00:09:33.760><c> is</c><00:09:33.920><c> 48</c>

00:09:35.350 --> 00:09:35.360 align:start position:0%
which means the cpu load is 48
 

00:09:35.360 --> 00:09:37.110 align:start position:0%
which means the cpu load is 48
now<00:09:35.600><c> this</c><00:09:35.839><c> measurement</c><00:09:36.320><c> doesn't</c><00:09:36.720><c> include</c><00:09:36.959><c> the</c>

00:09:37.110 --> 00:09:37.120 align:start position:0%
now this measurement doesn't include the
 

00:09:37.120 --> 00:09:39.910 align:start position:0%
now this measurement doesn't include the
interrupt<00:09:37.680><c> overhead</c><00:09:38.640><c> so</c><00:09:39.040><c> the</c><00:09:39.279><c> actual</c><00:09:39.600><c> load</c>

00:09:39.910 --> 00:09:39.920 align:start position:0%
interrupt overhead so the actual load
 

00:09:39.920 --> 00:09:41.910 align:start position:0%
interrupt overhead so the actual load
would<00:09:40.080><c> be</c><00:09:40.240><c> a</c><00:09:40.399><c> tiny</c><00:09:40.720><c> bit</c><00:09:40.959><c> higher</c>

00:09:41.910 --> 00:09:41.920 align:start position:0%
would be a tiny bit higher
 

00:09:41.920 --> 00:09:43.269 align:start position:0%
would be a tiny bit higher
with<00:09:42.240><c> 48</c>

00:09:43.269 --> 00:09:43.279 align:start position:0%
with 48
 

00:09:43.279 --> 00:09:46.710 align:start position:0%
with 48
it's<00:09:43.920><c> much</c><00:09:44.240><c> better</c><00:09:44.640><c> than</c><00:09:44.800><c> the</c><00:09:44.959><c> initial</c><00:09:45.440><c> 188</c>

00:09:46.710 --> 00:09:46.720 align:start position:0%
it's much better than the initial 188
 

00:09:46.720 --> 00:09:48.630 align:start position:0%
it's much better than the initial 188
but<00:09:46.880><c> that's</c><00:09:47.120><c> still</c><00:09:47.279><c> not</c><00:09:47.519><c> ideal</c>

00:09:48.630 --> 00:09:48.640 align:start position:0%
but that's still not ideal
 

00:09:48.640 --> 00:09:50.710 align:start position:0%
but that's still not ideal
there<00:09:48.880><c> is</c><00:09:49.040><c> a</c><00:09:49.120><c> busy</c><00:09:49.440><c> loop</c><00:09:49.760><c> in</c><00:09:49.839><c> the</c><00:09:50.000><c> interrupt</c><00:09:50.560><c> to</c>

00:09:50.710 --> 00:09:50.720 align:start position:0%
there is a busy loop in the interrupt to
 

00:09:50.720 --> 00:09:53.030 align:start position:0%
there is a busy loop in the interrupt to
generate<00:09:51.120><c> a</c><00:09:51.200><c> sync</c><00:09:51.440><c> signal</c><00:09:52.240><c> there</c><00:09:52.480><c> is</c><00:09:52.640><c> a</c><00:09:52.720><c> visual</c>

00:09:53.030 --> 00:09:53.040 align:start position:0%
generate a sync signal there is a visual
 

00:09:53.040 --> 00:09:55.030 align:start position:0%
generate a sync signal there is a visual
loop<00:09:53.360><c> in</c><00:09:53.440><c> the</c><00:09:53.600><c> interrupt</c><00:09:54.160><c> wait</c><00:09:54.399><c> for</c><00:09:54.560><c> the</c><00:09:54.640><c> pio</c>

00:09:55.030 --> 00:09:55.040 align:start position:0%
loop in the interrupt wait for the pio
 

00:09:55.040 --> 00:09:56.150 align:start position:0%
loop in the interrupt wait for the pio
to<00:09:55.200><c> finish</c>

00:09:56.150 --> 00:09:56.160 align:start position:0%
to finish
 

00:09:56.160 --> 00:09:58.470 align:start position:0%
to finish
dma<00:09:56.720><c> only</c><00:09:56.959><c> pushed</c><00:09:57.200><c> the</c><00:09:57.279><c> data</c><00:09:57.600><c> to</c><00:09:57.760><c> the</c><00:09:57.839><c> pio</c><00:09:58.320><c> but</c>

00:09:58.470 --> 00:09:58.480 align:start position:0%
dma only pushed the data to the pio but
 

00:09:58.480 --> 00:10:00.870 align:start position:0%
dma only pushed the data to the pio but
not<00:09:58.640><c> waiting</c><00:09:58.959><c> for</c><00:09:59.120><c> the</c><00:09:59.200><c> pr</c><00:09:59.600><c> to</c><00:09:59.680><c> finish</c>

00:10:00.870 --> 00:10:00.880 align:start position:0%
not waiting for the pr to finish
 

00:10:00.880 --> 00:10:03.350 align:start position:0%
not waiting for the pr to finish
the<00:10:01.040><c> solution</c><00:10:01.519><c> is</c><00:10:01.680><c> to</c><00:10:01.839><c> let</c><00:10:02.000><c> the</c><00:10:02.160><c> pio</c><00:10:02.720><c> generate</c>

00:10:03.350 --> 00:10:03.360 align:start position:0%
the solution is to let the pio generate
 

00:10:03.360 --> 00:10:05.269 align:start position:0%
the solution is to let the pio generate
signals<00:10:03.839><c> alongside</c><00:10:04.399><c> with</c><00:10:04.640><c> putting</c><00:10:04.959><c> out</c><00:10:05.120><c> the</c>

00:10:05.269 --> 00:10:05.279 align:start position:0%
signals alongside with putting out the
 

00:10:05.279 --> 00:10:06.150 align:start position:0%
signals alongside with putting out the
data

00:10:06.150 --> 00:10:06.160 align:start position:0%
data
 

00:10:06.160 --> 00:10:08.470 align:start position:0%
data
since<00:10:06.399><c> we</c><00:10:06.560><c> have</c><00:10:06.800><c> two</c><00:10:06.959><c> state</c><00:10:07.279><c> machines</c><00:10:07.760><c> here</c><00:10:08.399><c> i</c>

00:10:08.470 --> 00:10:08.480 align:start position:0%
since we have two state machines here i
 

00:10:08.480 --> 00:10:10.949 align:start position:0%
since we have two state machines here i
would<00:10:08.720><c> assign</c><00:10:09.120><c> one</c><00:10:09.839><c> for</c><00:10:10.079><c> each</c><00:10:10.320><c> thing</c><00:10:10.560><c> another</c>

00:10:10.949 --> 00:10:10.959 align:start position:0%
would assign one for each thing another
 

00:10:10.959 --> 00:10:13.509 align:start position:0%
would assign one for each thing another
for<00:10:11.200><c> vsync</c><00:10:12.079><c> the</c><00:10:12.240><c> overall</c><00:10:12.720><c> code</c><00:10:12.959><c> looks</c><00:10:13.279><c> like</c>

00:10:13.509 --> 00:10:13.519 align:start position:0%
for vsync the overall code looks like
 

00:10:13.519 --> 00:10:14.870 align:start position:0%
for vsync the overall code looks like
this

00:10:14.870 --> 00:10:14.880 align:start position:0%
this
 

00:10:14.880 --> 00:10:17.350 align:start position:0%
this
pio<00:10:15.360><c> needs</c><00:10:15.519><c> to</c><00:10:15.680><c> maintain</c><00:10:16.079><c> two</c><00:10:16.240><c> counters</c>

00:10:17.350 --> 00:10:17.360 align:start position:0%
pio needs to maintain two counters
 

00:10:17.360 --> 00:10:20.470 align:start position:0%
pio needs to maintain two counters
for<00:10:17.600><c> x</c><00:10:17.920><c> and</c><00:10:18.160><c> y</c><00:10:18.399><c> position</c><00:10:19.120><c> conveniently</c><00:10:20.160><c> using</c>

00:10:20.470 --> 00:10:20.480 align:start position:0%
for x and y position conveniently using
 

00:10:20.480 --> 00:10:23.590 align:start position:0%
for x and y position conveniently using
the<00:10:20.560><c> x</c><00:10:20.800><c> and</c><00:10:20.959><c> y</c><00:10:21.200><c> register</c><00:10:22.160><c> the</c><00:10:22.320><c> x</c><00:10:22.640><c> counter</c><00:10:23.360><c> needs</c>

00:10:23.590 --> 00:10:23.600 align:start position:0%
the x and y register the x counter needs
 

00:10:23.600 --> 00:10:26.230 align:start position:0%
the x and y register the x counter needs
to<00:10:23.760><c> be</c><00:10:24.160><c> restarted</c><00:10:24.720><c> each</c><00:10:25.040><c> line</c><00:10:25.360><c> so</c><00:10:25.519><c> i'm</c><00:10:25.839><c> saving</c>

00:10:26.230 --> 00:10:26.240 align:start position:0%
to be restarted each line so i'm saving
 

00:10:26.240 --> 00:10:29.190 align:start position:0%
to be restarted each line so i'm saving
the<00:10:26.399><c> initial</c><00:10:26.800><c> value</c><00:10:27.200><c> into</c><00:10:27.440><c> the</c><00:10:27.600><c> isr</c><00:10:28.079><c> register</c>

00:10:29.190 --> 00:10:29.200 align:start position:0%
the initial value into the isr register
 

00:10:29.200 --> 00:10:31.430 align:start position:0%
the initial value into the isr register
and<00:10:29.440><c> the</c><00:10:29.519><c> pio</c><00:10:30.000><c> would</c><00:10:30.240><c> reload</c><00:10:30.720><c> the</c><00:10:30.880><c> value</c><00:10:31.200><c> from</c>

00:10:31.430 --> 00:10:31.440 align:start position:0%
and the pio would reload the value from
 

00:10:31.440 --> 00:10:33.670 align:start position:0%
and the pio would reload the value from
that<00:10:32.320><c> for</c><00:10:32.480><c> the</c><00:10:32.640><c> first</c><00:10:32.880><c> line</c><00:10:33.200><c> both</c><00:10:33.440><c> state</c>

00:10:33.670 --> 00:10:33.680 align:start position:0%
that for the first line both state
 

00:10:33.680 --> 00:10:36.710 align:start position:0%
that for the first line both state
machines<00:10:34.160><c> need</c><00:10:34.320><c> to</c><00:10:34.560><c> output</c><00:10:35.279><c> one</c><00:10:35.519><c> line</c><00:10:35.760><c> of</c><00:10:35.920><c> data</c>

00:10:36.710 --> 00:10:36.720 align:start position:0%
machines need to output one line of data
 

00:10:36.720 --> 00:10:39.030 align:start position:0%
machines need to output one line of data
and<00:10:36.880><c> then</c><00:10:37.200><c> generate</c><00:10:37.760><c> both</c><00:10:38.160><c> horizontal</c><00:10:38.880><c> and</c>

00:10:39.030 --> 00:10:39.040 align:start position:0%
and then generate both horizontal and
 

00:10:39.040 --> 00:10:41.750 align:start position:0%
and then generate both horizontal and
vertical<00:10:39.440><c> sync</c><00:10:40.079><c> in</c><00:10:40.240><c> the</c><00:10:40.320><c> subsequent</c><00:10:41.040><c> lines</c>

00:10:41.750 --> 00:10:41.760 align:start position:0%
vertical sync in the subsequent lines
 

00:10:41.760 --> 00:10:44.310 align:start position:0%
vertical sync in the subsequent lines
only<00:10:42.079><c> data</c><00:10:42.399><c> and</c><00:10:42.480><c> horizontal</c><00:10:43.120><c> sync</c><00:10:43.440><c> are</c><00:10:43.600><c> needed</c>

00:10:44.310 --> 00:10:44.320 align:start position:0%
only data and horizontal sync are needed
 

00:10:44.320 --> 00:10:46.470 align:start position:0%
only data and horizontal sync are needed
looking<00:10:44.640><c> at</c><00:10:44.800><c> the</c><00:10:44.880><c> code</c><00:10:45.279><c> both</c><00:10:45.600><c> sides</c><00:10:46.160><c> load</c><00:10:46.320><c> the</c>

00:10:46.470 --> 00:10:46.480 align:start position:0%
looking at the code both sides load the
 

00:10:46.480 --> 00:10:48.710 align:start position:0%
looking at the code both sides load the
initial<00:10:46.800><c> counter</c><00:10:47.200><c> value</c><00:10:47.760><c> then</c><00:10:47.920><c> the</c><00:10:48.079><c> second</c>

00:10:48.710 --> 00:10:48.720 align:start position:0%
initial counter value then the second
 

00:10:48.720 --> 00:10:50.710 align:start position:0%
initial counter value then the second
machine<00:10:49.200><c> would</c><00:10:49.440><c> wait</c><00:10:49.680><c> for</c><00:10:49.839><c> the</c><00:10:50.000><c> first</c><00:10:50.320><c> one</c><00:10:50.560><c> to</c>

00:10:50.710 --> 00:10:50.720 align:start position:0%
machine would wait for the first one to
 

00:10:50.720 --> 00:10:52.310 align:start position:0%
machine would wait for the first one to
send<00:10:50.880><c> an</c><00:10:51.040><c> interrupt</c><00:10:51.440><c> bit</c>

00:10:52.310 --> 00:10:52.320 align:start position:0%
send an interrupt bit
 

00:10:52.320 --> 00:10:54.470 align:start position:0%
send an interrupt bit
then<00:10:52.560><c> both</c><00:10:52.959><c> start</c><00:10:53.279><c> outputting</c><00:10:53.760><c> the</c><00:10:53.839><c> data</c>

00:10:54.470 --> 00:10:54.480 align:start position:0%
then both start outputting the data
 

00:10:54.480 --> 00:10:56.150 align:start position:0%
then both start outputting the data
after<00:10:54.800><c> the</c><00:10:54.880><c> first</c><00:10:55.200><c> line</c><00:10:55.440><c> they</c><00:10:55.600><c> would</c><00:10:55.839><c> output</c>

00:10:56.150 --> 00:10:56.160 align:start position:0%
after the first line they would output
 

00:10:56.160 --> 00:10:57.750 align:start position:0%
after the first line they would output
the<00:10:56.320><c> think</c><00:10:56.560><c> signals</c>

00:10:57.750 --> 00:10:57.760 align:start position:0%
the think signals
 

00:10:57.760 --> 00:10:59.829 align:start position:0%
the think signals
the<00:10:58.079><c> second</c><00:10:58.480><c> state</c><00:10:58.800><c> machine</c><00:10:59.279><c> goes</c><00:10:59.519><c> back</c><00:10:59.680><c> to</c>

00:10:59.829 --> 00:10:59.839 align:start position:0%
the second state machine goes back to
 

00:10:59.839 --> 00:11:02.710 align:start position:0%
the second state machine goes back to
the<00:11:00.000><c> loop</c><00:11:00.640><c> but</c><00:11:00.880><c> the</c><00:11:01.040><c> first</c><00:11:01.360><c> one</c><00:11:01.839><c> continues</c><00:11:02.480><c> and</c>

00:11:02.710 --> 00:11:02.720 align:start position:0%
the loop but the first one continues and
 

00:11:02.720 --> 00:11:05.030 align:start position:0%
the loop but the first one continues and
goes<00:11:03.040><c> on</c><00:11:03.200><c> to</c><00:11:03.360><c> the</c><00:11:03.440><c> second</c><00:11:03.760><c> loop</c><00:11:04.399><c> once</c><00:11:04.720><c> it</c><00:11:04.800><c> has</c>

00:11:05.030 --> 00:11:05.040 align:start position:0%
goes on to the second loop once it has
 

00:11:05.040 --> 00:11:07.350 align:start position:0%
goes on to the second loop once it has
finished<00:11:05.440><c> the</c><00:11:05.519><c> preset</c><00:11:06.000><c> number</c><00:11:06.240><c> of</c><00:11:06.399><c> iterations</c>

00:11:07.350 --> 00:11:07.360 align:start position:0%
finished the preset number of iterations
 

00:11:07.360 --> 00:11:08.949 align:start position:0%
finished the preset number of iterations
it<00:11:07.519><c> will</c><00:11:07.680><c> send</c><00:11:07.920><c> an</c><00:11:08.079><c> interrupt</c><00:11:08.640><c> to</c><00:11:08.800><c> the</c>

00:11:08.949 --> 00:11:08.959 align:start position:0%
it will send an interrupt to the
 

00:11:08.959 --> 00:11:11.110 align:start position:0%
it will send an interrupt to the
processor<00:11:09.680><c> and</c><00:11:09.839><c> stop</c>

00:11:11.110 --> 00:11:11.120 align:start position:0%
processor and stop
 

00:11:11.120 --> 00:11:13.190 align:start position:0%
processor and stop
finally<00:11:11.760><c> adding</c><00:11:12.079><c> the</c><00:11:12.160><c> configuration</c><00:11:12.880><c> code</c>

00:11:13.190 --> 00:11:13.200 align:start position:0%
finally adding the configuration code
 

00:11:13.200 --> 00:11:15.750 align:start position:0%
finally adding the configuration code
enabling<00:11:13.760><c> pl</c><00:11:14.160><c> interrupt</c><00:11:15.040><c> in</c><00:11:15.200><c> the</c><00:11:15.360><c> interrupt</c>

00:11:15.750 --> 00:11:15.760 align:start position:0%
enabling pl interrupt in the interrupt
 

00:11:15.760 --> 00:11:17.750 align:start position:0%
enabling pl interrupt in the interrupt
it<00:11:15.920><c> needs</c><00:11:16.079><c> to</c><00:11:16.240><c> configure</c><00:11:16.720><c> dma</c><00:11:17.360><c> setting</c>

00:11:17.750 --> 00:11:17.760 align:start position:0%
it needs to configure dma setting
 

00:11:17.760 --> 00:11:19.670 align:start position:0%
it needs to configure dma setting
initial<00:11:18.160><c> values</c><00:11:18.480><c> for</c><00:11:18.640><c> the</c><00:11:18.720><c> pl</c><00:11:19.120><c> and</c><00:11:19.200><c> restart</c>

00:11:19.670 --> 00:11:19.680 align:start position:0%
initial values for the pl and restart
 

00:11:19.680 --> 00:11:22.949 align:start position:0%
initial values for the pl and restart
the<00:11:19.760><c> pll</c><00:11:20.720><c> right</c><00:11:21.200><c> now</c><00:11:21.680><c> we</c><00:11:21.839><c> can</c><00:11:22.079><c> see</c><00:11:22.800><c> the</c>

00:11:22.949 --> 00:11:22.959 align:start position:0%
the pll right now we can see the
 

00:11:22.959 --> 00:11:25.430 align:start position:0%
the pll right now we can see the
interrupt<00:11:23.519><c> is</c><00:11:23.760><c> only</c><00:11:24.000><c> taking</c><00:11:24.480><c> 1.5</c>

00:11:25.430 --> 00:11:25.440 align:start position:0%
interrupt is only taking 1.5
 

00:11:25.440 --> 00:11:28.389 align:start position:0%
interrupt is only taking 1.5
microseconds<00:11:26.480><c> of</c><00:11:26.640><c> time</c><00:11:27.360><c> and</c><00:11:27.519><c> is</c><00:11:27.760><c> being</c><00:11:28.079><c> fired</c>

00:11:28.389 --> 00:11:28.399 align:start position:0%
microseconds of time and is being fired
 

00:11:28.399 --> 00:11:31.509 align:start position:0%
microseconds of time and is being fired
120<00:11:28.959><c> times</c><00:11:29.279><c> per</c><00:11:29.519><c> second</c><00:11:30.240><c> this</c><00:11:30.560><c> translated</c><00:11:31.279><c> to</c>

00:11:31.509 --> 00:11:31.519 align:start position:0%
120 times per second this translated to
 

00:11:31.519 --> 00:11:33.630 align:start position:0%
120 times per second this translated to
a<00:11:31.680><c> cpu</c><00:11:32.079><c> load</c><00:11:32.320><c> of</c><00:11:32.560><c> only</c>

00:11:33.630 --> 00:11:33.640 align:start position:0%
a cpu load of only
 

00:11:33.640 --> 00:11:35.190 align:start position:0%
a cpu load of only
0.02

00:11:35.190 --> 00:11:35.200 align:start position:0%
0.02
 

00:11:35.200 --> 00:11:37.430 align:start position:0%
0.02
this<00:11:35.440><c> is</c><00:11:35.600><c> a</c><00:11:35.680><c> huge</c><00:11:36.079><c> improvement</c>

00:11:37.430 --> 00:11:37.440 align:start position:0%
this is a huge improvement
 

00:11:37.440 --> 00:11:39.190 align:start position:0%
this is a huge improvement
while<00:11:37.760><c> it's</c><00:11:37.920><c> possible</c><00:11:38.399><c> to</c><00:11:38.560><c> remove</c><00:11:38.959><c> this</c>

00:11:39.190 --> 00:11:39.200 align:start position:0%
while it's possible to remove this
 

00:11:39.200 --> 00:11:41.670 align:start position:0%
while it's possible to remove this
interrupt<00:11:39.760><c> entirely</c><00:11:40.720><c> precise</c><00:11:41.200><c> vertical</c>

00:11:41.670 --> 00:11:41.680 align:start position:0%
interrupt entirely precise vertical
 

00:11:41.680 --> 00:11:43.829 align:start position:0%
interrupt entirely precise vertical
interrupts<00:11:42.240><c> are</c><00:11:42.399><c> extremely</c><00:11:42.959><c> helpful</c><00:11:43.600><c> for</c>

00:11:43.829 --> 00:11:43.839 align:start position:0%
interrupts are extremely helpful for
 

00:11:43.839 --> 00:11:45.670 align:start position:0%
interrupts are extremely helpful for
implementing<00:11:44.560><c> double</c><00:11:44.880><c> buffering</c><00:11:45.519><c> or</c>

00:11:45.670 --> 00:11:45.680 align:start position:0%
implementing double buffering or
 

00:11:45.680 --> 00:11:47.509 align:start position:0%
implementing double buffering or
implementing<00:11:46.240><c> grayscale</c>

00:11:47.509 --> 00:11:47.519 align:start position:0%
implementing grayscale
 

00:11:47.519 --> 00:11:50.069 align:start position:0%
implementing grayscale
with<00:11:47.839><c> the</c><00:11:48.000><c> display</c><00:11:48.560><c> sorted</c><00:11:49.040><c> out</c><00:11:49.680><c> the</c><00:11:49.839><c> next</c>

00:11:50.069 --> 00:11:50.079 align:start position:0%
with the display sorted out the next
 

00:11:50.079 --> 00:11:52.550 align:start position:0%
with the display sorted out the next
step<00:11:50.480><c> is</c><00:11:50.639><c> implementing</c><00:11:51.200><c> the</c><00:11:51.360><c> serial</c><00:11:51.760><c> terminal</c>

00:11:52.550 --> 00:11:52.560 align:start position:0%
step is implementing the serial terminal
 

00:11:52.560 --> 00:11:55.269 align:start position:0%
step is implementing the serial terminal
it<00:11:52.720><c> might</c><00:11:52.959><c> sound</c><00:11:53.360><c> easy</c><00:11:53.920><c> which</c><00:11:54.240><c> is</c><00:11:54.480><c> basically</c>

00:11:55.269 --> 00:11:55.279 align:start position:0%
it might sound easy which is basically
 

00:11:55.279 --> 00:11:57.750 align:start position:0%
it might sound easy which is basically
displaying<00:11:56.079><c> whatever</c><00:11:56.959><c> received</c><00:11:57.360><c> from</c><00:11:57.600><c> the</c>

00:11:57.750 --> 00:11:57.760 align:start position:0%
displaying whatever received from the
 

00:11:57.760 --> 00:12:00.150 align:start position:0%
displaying whatever received from the
serial<00:11:58.160><c> port</c><00:11:58.880><c> then</c><00:11:59.200><c> sending</c><00:11:59.519><c> out</c><00:11:59.680><c> whatever</c>

00:12:00.150 --> 00:12:00.160 align:start position:0%
serial port then sending out whatever
 

00:12:00.160 --> 00:12:02.069 align:start position:0%
serial port then sending out whatever
user<00:12:00.480><c> type</c><00:12:00.720><c> down</c><00:12:00.959><c> the</c><00:12:01.040><c> key</c><00:12:01.279><c> broad</c><00:12:01.600><c> to</c><00:12:01.760><c> the</c><00:12:01.920><c> same</c>

00:12:02.069 --> 00:12:02.079 align:start position:0%
user type down the key broad to the same
 

00:12:02.079 --> 00:12:04.550 align:start position:0%
user type down the key broad to the same
report<00:12:02.959><c> so</c><00:12:03.120><c> let's</c><00:12:03.360><c> do</c><00:12:03.600><c> it</c>

00:12:04.550 --> 00:12:04.560 align:start position:0%
report so let's do it
 

00:12:04.560 --> 00:12:06.949 align:start position:0%
report so let's do it
prepare<00:12:05.040><c> a</c><00:12:05.120><c> suitable</c><00:12:05.600><c> dot</c><00:12:05.839><c> matrix</c><00:12:06.320><c> font</c>

00:12:06.949 --> 00:12:06.959 align:start position:0%
prepare a suitable dot matrix font
 

00:12:06.959 --> 00:12:09.509 align:start position:0%
prepare a suitable dot matrix font
writing<00:12:07.279><c> code</c><00:12:07.600><c> for</c><00:12:07.760><c> displaying</c><00:12:08.399><c> the</c><00:12:08.480><c> font</c>

00:12:09.509 --> 00:12:09.519 align:start position:0%
writing code for displaying the font
 

00:12:09.519 --> 00:12:11.509 align:start position:0%
writing code for displaying the font
building<00:12:09.839><c> at</c><00:12:10.000><c> software</c><00:12:10.560><c> fifo</c><00:12:10.959><c> for</c><00:12:11.120><c> buffering</c>

00:12:11.509 --> 00:12:11.519 align:start position:0%
building at software fifo for buffering
 

00:12:11.519 --> 00:12:13.990 align:start position:0%
building at software fifo for buffering
data<00:12:11.839><c> received</c><00:12:12.240><c> index</c><00:12:12.560><c> zero</c><00:12:13.120><c> interrupt</c><00:12:13.839><c> and</c>

00:12:13.990 --> 00:12:14.000 align:start position:0%
data received index zero interrupt and
 

00:12:14.000 --> 00:12:15.990 align:start position:0%
data received index zero interrupt and
the<00:12:14.079><c> fetched</c><00:12:14.399><c> in</c><00:12:14.560><c> the</c><00:12:14.639><c> middle</c><00:12:14.880><c> loop</c><00:12:15.519><c> keyboard</c>

00:12:15.990 --> 00:12:16.000 align:start position:0%
the fetched in the middle loop keyboard
 

00:12:16.000 --> 00:12:18.629 align:start position:0%
the fetched in the middle loop keyboard
wise<00:12:16.320><c> rp2040</c><00:12:17.279><c> sdk</c><00:12:17.760><c> has</c><00:12:17.920><c> a</c><00:12:18.000><c> built-in</c><00:12:18.320><c> support</c>

00:12:18.629 --> 00:12:18.639 align:start position:0%
wise rp2040 sdk has a built-in support
 

00:12:18.639 --> 00:12:21.190 align:start position:0%
wise rp2040 sdk has a built-in support
for<00:12:18.800><c> usb</c><00:12:19.279><c> keyboards</c><00:12:20.000><c> using</c><00:12:20.320><c> the</c><00:12:20.399><c> tiny</c><00:12:20.720><c> usb</c>

00:12:21.190 --> 00:12:21.200 align:start position:0%
for usb keyboards using the tiny usb
 

00:12:21.200 --> 00:12:23.590 align:start position:0%
for usb keyboards using the tiny usb
library<00:12:22.079><c> so</c><00:12:22.560><c> it's</c><00:12:22.800><c> just</c><00:12:23.040><c> a</c><00:12:23.120><c> matter</c><00:12:23.440><c> of</c>

00:12:23.590 --> 00:12:23.600 align:start position:0%
library so it's just a matter of
 

00:12:23.600 --> 00:12:25.910 align:start position:0%
library so it's just a matter of
translating<00:12:24.160><c> the</c><00:12:24.240><c> key</c><00:12:24.399><c> code</c><00:12:24.720><c> into</c><00:12:25.040><c> ascii</c><00:12:25.680><c> and</c>

00:12:25.910 --> 00:12:25.920 align:start position:0%
translating the key code into ascii and
 

00:12:25.920 --> 00:12:28.310 align:start position:0%
translating the key code into ascii and
sending<00:12:26.320><c> them</c><00:12:26.639><c> easy</c><00:12:26.959><c> enough</c><00:12:27.360><c> right</c>

00:12:28.310 --> 00:12:28.320 align:start position:0%
sending them easy enough right
 

00:12:28.320 --> 00:12:29.750 align:start position:0%
sending them easy enough right
unfortunately<00:12:28.880><c> no</c>

00:12:29.750 --> 00:12:29.760 align:start position:0%
unfortunately no
 

00:12:29.760 --> 00:12:32.470 align:start position:0%
unfortunately no
obviously<00:12:30.320><c> issues</c><00:12:30.959><c> there</c><00:12:31.279><c> is</c><00:12:31.440><c> no</c><00:12:31.680><c> arrow</c><00:12:32.079><c> keys</c>

00:12:32.470 --> 00:12:32.480 align:start position:0%
obviously issues there is no arrow keys
 

00:12:32.480 --> 00:12:34.870 align:start position:0%
obviously issues there is no arrow keys
function<00:12:32.880><c> keys</c><00:12:33.200><c> or</c><00:12:33.440><c> paging</c><00:12:33.839><c> keys</c><00:12:34.160><c> in</c><00:12:34.399><c> ascii</c>

00:12:34.870 --> 00:12:34.880 align:start position:0%
function keys or paging keys in ascii
 

00:12:34.880 --> 00:12:36.949 align:start position:0%
function keys or paging keys in ascii
how<00:12:35.040><c> do</c><00:12:35.279><c> i</c><00:12:35.680><c> send</c><00:12:35.920><c> them</c>

00:12:36.949 --> 00:12:36.959 align:start position:0%
how do i send them
 

00:12:36.959 --> 00:12:38.949 align:start position:0%
how do i send them
then<00:12:37.279><c> typically</c><00:12:37.839><c> the</c><00:12:37.920><c> hosts</c><00:12:38.240><c> need</c><00:12:38.399><c> to</c><00:12:38.639><c> send</c>

00:12:38.949 --> 00:12:38.959 align:start position:0%
then typically the hosts need to send
 

00:12:38.959 --> 00:12:41.350 align:start position:0%
then typically the hosts need to send
more<00:12:39.200><c> than</c><00:12:39.360><c> just</c><00:12:39.600><c> text</c><00:12:39.920><c> to</c><00:12:40.079><c> the</c><00:12:40.320><c> terminal</c><00:12:41.120><c> it</c>

00:12:41.350 --> 00:12:41.360 align:start position:0%
more than just text to the terminal it
 

00:12:41.360 --> 00:12:43.190 align:start position:0%
more than just text to the terminal it
also<00:12:41.600><c> needs</c><00:12:41.839><c> to</c><00:12:42.000><c> tell</c><00:12:42.240><c> the</c><00:12:42.399><c> terminal</c><00:12:42.880><c> where</c><00:12:43.120><c> to</c>

00:12:43.190 --> 00:12:43.200 align:start position:0%
also needs to tell the terminal where to
 

00:12:43.200 --> 00:12:45.509 align:start position:0%
also needs to tell the terminal where to
put<00:12:43.360><c> the</c><00:12:43.519><c> text</c><00:12:44.240><c> what</c><00:12:44.480><c> color</c><00:12:44.880><c> the</c><00:12:45.040><c> text</c><00:12:45.279><c> should</c>

00:12:45.509 --> 00:12:45.519 align:start position:0%
put the text what color the text should
 

00:12:45.519 --> 00:12:47.190 align:start position:0%
put the text what color the text should
have<00:12:46.000><c> etc</c>

00:12:47.190 --> 00:12:47.200 align:start position:0%
have etc
 

00:12:47.200 --> 00:12:49.030 align:start position:0%
have etc
most<00:12:47.440><c> of</c><00:12:47.600><c> these</c><00:12:47.920><c> are</c><00:12:48.079><c> implemented</c><00:12:48.560><c> with</c>

00:12:49.030 --> 00:12:49.040 align:start position:0%
most of these are implemented with
 

00:12:49.040 --> 00:12:52.150 align:start position:0%
most of these are implemented with
escape<00:12:49.519><c> sequences</c><00:12:50.639><c> for</c><00:12:50.880><c> example</c><00:12:51.519><c> to</c><00:12:51.680><c> move</c><00:12:52.000><c> the</c>

00:12:52.150 --> 00:12:52.160 align:start position:0%
escape sequences for example to move the
 

00:12:52.160 --> 00:12:55.430 align:start position:0%
escape sequences for example to move the
cursor<00:12:52.639><c> to</c><00:12:52.959><c> position</c><00:12:53.519><c> 2</c><00:12:53.839><c> 4</c><00:12:54.639><c> one</c><00:12:54.880><c> could</c><00:12:55.120><c> use</c><00:12:55.360><c> a</c>

00:12:55.430 --> 00:12:55.440 align:start position:0%
cursor to position 2 4 one could use a
 

00:12:55.440 --> 00:12:57.910 align:start position:0%
cursor to position 2 4 one could use a
sequence<00:12:55.920><c> like</c><00:12:56.079><c> this</c><00:12:56.320><c> to</c><00:12:56.480><c> implement</c><00:12:57.360><c> hosters</c>

00:12:57.910 --> 00:12:57.920 align:start position:0%
sequence like this to implement hosters
 

00:12:57.920 --> 00:12:59.990 align:start position:0%
sequence like this to implement hosters
need<00:12:58.079><c> to</c><00:12:58.240><c> send</c><00:12:58.480><c> this</c><00:12:58.720><c> sequence</c><00:12:59.680><c> and</c><00:12:59.839><c> the</c>

00:12:59.990 --> 00:13:00.000 align:start position:0%
need to send this sequence and the
 

00:13:00.000 --> 00:13:01.590 align:start position:0%
need to send this sequence and the
terminal<00:13:00.560><c> should</c><00:13:00.800><c> parse</c><00:13:01.200><c> and</c><00:13:01.279><c> do</c><00:13:01.440><c> the</c>

00:13:01.590 --> 00:13:01.600 align:start position:0%
terminal should parse and do the
 

00:13:01.600 --> 00:13:03.590 align:start position:0%
terminal should parse and do the
corresponding<00:13:02.320><c> task</c>

00:13:03.590 --> 00:13:03.600 align:start position:0%
corresponding task
 

00:13:03.600 --> 00:13:06.629 align:start position:0%
corresponding task
there<00:13:03.760><c> are</c><00:13:04.000><c> a</c><00:13:04.079><c> lot</c><00:13:04.399><c> of</c><00:13:04.560><c> these</c><00:13:05.279><c> such</c><00:13:05.600><c> sequences</c>

00:13:06.629 --> 00:13:06.639 align:start position:0%
there are a lot of these such sequences
 

00:13:06.639 --> 00:13:08.870 align:start position:0%
there are a lot of these such sequences
i<00:13:06.800><c> select</c><00:13:07.200><c> and</c><00:13:07.440><c> implement</c><00:13:07.920><c> a</c><00:13:08.079><c> few</c><00:13:08.480><c> supported</c>

00:13:08.870 --> 00:13:08.880 align:start position:0%
i select and implement a few supported
 

00:13:08.880 --> 00:13:11.350 align:start position:0%
i select and implement a few supported
by<00:13:09.120><c> extern</c><00:13:09.760><c> which</c><00:13:10.000><c> also</c><00:13:10.399><c> implement</c><00:13:10.880><c> there</c><00:13:11.200><c> are</c>

00:13:11.350 --> 00:13:11.360 align:start position:0%
by extern which also implement there are
 

00:13:11.360 --> 00:13:13.910 align:start position:0%
by extern which also implement there are
tons<00:13:11.920><c> more</c><00:13:12.160><c> i</c><00:13:12.320><c> didn't</c><00:13:12.639><c> support</c>

00:13:13.910 --> 00:13:13.920 align:start position:0%
tons more i didn't support
 

00:13:13.920 --> 00:13:16.629 align:start position:0%
tons more i didn't support
plus<00:13:14.320><c> there</c><00:13:14.560><c> are</c><00:13:14.800><c> even</c><00:13:15.200><c> more</c><00:13:15.440><c> subtle</c><00:13:16.079><c> behavior</c>

00:13:16.629 --> 00:13:16.639 align:start position:0%
plus there are even more subtle behavior
 

00:13:16.639 --> 00:13:19.829 align:start position:0%
plus there are even more subtle behavior
differences<00:13:17.600><c> between</c><00:13:18.000><c> terminal</c><00:13:18.839><c> standards</c>

00:13:19.829 --> 00:13:19.839 align:start position:0%
differences between terminal standards
 

00:13:19.839 --> 00:13:21.670 align:start position:0%
differences between terminal standards
which<00:13:20.160><c> could</c><00:13:20.399><c> be</c><00:13:20.560><c> quite</c><00:13:20.800><c> daunting</c><00:13:21.200><c> to</c><00:13:21.360><c> figure</c>

00:13:21.670 --> 00:13:21.680 align:start position:0%
which could be quite daunting to figure
 

00:13:21.680 --> 00:13:24.230 align:start position:0%
which could be quite daunting to figure
out<00:13:21.839><c> and</c><00:13:22.000><c> implement</c><00:13:22.560><c> correctly</c><00:13:23.600><c> for</c><00:13:23.839><c> example</c>

00:13:24.230 --> 00:13:24.240 align:start position:0%
out and implement correctly for example
 

00:13:24.240 --> 00:13:26.790 align:start position:0%
out and implement correctly for example
imagine<00:13:24.720><c> the</c><00:13:24.800><c> host</c><00:13:25.120><c> keeps</c><00:13:25.440><c> spitting</c><00:13:25.839><c> out</c><00:13:26.240><c> text</c>

00:13:26.790 --> 00:13:26.800 align:start position:0%
imagine the host keeps spitting out text
 

00:13:26.800 --> 00:13:29.030 align:start position:0%
imagine the host keeps spitting out text
until<00:13:27.120><c> one</c><00:13:27.360><c> line</c><00:13:27.600><c> has</c><00:13:27.760><c> been</c><00:13:27.920><c> filled</c><00:13:28.240><c> up</c>

00:13:29.030 --> 00:13:29.040 align:start position:0%
until one line has been filled up
 

00:13:29.040 --> 00:13:31.269 align:start position:0%
until one line has been filled up
if<00:13:29.200><c> it</c><00:13:29.360><c> keeps</c><00:13:29.680><c> printing</c><00:13:30.320><c> then</c><00:13:30.560><c> text</c><00:13:30.880><c> will</c><00:13:31.120><c> go</c>

00:13:31.269 --> 00:13:31.279 align:start position:0%
if it keeps printing then text will go
 

00:13:31.279 --> 00:13:33.750 align:start position:0%
if it keeps printing then text will go
to<00:13:31.440><c> the</c><00:13:31.600><c> next</c><00:13:31.839><c> line</c><00:13:32.079><c> by</c><00:13:32.240><c> default</c><00:13:33.200><c> but</c><00:13:33.519><c> where</c>

00:13:33.750 --> 00:13:33.760 align:start position:0%
to the next line by default but where
 

00:13:33.760 --> 00:13:35.750 align:start position:0%
to the next line by default but where
should<00:13:34.000><c> the</c><00:13:34.160><c> cursor</c><00:13:34.639><c> be</c><00:13:34.880><c> by</c><00:13:35.040><c> the</c><00:13:35.200><c> time</c><00:13:35.519><c> it's</c>

00:13:35.750 --> 00:13:35.760 align:start position:0%
should the cursor be by the time it's
 

00:13:35.760 --> 00:13:37.990 align:start position:0%
should the cursor be by the time it's
just<00:13:36.160><c> just</c><00:13:36.480><c> been</c><00:13:36.800><c> filled</c><00:13:37.200><c> up</c>

00:13:37.990 --> 00:13:38.000 align:start position:0%
just just been filled up
 

00:13:38.000 --> 00:13:39.829 align:start position:0%
just just been filled up
what<00:13:38.240><c> if</c><00:13:38.399><c> the</c><00:13:38.560><c> application</c><00:13:39.120><c> requires</c><00:13:39.440><c> to</c><00:13:39.600><c> move</c>

00:13:39.829 --> 00:13:39.839 align:start position:0%
what if the application requires to move
 

00:13:39.839 --> 00:13:42.150 align:start position:0%
what if the application requires to move
the<00:13:40.000><c> cursor</c><00:13:40.560><c> at</c><00:13:40.720><c> this</c><00:13:40.959><c> time</c>

00:13:42.150 --> 00:13:42.160 align:start position:0%
the cursor at this time
 

00:13:42.160 --> 00:13:45.269 align:start position:0%
the cursor at this time
does<00:13:42.399><c> it</c><00:13:42.639><c> happen</c><00:13:43.440><c> before</c><00:13:44.160><c> moving</c><00:13:44.639><c> to</c><00:13:44.800><c> the</c><00:13:44.959><c> next</c>

00:13:45.269 --> 00:13:45.279 align:start position:0%
does it happen before moving to the next
 

00:13:45.279 --> 00:13:47.110 align:start position:0%
does it happen before moving to the next
line<00:13:45.680><c> or</c><00:13:45.839><c> before</c>

00:13:47.110 --> 00:13:47.120 align:start position:0%
line or before
 

00:13:47.120 --> 00:13:49.590 align:start position:0%
line or before
to<00:13:47.279><c> help</c><00:13:47.519><c> with</c><00:13:47.760><c> debugging</c><00:13:48.320><c> testing</c><00:13:48.959><c> i</c><00:13:49.199><c> end</c><00:13:49.360><c> up</c>

00:13:49.590 --> 00:13:49.600 align:start position:0%
to help with debugging testing i end up
 

00:13:49.600 --> 00:13:51.829 align:start position:0%
to help with debugging testing i end up
porting<00:13:49.920><c> this</c><00:13:50.480><c> the</c><00:13:50.639><c> entire</c><00:13:51.120><c> firmware</c><00:13:51.600><c> onto</c>

00:13:51.829 --> 00:13:51.839 align:start position:0%
porting this the entire firmware onto
 

00:13:51.839 --> 00:13:53.590 align:start position:0%
porting this the entire firmware onto
linux<00:13:52.240><c> and</c><00:13:52.320><c> mac</c><00:13:52.560><c> os</c>

00:13:53.590 --> 00:13:53.600 align:start position:0%
linux and mac os
 

00:13:53.600 --> 00:13:56.470 align:start position:0%
linux and mac os
so<00:13:53.920><c> it</c><00:13:54.079><c> functions</c><00:13:54.560><c> as</c><00:13:54.720><c> a</c><00:13:54.800><c> terminal</c><00:13:55.279><c> emulator</c>

00:13:56.470 --> 00:13:56.480 align:start position:0%
so it functions as a terminal emulator
 

00:13:56.480 --> 00:13:58.790 align:start position:0%
so it functions as a terminal emulator
in<00:13:56.639><c> conclusion</c><00:13:57.440><c> if</c><00:13:57.680><c> one</c><00:13:57.920><c> is</c><00:13:58.079><c> looking</c><00:13:58.399><c> to</c><00:13:58.560><c> build</c>

00:13:58.790 --> 00:13:58.800 align:start position:0%
in conclusion if one is looking to build
 

00:13:58.800 --> 00:14:01.269 align:start position:0%
in conclusion if one is looking to build
a<00:13:58.959><c> usable</c><00:13:59.440><c> terminal</c><00:14:00.160><c> i</c><00:14:00.320><c> would</c><00:14:00.480><c> still</c><00:14:00.800><c> suggest</c>

00:14:01.269 --> 00:14:01.279 align:start position:0%
a usable terminal i would still suggest
 

00:14:01.279 --> 00:14:04.629 align:start position:0%
a usable terminal i would still suggest
looking<00:14:01.600><c> into</c><00:14:02.000><c> existing</c><00:14:02.480><c> libraries</c><00:14:03.440><c> such</c><00:14:03.760><c> as</c>

00:14:04.629 --> 00:14:04.639 align:start position:0%
looking into existing libraries such as
 

00:14:04.639 --> 00:14:07.110 align:start position:0%
looking into existing libraries such as
lab<00:14:04.880><c> tmt</c><00:14:05.440><c> or</c><00:14:05.600><c> lab</c><00:14:05.839><c> tsm</c>

00:14:07.110 --> 00:14:07.120 align:start position:0%
lab tmt or lab tsm
 

00:14:07.120 --> 00:14:09.509 align:start position:0%
lab tmt or lab tsm
but<00:14:07.440><c> otherwise</c><00:14:08.079><c> it</c><00:14:08.160><c> could</c><00:14:08.399><c> be</c><00:14:08.560><c> fun</c><00:14:08.880><c> to</c><00:14:09.199><c> start</c>

00:14:09.509 --> 00:14:09.519 align:start position:0%
but otherwise it could be fun to start
 

00:14:09.519 --> 00:14:11.430 align:start position:0%
but otherwise it could be fun to start
from<00:14:09.760><c> scratch</c>

00:14:11.430 --> 00:14:11.440 align:start position:0%
from scratch
 

00:14:11.440 --> 00:14:13.990 align:start position:0%
from scratch
now<00:14:11.760><c> let's</c><00:14:12.079><c> write</c><00:14:12.399><c> and</c><00:14:12.560><c> see</c><00:14:12.800><c> it</c><00:14:12.959><c> in</c><00:14:13.199><c> action</c><00:14:13.760><c> i'm</c>

00:14:13.990 --> 00:14:14.000 align:start position:0%
now let's write and see it in action i'm
 

00:14:14.000 --> 00:14:15.990 align:start position:0%
now let's write and see it in action i'm
connecting<00:14:14.480><c> it</c><00:14:14.560><c> directly</c><00:14:15.199><c> to</c><00:14:15.360><c> the</c><00:14:15.519><c> raspberry</c>

00:14:15.990 --> 00:14:16.000 align:start position:0%
connecting it directly to the raspberry
 

00:14:16.000 --> 00:14:16.790 align:start position:0%
connecting it directly to the raspberry
pi

00:14:16.790 --> 00:14:16.800 align:start position:0%
pi
 

00:14:16.800 --> 00:14:20.230 align:start position:0%
pi
like<00:14:17.040><c> running</c><00:14:17.440><c> pane</c><00:14:18.160><c> or</c><00:14:18.320><c> running</c><00:14:18.720><c> each</c><00:14:18.959><c> top</c>

00:14:20.230 --> 00:14:20.240 align:start position:0%
like running pane or running each top
 

00:14:20.240 --> 00:14:22.470 align:start position:0%
like running pane or running each top
it's<00:14:20.560><c> a</c><00:14:20.720><c> serial</c><00:14:21.040><c> terminal</c><00:14:21.600><c> so</c><00:14:21.839><c> there</c><00:14:22.079><c> is</c><00:14:22.240><c> no</c>

00:14:22.470 --> 00:14:22.480 align:start position:0%
it's a serial terminal so there is no
 

00:14:22.480 --> 00:14:30.470 align:start position:0%
it's a serial terminal so there is no
graphical<00:14:22.959><c> display</c>

00:14:30.470 --> 00:14:30.480 align:start position:0%
 
 

00:14:30.480 --> 00:14:32.949 align:start position:0%
 
this<00:14:30.720><c> is</c><00:14:30.880><c> about</c><00:14:31.199><c> the</c><00:14:31.360><c> end</c><00:14:31.519><c> of</c><00:14:31.680><c> this</c><00:14:31.920><c> video</c><00:14:32.800><c> see</c>

00:14:32.949 --> 00:14:32.959 align:start position:0%
this is about the end of this video see
 

00:14:32.959 --> 00:14:36.360 align:start position:0%
this is about the end of this video see
you<00:14:33.120><c> next</c><00:14:33.360><c> time</c>

