Friday, January 25, 2019

Youtube daily report Jan 25 2019

Alright,

So today's gonna be a big day. First off i'm flying solo for the first time.

Which I don't think is gonna be a big deal but I'm gonna be documenting it so I guess that's pretty cool for me anyways.

But I am taking a connecting flight

First time I've ever done this before. I didn't think about it when I booked the flight.

I just booked it cuz it was the cheapest one but now it's a day that I'm flying out, I'm a little bit nervous.

I've seen other YouTube videos do this. How to take a connecting flight?

They mostly just sat in their room and talked about what to do and what not to do.

So this one's gonna be a little bit more different. This one's gonna be a real in life experience

Anyways, I'm a little bit nervous about that but I hope it goes well. It's 45 minutes to take the connecting flight.

Basically when I land people are going to be boarding the other flight. So I'm gonna have to move quick.

I'm a little nervous. I should have thought about this before

But yeah, I guess that's this how it goes. Anyways, let's get to the airport. Oh

Wait, one more thing I forgot to mention.

This is a international connecting flight. So I'm gonna have to pass through customs, too. I'm not sure exactly how this works

I'm getting a little nervous thinking about it. So I guess we're gonna just start this day off. Let's get to the airport

Alright, so I hope you got a good view of what Vancouver Canada looks like

I'm driving along the outskirts. So it wasn't downtown or anything like that.

So anyways, I'm not parking at the airport. I guess you already figured that out

I'm a little bit cheap. If you're flying out of YVR. There's a train that goes straight from the airport

So there's no point actually parking and paying insane parking fees, but I am arriving back here late at night

So I just hope I don't get towed here. That's the only thing.

Anyways, let's get to the airport

All right. I don't think I'm gonna get broken into but I'm a little worried i'ma get towed, but I guess I'll risk it

I'll find out the end of this video of what happens. Alright, let's go.

Alright, so whenever I get to the airport always feels super rust

But today I got here extra early now. I got a little bit of time. I don't know what to do with

Probably get some food. I already checked in.

Go through security and all that hassle so i'll get some food. I'll show you what some Canadian fast food looks like

Look at this

So the one thing about arriving at the airport so early is there's just nothing to do

But I'm still a little worried about that connecting flight.

45 minutes is just very quick. I guess I'll find some shots to take here at the airport.

Alright, so something I wasn't aware of is that in all major Canadian airports you go through US Customs

Before you take off which was a huge relief

Since I had only 45 minutes to make my connecting flight and not having to worry about going through immigration

When I landed was so nice

So if you do go through any Canadian Airport to the US you do go through customs

Before you take off. As long as it's a major airport.

Anyways, once I landed I was in super panic mode. I wasn't too sure exactly where to go or what to do.

I got to this board right here and if you're ever looking for your connecting flight

They group all the airlines together. So whatever airline you're flying out of

There gates. All right beside each other

Lucky for me and I maybe unfortunate for this video is my gate was only two gates down

So I literally got off the plane. I looked around made this walk right here, and I was at my gate

Well, there was no need to worry my flight was delayed anyways so I got some time to kill found this wheelchair

It's actually pretty hard to move around

I'm not that strong I guess.

So this is what I'll be doing for the next hour

I

Better not leave this here. This flight end up getting delayed multiple times that night

But I can say on the returning flight back

I had the same connecting flight a very quick turnaround of around 45 minutes

And they actually dropped me off in a different terminal. Which I think is kind of rare.

They warned us before we got off the flight what gates we should go to

And it was literally an a different terminal. Which is so crazy

I had to run around and by the time I got to the desk to board the next flight

Everyone was on board. The flight literally took off like 10-15 minutes later

I wish I filmed it but I actually thought it was going to be a super easy turnaround again so I den't do it

Alright, let's go back to the original flight

It finally took off several hours later. Well past midnight.

Alright, so that's how you take a connecting flight

Man, does the airport ever make me tired.

I never did tell you where I end up going. If you're curious like the video and subscribe to the channel. It really helps

I tell travelling stories and go on adventures. So like the video and subscribe to the channel. You'll

Get to see where I end up going. Alright until later. I'll see you later. Have a good night

