Htcc-ab02 1/2aa

I’m using the following example code with my HTCC-AB02 1/2AA both the terminal monitor and the application are using baud rate of 115200. When I press the ‘USER’ button I get no response. If I press the ‘RST’ button I get ‘Copyri’ in the Serial Monitor and that’s all? This seems like a pretty simple example what am I doing wrong?

#include “Arduino.h”
#include “LoRa_APP.h”

#define INT_GPIO USER_KEY

#define timetillsleep 5000
static TimerEvent_t sleep;
uint8_t lowpower=1;

void onSleep()
{
Serial.printf(“Going into lowpower mode. Press user key to wake up\r\n”);
delay(5);
lowpower=1;
}
void onWakeUp()
{
delay(10);
if(digitalRead(INT_GPIO) == 0)
{
Serial.printf(“Woke up by GPIO, %d ms later into lowpower mode.\r\n”,timetillsleep);
lowpower=0;
//timetillsleep ms later into lowpower mode;
TimerSetValue( &sleep, timetillsleep );
TimerStart( &sleep );
}
}

void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(INT_GPIO,INPUT);
attachInterrupt(INT_GPIO,onWakeUp,FALLING);
TimerInit( &sleep, onSleep );
Serial.printf(“Going into lowpower mode. Press user key to wake up\r\n”);
delay(5);
}

void loop() {
if(lowpower){
lowPowerHandler();
}
// put your main code here, to run repeatedly:
}