background

background( )

Description
Set the color of background

Syntax
background(r,  g, b) 

Parameters
  r : red (0~255)
  g : green(0~255)
  b : blue(0~255)

Usages
background(255, 0, 0);    // red color
background(0, 255, 0);    // green color
background(0, 0, 255);    // blue color


Examples in arduino

#include "AppGosu.h"
AppGosu app;

void  setup() {
     app.start();
     app.clearAll();

     app.background(250, 170, 50);

}
void loop() {

}



Examples in other MCU 


printf("background(255,170,50);");


















-----------------------------------------

No comments: