Subversion Repositories Code-Repo

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

import serial,time
from CubeRawCommands import *
from CubeInterface import *

if __name__ == '__main__':
    Cube_Init('COM11', 115200)

    Cube_Clear()
    Cube_Set_Pixel(0,0,0,0xFFF,0xFFF,0xFFF)
    Cube_Set_Pixel(1,0,0,0xFFF,0x000,0x000)
    Cube_Set_Pixel(0,1,0,0x000,0xFFF,0x000)
    Cube_Set_Pixel(0,0,1,0x000,0x000,0xFFF)
    Cube_Update()