Whoa, it's still here

No ticket perfect

For more infomation >> Travelling Alone for the First Time | How to take a Connecting Flight - Duration: 6:58.

-------------------------------------------

E-Block 1-25-19 - Duration: 5:31.

For more infomation >> E-Block 1-25-19 - Duration: 5:31.

-------------------------------------------

FREE | Lil Skies x Young Thug Type Beat - "Space" Free Trap/Rap Beat - Duration: 2:08.

hope yall like this beat, sub if u do!

For more infomation >> FREE | Lil Skies x Young Thug Type Beat - "Space" Free Trap/Rap Beat - Duration: 2:08.

-------------------------------------------

MACRON RESSORT LES RG POUR FICHER LES GILETS JAUNES - Duration: 2:45.

For more infomation >> MACRON RESSORT LES RG POUR FICHER LES GILETS JAUNES - Duration: 2:45.

-------------------------------------------

Uomini e Donne: Teresa e Andrea si avvicinano pericolosamente | Wind Zuiden - Duration: 2:24.

For more infomation >> Uomini e Donne: Teresa e Andrea si avvicinano pericolosamente | Wind Zuiden - Duration: 2:24.

-------------------------------------------

'You Deserve To Live The Life You Want,' Says Life Coach Mike Bayer To Man Mourning The Loss Of H… - Duration: 4:29.

For more infomation >> 'You Deserve To Live The Life You Want,' Says Life Coach Mike Bayer To Man Mourning The Loss Of H… - Duration: 4:29.

-------------------------------------------

FREE | Lil Skies x Young Thug Type Beat - "Space" Free Trap/Rap Beat - Duration: 2:08.

hope yall like this beat, sub if u do!

For more infomation >> FREE | Lil Skies x Young Thug Type Beat - "Space" Free Trap/Rap Beat - Duration: 2:08.

-------------------------------------------

Liverpool Fans React as Lazar Markovic Pops Up From Obscurity to Score for Reds' Under-23s - Duration: 3:53.

Liverpool outcast Lazar Markovic has reminded the fans he's still around, opening the scoring for the club's Under-23 side as they beat Swansea's Under-23s 2-0 on Thursday

With his contract up in the summer, Markovic looks about as certain as anyone to depart Anfield in the months to come

Most Liverpool fans in fact, just assumed he had de-materialised into thin air, such is the infrequency of official acknowledgements of his existence these days

 It has been four years since the £20m signing last made an appearance for the Liverpool first team, however, he made headlines on Thursday when he appeared out of nowhere to open the scoring for the Under-23s

GOAL!!! Lazar Markovic puts #LFCU23s ahead after breaking through on goal! [1-0] Tune in to watch live: https://t

co/BxfzKkm3b4 pic.twitter.com/wgCEzkMZfP— Liverpool FC (@LFC) January 24, 2019 Stunned to see his name accompanying the words 'goal' and 'puts ​LFC ahead', Reds fans had mixed feelings about his appearance, expressing everything from semi-ironic praise

You say this as a joke but he makes Salah look like Milan Jovanovic— Lennon (@lennon__h) January 24, 2019

to surprise.Lazar Markovic just did a goal. pic.twitter.com/5Arh4qDNKm— Saint Grobian (@Saint_Grobian) January 24, 2019

to Dominic Solanke-flavoured digs at ​Bournemouth.@afcbournemouth to buy him for at least £20m?— Tal Gandhum (@talgandhum) January 24, 2019

to whatever this is.  pic.twitter.com/IbnQDw5kpF— Callum (@Cal8i) January 24, 2019 Here are some more of the Twitter highlights as ​@LFC's mentions went into a state of meltdown after breaking the news

  pic.twitter.com/eVC7DIv5xa— Andrew (@Tillian1243) January 24, 2019 pic.twitter

com/iJ2kbO0dwK— Futbol: O Jogo Bonito (@DavidC_LFC) January 24, 2019 £50m incoming— Arjun (@ajvlfc) January 24, 2019 pic

twitter.com/NNQQLTld7o—  (@its_me_axad) January 24, 2019 ​​Goals for Liverpool u23s: markovic 1 hazard 0

