Qwiic keypad firmware question

I bought the Qwiic keypad and other boards, and want to know how they operate.

I have something don’t understand,

firmware function “void receiveEvent(int numberOfBytesReceived)”,

byte temp = Wire. read(); //We might record it, we might throw it away,

what value does temp record?

I hope someone can answer, appreciate :smiley:

The function’s goal is to act as an interrupt, as mentioned. The temp variable is just a space in memory to put what’s coming in through the pipe (FIFO) via Wire.read().