I WANT TO MODIFY THE SOURCE CODE OF PROJECT NUMBER 8 OF RFID READ AND DISPLAY SO THAT IT CAN OUTPUT THE DATABASE CONTAINING A STRING OF WORDS AND NOT JUST CHARACTERS AS IT IS ALREADY PROGRAMMED.
I HAVE CHANGED ALL THE COMMANDS OF send_char to send_string AND I HAVE CHANGED THE DATABASE TO:
const unsigned char id_1[]={"0002393929"}; //define the Tag ID here
const unsigned char id_2[]={"0000797447"}; //change this ID to the tag ID that user want to read
const unsigned char user_1[]={"Joseph "}; //define the Tag user here
const unsigned char user_2[]={"Left turn "}; //change this user name to the tag ID owner name
THE MPLAB HAS FAILED TO BUILD THE CODE AND IT HAS GIVEN THE FOLLOWING ERRORS
Warning [357] E:\mradi\PRESENTATION\Source Code PR8-B_2\Source Code PR8-B\PR8.c; 158.38 illegal conversion of integer to pointer
Warning [357] E:\mradi\PRESENTATION\Source Code PR8-B_2\Source Code PR8-B\PR8.c; 161.40 illegal conversion of integer to pointer
Warning [357] E:\mradi\PRESENTATION\Source Code PR8-B_2\Source Code PR8-B\PR8.c; 168.38 illegal conversion of integer to pointer
Warning [357] E:\mradi\PRESENTATION\Source Code PR8-B_2\Source Code PR8-B\PR8.c; 171.40 illegal conversion of integer to pointer
Warning [357] E:\mradi\PRESENTATION\Source Code PR8-B_2\Source Code PR8-B\PR8.c; 177.38 illegal conversion of integer to pointer
Error [984] E:\mradi\PRESENTATION\Source Code PR8-B_2\Source Code PR8-B\PR8.c; 212.1 type redeclared
Error [1098] E:\mradi\PRESENTATION\Source Code PR8-B_2\Source Code PR8-B\PR8.c; 212.1 conflicting declarations for variable "send_char" (E:\mradi\PRESENTATION\Source Code PR8-B_2\Source Code PR8-B\PR8.c:43)
Error [252] E:\mradi\PRESENTATION\Source Code PR8-B_2\Source Code PR8-B\PR8.c; 212.1 argument 0 conflicts with prototype
WHAT ARE THE NECESSARY STEPS THAT I AM MISSING IF I WANT TO MAKE THE USERNAME BE IN FORM OF A STRING?