Markovic > Hazard confirmed ✓— Raisinable (@srgchris) January 24, 2019 ​​ pic.twitter

com/QqL9jpM4S6— Shaun Matthews (@Shaun_Matthews_) January 24, 2019  Despite getting on the scoreboard with the youth side, the chances of Markovic returning to Liverpool's first team appear to be remote at best, with the latest speculation linking him with ​a move to Mexico or China

  

For more infomation >> Liverpool Fans React as Lazar Markovic Pops Up From Obscurity to Score for Reds' Under-23s - Duration: 3:53.

-------------------------------------------

A Polyamorist's Primer to First Dates - Duration: 11:42.

For more infomation >> A Polyamorist's Primer to First Dates - Duration: 11:42.

-------------------------------------------

How to Put Eye Drops in Your Own Eyes - How to Use Eye Drops Without Flinching - Duration: 6:54.

SO you've got some eye drops and your having trouble getting them in?

Well well in this video I'm going to show you the best way to administer the drops so

that you don't miss and make a mess of yourself.

Plus stay tuned toward the end for some extra pro tips to make them even more effective.

So let's take a look

Hey everyone welcome i am doctor joseph allen and here on doctor eye health you will find

education all about the eyes, vision and finding the best vision products so if you're new

here consider subscribing, Also at any point throughout the video check out the show notes

and links below for additional information about anything we mention today.

Otherwise lets go over how to use eye drops like a pro

The first thing you want to do is wash your hands, your going to be touching around your

eyes to get the eye drops in and you don't want to give yourself an eye infection.

Then look at the side of the bottle or the bottom for an expiration date.

If the bottle is expired, then the active ingredients are well... no longer active and

you will be really just putting chemicals into your eyes at that point and than can

cause irritation, dry eyes, and you could even chemical burn.

Then you want to check out the tip of the bottle, because if the tip of the bottle looks

orange or brown color like this one then you know it's either old or contaminated.

And so you don't want to be using this one, this one...goes right in the trash.

Now when you remove the cap your going to want to place it someplace that's clean so

that you don't contaminate the cap of the bottle.

I prefer to use a piece of tissue paper or paper towel because you have no idea how clean

or dirty your counter tops actually are.

Then you are going to want to lift your head back looking up toward the ceiling, you could

also do this while laying down if you prefer.

Now your going to use your non dominant hand to either make a fist or use your fingers

to pull down on your upper cheek and lower eyelid.

Creating an eyelid pocket.

This eyelid pocket is KEY because it is going to help catch the eyedrop and make a bigger

target.

Now this is the part where you want to listen up because this is the part where most people

have trouble.

When your doing this you want to make sure your not just free floating your arm above

your eye with the eye dropper.

Because that makes it very difficult to get the drop into the eye and most people end

up missing and landing on their cheek somewhere, wasting the drop, and these medications can

get expensive.

What I find works best is to use your dominant hand and rest it on the back of the hand that's

making the eyelid pocket.

That's going to stabilize your arm and make it easier to get the drop directly into the

eye.

Now make sure the tip of the dropper is pointing toward the eye and make sure not to touch

the tip of the dropper to the eyeball itself or your lashes.

Then gently squeeze the center of the bottle getting the drop to fall into the eye.

Once its in, close the eye and wait for a minute.

Now it's best for you not to blink frequently as that will actually flush the eyedrops out

of the eye and through the drainage canal.

Now what actually you can do is use your finger and gently press right on the corner of the

eye where the eyelid meets the nose.

There you will find a little bump.

And when you push on that little bump you will actually close the drainage canal of

the eye.

And by blocking that drainage canal you will keep the medication on the surface of the

eye increasing it's absorption and effectiveness.

Also by blocking the drainage you will prevent further systemic absorption of that medication

and help avoid some other side effects.

Once you are finished, put the cap back on the dropper and place it someplace where you

can find them easily again.

Now that you know the proper technique lets go over some pro tips.

Now Pro Tip number 1.

When your using many different eye drops at the same time you want to make sure you space

them out by at least 5 minutes.

Otherwise you are just going to end up flushing out the previous medication, wasting that

eyedrop.

Pro Tip number 2.

