Let's work through the errors from the top of the compiler output to the bottom:
sketch_mar27b:39:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
*message = "HIGH";
^~~~~~
sketch_mar27b:45:15: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
*message = "low";
^~~~~
You have this odd code:
*message = "HIGH";
strcpy(message , "HIGH");
You can change it to this:
message = "HIGH";
That sets the message pointer to the memory location where the "HIGH" string is stored.
Make the same fix for the other code that causes that error.
sketch_mar27b:53:46: error: invalid conversion from 'char*' to 'const uint8_t* {aka const unsigned char*}' [-fpermissive]
driver.printBuffer("Sent:", message, msglen);
^
In file included from E:\electronics\arduino\libraries\RadioHead-master/RH_ASK.h:9:0,
from C:\Users\per\AppData\Local\Temp\arduino_modified_sketch_284706\sketch_mar27b.ino:1:
E:\electronics\arduino\libraries\RadioHead-master/RHGenericDriver.h:194:20: note: initializing argument 2 of 'static void RHGenericDriver::printBuffer(const char*, const uint8_t*, uint8_t)'
static void printBuffer(const char* prompt, const uint8_t* buf, uint8_t len);
^~~~~~~~~~~
The type of message is char* but the type of the buf parameter of printBuffer is uint8_t*. To resolve this, you can cast message to the correct type, as you had already done for driver.sent() on the next line:
driver.printBuffer("Sent:", (uint8_t *)message, msglen);
Now your code is fixed, but you'll probably get another error:
In file included from E:\electronics\arduino\libraries\RadioHead-master/RHGenericSPI.h:10:0,
from E:\electronics\arduino\libraries\RadioHead-master/RH_NRF24.h:10,
from E:\electronics\arduino\libraries\RadioHead-master\RH_NRF24.cpp:6:
E:\electronics\arduino\libraries\RadioHead-master\RH_NRF24.cpp: In member function 'virtual bool RH_NRF24::waitPacketSent()':
E:\electronics\arduino\libraries\RadioHead-master/RadioHead.h:875:16: error: 'yield' was not declared in this scope
#define YIELD yield();
^
This is caused by the WAVGAT hardware package on the Google Drive link you find in their listings being extremely outdated. It seems they have actually updated the package, but didn't bother to update their product listings to point to the location of the updated file. You'll need to uninstall the outdated hardware package you have on your computer and replace it with the updated one. Due to WAVGAT not bothering to learn the most fundamental concepts of how the Arduino IDE works, this process will be much more complicated than it should be:
- Delete {Arduino IDE installation folder}/hardware/WAV
- Delete {Arduino IDE installation folder}/hardware/WAV8F
- Delete {Arduino IDE installation folder}/libraries/E2PROM
- Delete {Arduino IDE installation folder}/libraries/PMU
- Delete {Arduino IDE installation folder}/libraries/SoftwareSerial
- Delete {Arduino IDE installation folder}/libraries/SPI
- Delete {Arduino IDE installation folder}/libraries/usbdrv
- Delete {Arduino IDE installation folder}/libraries/VUsbDevice
- Delete {Arduino IDE installation folder}/libraries/VUsbKeyboard
- Delete {Arduino IDE installation folder}/libraries/WDT
- Delete {Arduino IDE installation folder}/libraries/Wire
- Download https://github.com/WAVGAT-SZ/WAVGAT/raw/master/发给客户.zip
- Unzip the downloaded folder
- In the unzipped folder, move ╖ó╕°┐═╗º/update/libraries to ╖ó╕°┐═╗º/update/hardware/WAV8F/AVR
- Rename ╖ó╕°┐═╗º/update/hardware/WAV8F/AVR to ╖ó╕°┐═╗º/update/hardware/WAV8F/avr
- If it doesn't already exist, create the folder {sketchbook folder}/hardware. You can find the location of {sketchbook folder} in the Arduino IDE at File > Preferences > Sketchbook location.
- Copy ╖ó╕°┐═╗º/update/hardware/WAV8F to {sketchbook folder}/hardware.
- Restart the Arduino IDE if it's running.
- Tools > Board > WAVGAT UNO R3
Installing the hardware package to the hardware subfolder is the correct way to do this, as is bundling the hardware-specific libraries with the hardware package instead of polluting the global libraries. If the people at WAVGAT had any respect for their customers (or even just a desire to have a profitable business), they would have taken an hour or two to learn these fundamentals of how to properly use the Arduino IDE. Better yet, they could make a little extra effort to provide super easy installation and updates via the Arduino IDE's Boards Manager feature. It's just inexplicable to me that they would run their business this way. There have to be some fairly intelligent people working at the company to be able to design and produce the hardware, but the Arduino IDE support effort is absolutely pitiful. I strongly the Arduino community to not support this company. I recommend that you leave negative feedback for your purchase on Aliexpress.
You might also take a look at the contents of ╖ó╕°┐═╗º/update/sketches. It looks like this folder contains example sketches that demonstrate the special features of the LGT8F328P.