Start/stop a counter on PIC16F877A microcontroller using smartphone with HC-05 bluetooth module.

Guys, My lectures are free for everyone. If you want to support my channel, then become a Youtube member by following link below:    / @learningmicrocontrollers3561   Seek knowledge from the cradle to the grave /// Hello guys Welcome to learning microcontrollers, Guys I had made a course for you guys on Udemy. This course will teach you how to directly get your hands dirty on arduino and make useful projects to earn money. Please do take this course on udemy this will greatly help me to grow my channel. You will assisting my channel by paying for that course. Here is the link to the course: https://www.udemy.com/course/learn-ar... A quote: Learn from cradle to grave. / / / ////////////////////// Hello Guys, Welcome to learning Microcontrollers. I had made a course for you guys to learn under my direction supervision on Udemy. This course will make you a master of PIC microcontroller based projects making using MikroC for PIC software. Please do take this course the link is below. This will greatly help my channel aswell to grow. https://www.udemy.com/course/pic-micr... A beautfiul quote: The road to sucess is always under construction. / / ///////////////////////////////////////////////////// #electronics #arduino #arduinoproject #project #microcontroller #circuitdiagram #circuitdiagram #simulator #simulation #proteus #proteus8 #pic16f877a #arduinotutorial #electronictutorial #embedding #embeddedprojects #embedded_system #embeddedprojectcenters #embedded_system #diy #diycrafts #diyideas #diyproject #diyarbakır #toggle #toggleswitch #switch #bluetooth #hc05 #wireless HC-05 ? The HC-05 is a popular module which can add two-way (full-duplex) wireless functionality to your projects. You can use this module to communicate between two microcontrollers like Arduino or communicate with any device with Bluetooth functionality like a Phone or Laptop. There are many android applications that are already available which makes this process a lot easier. The module communicates with the help of USART at 9600 baud rate hence it is easy to interface with any microcontroller that supports USART. We can also configure the default values of the module by using the command mode. So if you looking for a Wireless module that could transfer data from your computer or mobile phone to microcontroller or vice versa then this module might be the right choice for you. However do not expect this module to transfer multimedia like photos or songs; you might have to look into the CSR8645 module for that. 1- How to download and install MikroC for PIC full version for free from official website. 100% Legit.    • How to download and install MikroC for PIC...   2- Tutorial on downloading, installing and using PICKIT 3 programmer tool.    • Tutorial on downloading, installing and us...   3-Setting up a PIC16F877A/PIC16F887/PIC18F****.    • Setting up a PIC16F877A/PIC16F887/PIC18F****   4- PIC16F877A a basic Introduction.    • PIC16F877A a basic Introduction   5- If you guys like my work you can support my work using Patreon link below: patreon.com/user?u=81261678 6- How to change default settings of HC-05/06 Bluetooth module using USB to TTL device.    • How to change default settings of HC-05/06...   9- MikroC for PIC code: ///////////////// Code Starts here //////////////////////// char read1; char scount[8]; int count; void main() { UART1_Init(9600); //// intializes the HC05 module Delay_ms(100); count = 0; read1 = 'z'; while(1) { if (UART1_Data_Ready() == 1) { read1 = UART1_Read(); } if ( read1 == 'a') { while(1) { read1 = UART1_Read(); if ( read1 == 'b') { break; } IntToStr(count,scount ); UART1_Write_Text(scount); Delay_ms(250); count = count +1; } } else { read1 = 'z'; count = 0; UART1_Write_Text(" PIC WAITING "); } } } ///////////////// Code Ends here ////////////////////////