If you are also using an ointment or gel drop, you want to use those last.

Those gels and ointments are really thick and they will actually prevent the absorption

of all the drops you use afterword, so again use those last.

Now pro tip number 3 If you are contact lens wearer, it is best

for you not to use medications on the eye while the contacts are in, unless your doctor

told you to do so.

However there are different eye drops out there for contact lenses and you can specifically

find these at any sort of drug store or pharmacy and look for the bottles labeled FOR CONTACTS.

Otherwise the best artificial tears or wetting drops for contact lenses say non-preserved

or preservative free.

Because those preservatives in the other drops actually get absorbed into the contact lenses

and damage the lenses.

Pro tip number 4 Is to look at the cap color of the bottle,

these colors are actually made to tell us what classification these pharmaceuticals

fall into, and anything that has red cap to it means don't put it in the eye.

Unless your doctor specifically told you to do so.

That's why some types of contact lens solutions have a red cap to them, again because you

don't want to put that in the eye.

There's even some types of super glue I have seen that have a red cap because they don't

want people confusing that with an eye drop, and yes I have seen that in the clinic.

Pro tip number 5 Is that if your having trouble figuring out

if you got the eye drop in the eye, then consider keeping the medications in the refrigerator.

That means the cooling effect of those drops are going to hit the eye and give you that

alert that HEY you actually got them in, plus you get the refreshing cooling effect.

But of course you make sure you read the package insert of those drops or ask your pharmacist

to make sure its not going to be a problem to keep those drops in the refrigerator.

Lastly, if your having trouble squeezing these bottle and getting drops to come out, make

sure to talk to your doctor or pharmacist about finding other types of squeezing devices

that lock onto the bottle and help get those drops in.

Sometimes these bottles are small and tiny and it's hard to get the drops out.

I have also included some links to some extra ones you can find online in the description

below.

SO eye health question of the day!

Which of the pro tips did you find most useful?

Go ahead and comment in the section below and remember that some of best tips come from

you and the rest of the eye health community.

Alright everybody thanks so much for watching go ahead and hit that like and subscribe button

down below also if you want to see other cool videos from doctor eye health just click or

tap the screen right over here or click or tap the screen down here.

Otherwise keep an eye on it and we will talk to you soon.

For more infomation >> How to Put Eye Drops in Your Own Eyes - How to Use Eye Drops Without Flinching - Duration: 6:54.

-------------------------------------------

Aprende el IDIOMA ISLANDES MODERNO Vocales básicas, diptongos y alteraciones en pronunciación - Duration: 5:49.

For more infomation >> Aprende el IDIOMA ISLANDES MODERNO Vocales básicas, diptongos y alteraciones en pronunciación - Duration: 5:49.

-------------------------------------------

Dean and Elena | There is the door | VOSTFR - Duration: 2:18.

I know you're still inner ,

i know you can hear me.

I always wanted to have kids,

and a family.

Now...

it's all gone.

We a family,

We need you.

I need you.

I don't know something happen,

I can't explain it.

Literally, i feel like ...

i am a project,

like...

I am a problem needs to be fixed

and that make him sad .

and i can't be with someone like that cause...

when he looks that me

all he see...

is a broken toys.

We lost so much,

we...

sacrifice so much.

Thanks , god.

and you make your choice

so there is the door!

Music - IDONTWANNABEYOUANYMOR COVER

THANKS FOR WATHING .

For more infomation >> Dean and Elena | There is the door | VOSTFR - Duration: 2:18.

-------------------------------------------

FREE | Lil Skies x Young Thug Type Beat - "Space" Free Trap/Rap Beat - Duration: 2:08.

hope yall like this beat, sub if u do!

For more infomation >> FREE | Lil Skies x Young Thug Type Beat - "Space" Free Trap/Rap Beat - Duration: 2:08.

-------------------------------------------

Paganini Horror (1989) -VO avec st. français optionnels- - Duration: 1:20:25.

For more infomation >> Paganini Horror (1989) -VO avec st. français optionnels- - Duration: 1:20:25.

-------------------------------------------

Closing Prospects Early and Often Throughout the Sales Process [Sales Closing Training] - Duration: 10:48.

- Please tell me you're gonna ask...

