Posts

Showing posts with the label blinking

Blinking on bottom window list area on Peppermint One 01042011

Blinking on bottom window list area on Peppermint One 01042011 Mozila Firefox always blinking in bottom window list area. I dont know why it is blinking. I thought Firefox is not in-front of other window. I select some text on a website, scrolling dragging by mouse. That little space for Firefox at bottom window list area is still blinking. (Blinking= goes bright and dark continuously.) I am going to post it in PeppermintOS forum very soon.

Blinking Text

Blinking Text Pertama Buatlah  Command Button Label Timer Copy Source code di "Form Code" Private Sub Command1_Click() If Command1.Caption = "Blinking" Then Cek apakah caption command adalah "blinking"     Timer1.Enabled = True mengaktifkan blinking     Command1.Caption = "Stop" Mengubah Label Command1 menjadi "Stop" ElseIf Command1.Caption = "Stop" Then Cek apakah caption command adalah "stop"     Timer1.Enabled = False Menonaktifkan Blinking     Command1.Caption = "Blinking" Mengubah Label Command1 menjadi "Blinking" End If End Sub Private Sub Form_Load() Timer1.Enabled = False Menonaktifkan Blinking Label1.Caption = "Welcome" Mengubah Caption Label1 menjadi "Welcome" Command1.Caption = "Blinking" Mengubah Caption Command1 menjadi "Blinking" Timer1.Interval = 100 Memberi interval waktu pada timer 1000 = 1 detik End Sub Private Sub Timer1_Timer() If Label1....

Blinking a LED using MPLAB X PIC16F877A

Image
Blinking a LED using MPLAB X PIC16F877A As all the programming lanugages start with a "Hello World" program ,but for a embeded programming its more fun if we start with an optical output 1.Start the MPLAB X IDE 2.Start new Project From the menu bar  or by  File ->New Project 3.A new window will appear , select Microchip Embedded from the category and Stand alone project from the Projects proced by clicking Next 4.Select the Device  Midrange 8 bit MCU from the family and PIC16F877A from the Device list 5.Next is selecting the Hardware tool ,select ICD 3 and proceed to Next 6 .Now select the compiler ,for PIC16F877A select Hi Tech PIC compiler 7.Now you are on new project page  create a new file by clicking on the menu bar or by File -> New File 8.Choose the file type : select  C  from the categories and C main file from the File types 9.Click next and take the source files from the left sidebar open the file by double clicking Write the C program code ...