littlepax.blogg.se

Ucsra in codevision
Ucsra in codevision













char hc_05_bluetooth_change_baud_rate(long int baud_rate)

ucsra in codevision

ucsra in codevision

Unsigned char hc_05_bluetooth_at_command_mode_test(void) If(*(receive_string+i)=terminating_character) *(receive_string+i)=usart_data_receive() Void hc_05_bluetooth_transmit_string(char *transmit_string)Ĭhar *hc_05_bluetooth_receive_string(char *receive_string, unsigned char terminating_character) Void hc_05_bluetooth_transmit_byte(char data_byte) char hc_05_bluetooth_pin_change(char *new_pin) Unsigned char hc_05_bluetooth_get_version(void) Unsigned char hc_05_bluetooth_device_name_change(char *device_name) Void hc_05_bluetooth_transmit_command(char *transmit_string) Ĭhar *hc_05_bluetooth_receive_string(char *receive_string, unsigned char terminating_character) Void hc_05_bluetooth_transmit_string(char *transmit_string) Hc_05_bluetooth_transmit_string("/*Transmits a string to Bluetooth Module*/Ĭhar hc_05_buffer1, hc_05_buffer2 *Transmits New Line to Bluetooth Module for new line*/ *Transmits Carriage return to Bluetooth Module*/ *Transmits a string to Bluetooth Module*/ Hc_05_bluetooth_transmit_string("ABLab Solutions") *Includes hc05.h header file which defines different functions for HC-05 Bluetooth Module. *Includes delay.h header file which defines two functions, _delay_ms (millisecond delay) and _delay_us (microsecond delay)*/ Default value of F_CPU in delay.h header file is 1000000(1MHz)*/ F_CPU is the microcontroller frequency value for the delay.h header file. *Defines a macro for the delay.h header file. *Includes io.h header file where all the Input/Output Registers and its Bits are defined for all AVR microcontrollers*/















Ucsra in codevision