please tell me you're gonna ask Keenan on this

cause he's...whole rants on closing.

(laughing)

- All right. Well, we're gonna toss this one over to Keenan.

- I'm gonna be simple and sweet.

I'm not even gonna explain myself.

If you can't figure it out, it's not my problem.

Closing happens at the beginning.

When you identify a problem,

and they say they want to solve the problem,

as long as your solution solves that problem

and you agree it solves that problem

the closing happens by itself.

(upbeat music)

- [Michelle] Hello everyone. Welcome to our, Ask The Experts

Sales Edition panel discussion from HubSpot,

focused on how to nail the start of your 2019 sales year.

My name is Michelle Benfer and I am a vice president

of sales here at HubSpot.

We have something very special for everyone today.

We have three of the industries leading sales experts here

that'll be answering your burning sales questions.

Now, a couple of housekeeping notes.

The agenda we are going to go through today

was built by sales reps globally,

and by the people who are actually

watching this panel discussion.

People have up voted these questions to determine the order

in which we will cover them over the next 45 minutes.

The first person I would love to introduce is Keenan.

Keenan is the CEO, President, and Chief Antagonist

of A Sales Guy, Inc., one today's top leading sales

consulting and recruiting firms.

He's also the celebrated author of, Not Taught.

What it takes to be successful in the 21st century

that nobody's teaching you.

And he has a second book coming, Gap Selling,

which be launching on December third.

All right, our next sales expert that we have is

Lori Richardson.

Lori is the founder and CEO of Score More Sales,

a sales strategy, consulting, training and coaching firm.

And she is also the president of Women Sales Pros,

the first online community dedicated to helping smart,

savvy women get in BDB sales positions.

And to help companies find and develop great women sellers.

Finally, our next expert panelist we have is John Barrows.

John is CEO of Jbarrows Sales Training.

He's a published author and a sales trainer

to some of the worlds fastest growing companies like

Linkedin, Dropbox, and Google.

Well, all of these panelist speak all over the world

so we're lucky to have them share their advice on

how to set yourself up for success in the new year.

Everyone wants to know what that special sauce is

to close more deals. So we're gonna-

- Please tell me you're gonna ask...

please tell me you're gonna ask Keenan on this one

cause he's...whole rants on closing.

(laughing)

- All right. Well, we're gonna toss this one over to Keenan.

- I'm gonna be simple and sweet

and I'm not even gonna explain myself.

If you can't figure it out, it's not my problem.

Closing happens at the beginning.

When you identify a problem

and they say they want to solve the problem,

as long as your solution solves that problem

and you agree it solves that problem,

the closing happens by itself.

Don't. I can already hear people chirping, chirping.

Well, you gotta ask for it.

Yeah, what you can say is, is there anything I missed?

Can we see how this problem goes away? Great.

what do we do next?

To me, there's two steps to the sale.

There's the buy, the verbal buy.

And then there's the T's and C's and all that other crap

because everybody makes it difficult to get the deal done.

But getting someone to agree that your solution is the one

they should go with, starts at the beginning.

If you're at the end and you gotta close,

you screwed up royally.

Well, I think my question on the closing here is,

is it timing?

Because there is reality that there is an end of month,

and there's a reality that there's an end of quarter.

(laughing)

And the people who are watching this

and submitting questions, they have monthly targets to hit,

and they only have a certain number of deals to do it.

- Keenan said though too, you gotta build your pipeline.

When you have a bigger pipeline

you don't have those closing issues.

- The biggest problem with closing is

we close on our timeline, our priorities.

So first of all, that's why during the qualification phase

it's so important to understand the timeline and priorities

and what happens if those don't get met, right?

But a little iteration to Keenan's

rant there,

which I agree with actually,

I think too many people think of closing as

closing for the deal.

There are a million different things throughout

the sales process that you close for.

You close for a next step,

you close for a meeting with power,

you close for a timeline, you close for all that stuff.

So if you look at it that way,

well now you're closing all the way through

and the end should be an outcome of that entire process.

But if you're not, if you're not closing for those things

effectively what you're doing is you're conditioning them

to keep asking for stuff, and without you asking for things,

