Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void loop()
- {
- nRF905_interrupt_off();
- // HERE I HAVE MY CODE FOR DRAWING IN THE LCD SCREEN
- nRF905_interrupt_on();
- byte buffer[NRF905_MAX_PAYLOAD];
- while(!nRF905_getData(buffer, sizeof(buffer)));
- nRF905_receive();
- nRF905_interrupt_off();
- myGLCD.setFont(SevenSegNumFont);
- myGLCD.printNumI(buffer[0],LEFT, 10);
- myGLCD.printNumI(buffer[1],LEFT,180);
- nRF905_interrupt_on();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement