433mhz with OLED Display

hey guyss…can you guys please help me just a little bit more on my project
im having trouble on displaying the display which is it supposed to display NORMAL text after pushbutton 1 and 2 is pressed…but it seem the display just stuck to display the NORMAL text…

i hope u guys understand and help me out on this project…sorry for my englishh

here is my code for receiver

// RECEIVER CODE

#include <VirtualWire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);

#if (SSD1306_LCDHEIGHT != 64)

#endif

int bunyi = 11;
int kakidisplay = {3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15};//array for storing pin nos

void showSplash() {
String splashString=“Kedah Medical”;
display.clearDisplay();
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(0,0);
display.setCursor(64-(splashString.length()*3),0);
display.print(splashString);
display.setTextSize(2);
splashString=“Centre”;
display.setCursor(64-(splashString.length()*6),8);
display.print(splashString);
display.setTextSize(1);
splashString=" ";
display.setCursor(50-(splashString.length()*1),23);
display.print(splashString);
display.display();
delay(5000);
}

void setup()
{
Serial.begin(9600); // Debugging only
Serial.println(“setup”);
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3D (for the 128x64)
showSplash();
display.setTextSize(2);
display.clearDisplay();
display.display();
Normal();

// Initialise the IO and ISR
vw_setup(2000); // Bits per sec
vw_set_rx_pin(2); //Rx Data pin to Digital Pin 2
vw_rx_start(); // Start the receiver PLL running

for (int i = 0; i < 12; i++)
{
pinMode(kakidisplay*, OUTPUT);*

  • }*
    }//close setup
    void loop()
    {
  • uint8_t buf[VW_MAX_MESSAGE_LEN];*
  • uint8_t buflen = VW_MAX_MESSAGE_LEN;*
  • if (vw_get_message(buf, &buflen)) // Non-blocking*
  • {*
  • int i;*
  • digitalWrite(13, true); // Flash a light to show received good message*
  • // Message with a good checksum received, dump it.*
  • for (i = 0; i < buflen; i++)*
  • {*
    _ Serial.print(buf*);//print received command*_
    _ if(buf == ‘1’)//if button 1 is pressed… i.e.forward buton
    * {
    display.clearDisplay();
    display.setCursor(5,10);
    display.print(“FAILURE !”);
    display.display();
    Sound();
    Serial.println(" = Failure");
    }
    else if(buf == ‘2’)//if button 2 is pressed… i.e.back buton
    {
    display.clearDisplay();
    display.setCursor(0,0);
    display.print(“LOW BATTERY”);
    display.display();
    Serial.println(" = LowBattery");
    }
    Serial.print(" ");
    }*_

* Serial.println("");*
* digitalWrite(13, false);*
* }//close if*
}//close loop
//set of functions
void Sound()
{
* digitalWrite(bunyi,HIGH);*
}
void Normal()
{
* String NormalString=“Anti Fall”;*
* display.clearDisplay();*
* display.setTextSize(1);*
* display.setTextColor(WHITE);*
* display.setCursor(0,0);*
_ display.setCursor(64-(NormalString.length()3),0);
display.print(NormalString);
display.setTextSize(2);
NormalString=“NORMAL”;
display.setCursor(64-(NormalString.length()6),8);
display.print(NormalString);

* display.setTextSize(1);
display.display();
}
//End Of Code*

and this is for transmitter
// TRANSMITTER CODE
#include <VirtualWire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
#if (SSD1306_LCDHEIGHT != 64)
#endif
//Assigning controller buttons to Digital Pins
int Tercabut = 8;
int LowBattery = 9;
int remotePins[]= {8,9,10,11,12};//array to store pin nos
void setup()
{
* Serial.begin(9600); // Debugging only*
* Serial.println(“setup”);
// Initialise the IO and ISR*_

* vw_setup(2000); // Bits per sec*
* vw_set_tx_pin(3); //Transmitter Data Pin to Digital Pin 3*

* for(int i = 0; i<6 ; i++)*
* {*
_ pinMode(remotePins*, INPUT);
digitalWrite(remotePins,HIGH);
}
}//close setup*

void loop()
{
char *msg2;
char *msg = “Normal”;_

* if(digitalRead(Tercabut) == HIGH)//if the forward button is pressed*
* {*
_ char msg2 = “1”;//send 1 to the receiver_
_ digitalWrite(13, true); // Flash a light to show transmitting*
vw_send((uint8_t )msg2, strlen(msg2));//send the byte to the receiver
vw_wait_tx(); // Wait until the whole message is gone*

* digitalWrite(13, false);
}
else if(digitalRead(LowBattery) ==HIGH)//if the back button is pressed*

* {
char msg2 = “2”;///send 2 to the receiver_
_ digitalWrite(13, true); // Flash a light to show transmitting

vw_send((uint8_t )msg2, strlen(msg2));//send the byte to the receiver
vw_wait_tx(); // Wait until the whole message is gone*

* digitalWrite(13, false);
}
else
{
char msg = “Normal”;
digitalWrite(13, true); // Flash a light to show transmitting

vw_send((uint8_t )msg, strlen(msg));
vw_wait_tx(); // Wait until the whole message is gone*

* digitalWrite(13, false);
}*

se loop_

// End Of Code

...and that's why we ask that you use code tags

what do you mean code tags ?
im newbie in this some kind of programming. sorry

what do you mean code tags ?

http://forum.arduino.cc/index.php/topic,148850.0.html