or quote unquote closing for things, then at the end

when you ask for that big ask,

it's not gonna come across as natural,

it's gonna feel like it's all about you now,

cause now you've earned it, right?

You've earned all this shit.

I've given you everything you asked for, now it's my turn

because I gotta get my end of the quarter,

I gotta get my end of the month,

so now I'm gonna try to close on you.

So that's why if you look at closing as end of the deal,

you're dead. Dead in the water.

If you look at it as, to Keenan's point,

closing early and often,

then you can start to layer in techniques.

And, this is where I differ from keenan a little bit,

I do believe that techniques are valuable

to understand, what's an assumptive close,

what's a trial close, what's the hard close,

those techniques so I can understand where to put them

throughout the process.

Not the closing technique at the end,

which everybody kind of associates it with.

That's the place where I look at it.

I think those techniques are helpful,

so that you understand how and when and where to use them,

on who, but not just at the beginning.

- Could you give me an example?

Say there's the rep who, you know,

they've been working a deal for many months

and it is the end of their quarter,

and it's either gonna come in this quarter

or it's gonna come in next week

and it would make a difference.

What's a technique you would use

if the rep has teed everything up,

and it's really just a matter of timing.

Is it gonna come in this week or next week?

- So, there's no technique that is gonna...

what do I say in that moment with that client?

I think that's the wrong way to look at it.

I would back out and say...like here's an example,

somebody says, yeah John we're gonna close by

the end of the month, right?

Or we're doing an evaluation right now,

because I talk about gives and gets in

negotiations all the time.

So for instance say somebody is go for,

hey John, we need references.

Okay, references are probably at

the end of the sales process, right?

We're at the end zone here, so my give to you is references,

my get from you is a yes, no meeting on your calendar.

So what I'll say is,

Michelle, I'm happy to give you references.

Are you gonna check those references this week?

Yeah, we are. Okay, cool.

So when do you want to schedule a call

so I can get a yes or no from you either way?

And by the way, going back to Lori's point,

yes or no, right? No's the second best answer in sales.

I'll say when do you wanna, and you'll say,

you know what, John...

you'll say, we'll connect with you...

we'll get to you on Friday.

Cool. When on Friday? Actually, you know what,

you got your calendar in front of you?

Why don't we just throw a meeting on the calendar,

this way we don't have to play chase.

I literally say those words. So we don't have to play chase.

Letting you know we're gonna play chase.

And I'm better at it than you are, right?

So now...cause I'll straight up say,

look we can do this the easy or the hard way, right?

Either put it on the calendar, I can get a yes or no

from you either way, or you can at least tell me,

John we're not ready to make a decision,

don't push it, right?

Or do this the hard way and we don't.

And then I stalk the shit out of you,

I call you at home, you know what happens, right?

So I think that's where if I can lock you into...

and by the way, don't ever...if a clients says,

we'll close by the end of the month,

and you're going to use discount, oh holy shit,

to get that, which I hope you don't, but I get it,

I understand the game, if you're gonna do it,

don't wait, don't say the last day of the month.

It's a week before the last day of the month.

If you're gonna close at the end of the month

and we agree to that,

yes John we're gonna make that decision. Fantastic.

Hey, John do we have any wiggle room

that'll help us get our foot over the end zone?

All right, fine. I might be able to shave 10 percent

if you can close the week before the end of the month.

Cause everybody knows what happens.

So just some small little nuance there.

Don't ever wait till the end of the month.

Don't ever use discounts to close deals.

And preemptively address it before it even happens.

And would even have the conversation with the client.

I'd say, Michelle you know what happens

at the end of the month and so do I.

My business gets crazy, yours does too. I know that.

And inevitably we're going to agree

that at the end of the month this is going to move forward

and something's gonna come up on your end

and I don't want to have that to happen

because then we have to have

an awkward conversation on Monday.

So how can we make sure that that doesn't happen?

- And you can even say, here's how it works.

You know, rather than...

this is how it works if we're gonna work together.

And Michelle, what John was talking about

and Keenan too is that it's a two way street

and for those who are newer in sales,

you should know it's not all about you

you know, doing whatever the prospect wants

so that you can get business with them.

