In this activity.
Your challenge is to send a notification to Telegram when your Python program has successfully connected
to the Arduino with serial communication and also a notification when the communication is closed.
Okay, so the code for the communication between the Arduino and the Raspberry Pi is very simple.
Okay.
In the arduino you are just going to init serial communication and in the raspberry pi you just try
to connect.
Okay.
To Arduino and then so you are going to use the retry block that we have seen in a previous lesson in
this course and then when connected.
Send message to Telegram.
So you're going to use the bot and also when serial close, send also message to Telegram.
So the same thing.
This activity should not be that hard.
You have everything you need to make it work and will see you in the next video for the solution.