It has to go back and forth. And we can check on it

very early on in the first conversation

and if someone is just all about,

you gotta do this, this, this, this and this,

and then we're gonna put it up to bid and see what happens,

that's not gonna be a good fit for you.

And if you can work with someone that if I do this,

you'll do that and we can both see that

we're both committed to moving this thing forward.

Then you have a chance of bringing it to closure.

- So Keenan, would you finish us out here

on the closing piece?

Would you say that one of the biggest rookie mistakes

that reps can make is to really make the closing

about them, about their timeline,

not about solving the business challenge,

the outcome, would you agree to that?

One, not even rookie mistakes, sales mistakes in general.

At the rep level, the manager level, director level,

senior VP level, and sometimes even at the CEO level.

We are still focused on our numbers, our world,

our quota, with no regard to the customer.

So yes, unequivocally.

- Okay.

- Bravo.

(upbeat music)

For more infomation >> Closing Prospects Early and Often Throughout the Sales Process [Sales Closing Training] - Duration: 10:48.

-------------------------------------------

Arduino Issue: LED flickers off when using switchcase and serial monitor input via the keyboard - Duration: 8:21.

Hello, I hope you're doing fantastic.

Now I've got a question. Are you using a switch statement that is

triggered by input from the serial monitor window?

You know like you type a letter and then that letter supposed to trigger a case

in your switchcase() in your Arduino program,

but what you're finding is that the switchcase() doesn't seem to be working

right? What's going on?

Well, in this lesson we'll explore a reason

why that might be the case. Specifically,

in this lesson, we'll walk step by step through a code

example and troubleshoot what might be going on.

We'll talk briefly about ASCII control characters and we'll also learn how to

use a dinosaur to troubleshoot Arduino. So let's jump into the Arduino ide and

take a look at a code example. So just as a reminder,

we're looking at a piece of code. We want this program to accept input

from the serial monitor window and when we type something in here,

like in a and we press enter or we hit send here,

we want it to do a different action.

And in this case, I've set up a simple program that turns

on an LED if an 'a' is sent and it turns on a different LED if 'b' is sent,

and it turns off all the LEDs, if any other letter is sent.

So that's kind of what we're after here. So to do that in setup(),

we've got a couple of statements. The first thing is we've got a

Serial.begin(9600). This begins serial communication and

then we've set the mode of two pins as outputs pin 13 and 12.

And this is where I have my LED circuits attached.

Now I'm using a Kit-on-a-Shield for our Arduino.

So it actually attaches the LEDs for me once I put it on top of the Arduino.

But for all intents and purposes, you can just assume that these are two

LEDs attached. Now down in the loop function,

I've got a couple things going on.

The first thing I want to do is I want to check if there's any data available

in the serial buffer. So basically I want to check,

hey, did anybody send over some characters

through the serial monitor window? That's the first thing I'm checking,

is this value greater than zero? If that's the case,

then we jump in to this if statement and the first thing I want to do while I

want to get the first item that was put inside the serial buffer,

so if I was over here and I typed in a and s,

e, f and I hit send,

the first item is going to be an a. The second will be an s then an e then

an f. This is going to take that first

character and it's going to store the value in this variable inByte.

So we read that first character and now we're jumping into the switchcase() and

this is where the issue seems to be coming in the switchcase(),

looking at that variable inByte and it is checking it against two cases.

It wants to see, hey,

did we send an 'a' or did we send a 'b'? If it's an a,

we're going to use digital right to turn pin 13 high.

That'll turn on the LED and then same thing,

if it's 'b', we're going to turn on that LED,

but the one attached to pin 12 and then if it's neither 'a' or 'b',

we come to the default and that's when we turned both of those pins low.

Turning those LEDs. Well,

let's go ahead and check this out. What we should see when we send a is we

should see the LED at pin 13. Come on and stay on.

And then if we send a 'b', we should see that happen at pin 12.

And if we send anything else, those LEDs should go out.

But let's see what is actually happening.

So I'm going to type in a here and you can see I'm using my Kit-on-a-Shield for

Arduino and I'll send this and keep an eye on that pin

and it, uh,

it flicked but then it went right back off.

Coming on real quick. But then it's going off.

Let me try. The 'b' will send a 'b',

okay. That LED is coming on and then flicking

right off again. Okay.

So it's coming on and it's going off. What's going on?

Well, what's happening is a control character

is being added to the end of this line and the reason that is is because down

here in this dropdown, this is where we select which ASCII

control character gets added to the end of each of the statements.

When we click send. So if we click here,

we've got four options, we've got no line ending,

new line, carriage return,

and both new line and carriage return. So what we want for this to work

correctly is no line ending. That means the only thing that's going

to get sent is the 'a' that we put in here or whatever we might type in.

Nothing else is going to get added onto the end.

So let's give this a shot. Let Me Send A.

Okay, so I sent a and now the LED comes on

bright. Let me send 'b'.

I'll send that. Okay.

And now that one comes out and let me send something off kilt

and now they go out. All right,

looks like it's working, right?

Well, what exactly was happening here?

Let's talk a little bit about these control characters.

So control characters are ASCII commands and there's actually quite a few of

them. The ones that we're looking at here are

'\n' which is the new line, and then '\r',

which is the carriage return. So what's the point of this '\n' in this

'\r', what are they actually doing?

Well, what these commands are doing is saying

to the receiving end, hey,

start a new line of text. That's really all it's doing and they're

both doing the same thing. Well,

if new line and carriage return are doing essentially the same thing,

why do we have two options? Well,

the reason is some systems are looking for different things.

Some systems are looking for that '\n', others are looking for that '\r' and

some are looking for a '\n' and '\r', which would be the both new line and

carriage return.

That's why you got all those options, but in this case,

again, we want no line ending.

Now chances are you're like, yeah,

I really don't believe you. So let's try this as a little example.

I'm going to go ahead in this first case and I'm going to go ahead and enter a

new line here, so I'll go back slash n and I'm going to

enter a carriage return here. I'll make this backslash are.

I'll go ahead and upload the program. I'll open up the serial monitor and now

I've got no line ending. I'm to get hit send and I should see

nothing happened on my LEDs. Okay?

Nothing happened. Now what I'm going to do,

Oh look it even let me know . You just you press send and there's

nothing there guy. Now I'm going to select New Line and I'm

going to hit send.

Now look at that. Now LED 13 came on.

Well let me switch this to carriage return and I'll hit send or enter and

now that one comes on. All right,

I'll change it back to No Line Ending and all.

Send something. Turn them both off and now I'm going to

send it to new line and carriage return. So the first thing should be a new line

and that should set off the first case and then the second should be a carriage

return. That should have suck set off the second

case, let me hit send and there they both

turned on. So see I wasn't making that up.

Well maybe. But anyway.

So the reason the LED is flickering when we have an option set here other than no

line ending is because that additional byte is being sent over to the serial

buffer when we hit send.

So if we don't have No Line Ending instead we have new line,

it actually looks something like this, it would be an a and then at the end you

would see a new line. And so this gets sent to the serial

buffer and the first character is going to get pulled in by Serial.read().

So 'a' is going to be an inByte, the switchcase() statement going to see

'a' and it's going to go ahead and turn pin 13 High,

which turns our LED on. But the next time through the loop it's

going to pull in that control character. So now inByte is going to be the control

character and that doesn't match 'a', sure doesn't match 'b',

therefore it's going to go to the default and it's gonna turn pin 13 and

12 Low, turning off the LEDs and that's why

we're seeing those LEDs flicker. So if we don't want that,

again, we just set that to No Line Ending.

So what's the moral of the story? If you're having an issue sending data

over the serial monitor and getting your cases to work right,

and it doesn't even have to be a switchcase() some other times you might

not be expecting some of these control characters.

Just remember, double check,

No Line Ending. Well,

hey, that's a wrap.

I hope you found it helpful and I hope you have a great day.

Bye.

For more infomation >> Arduino Issue: LED flickers off when using switchcase and serial monitor input via the keyboard - Duration: 8:21.

-------------------------------------------

FREE | Lil Skies x Young Thug Type Beat - "Space" Free Trap/Rap Beat - Duration: 2:08.

hope yall like this beat, sub if u do!

No comments:

Post a Comment