bigal_scorpio
Active Member
Hello to all, and a merry Christmas and a Happy New Year to everyone on this helpful and indespensible site!
Have a good one...............Al
Have a good one...............Al
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
{
*****************************************************************************
* Name : Christmas.BAS *
* Author : William Richardson *
* Notice : Copyright (c) 2007 blueroomelectronics *
* : All Rights Reserved *
* Date : 12/21/2007 *
* Version : 1.0 Swordfish BASIC SE *
* Notes : Have a Merry Christmas and Happy New Year *
* : blueroomelectronics Unicorn 18F4550 with 2x16 LCD *
*****************************************************************************
}
Device = 18F4550
Clock = 1
Config FOSC = INTOSC_HS, LVP = OFF // Use the Internal Oscillator
#option LCD_DATA = PORTD // Assign the LCD connections
#option LCD_EN = PORTE.2
#option LCD_RS = PORTE.0
#option LCD_RW = PORTE.1
Include "LCD.bas"
Include "utils.bas"
OSCCON = $42 // 1MHz internal OSC
SetAllDigital // Make all pins digital I/O's
High(PORTB.3) // Turn on the LCD backlight
DelayMS(150)
Cls // Clear the LCD screen
DelayMS(50)
WriteAt(1,1,"Merry Christmas ")
WriteAt(2,1,"& Happy New Year")
End
ThermalRunaway said:Nadolig Llawen a Blwyddyn Newydd Dda - Merry Christmas and a Happy New Year!
I'm going to be busy writing code for an RC5 receive circuit. I'm looking forward to the time off work so that I can get a good chunk of it done actually!
Have a good one all,
Brian
I hope you you are allowed to celebrate Christmas there.Boncuk said:there is no Christmas in Thailand. There is even no such thing as a Christmas tree.
{
* Name : Christmas.BAS *
* Author : William Richardson *
* Notice : Copyright (c) 2007 blueroomelectronics *
* : All Rights Reserved *
* Date : 12/21/2007 *
* Version : 1.0 Swordfish BASIC SE *
* Notes : Have a Merry Christmas and Happy New Year *
* : blueroomelectronics Unicorn 18F4550 with 2x16 LCD *
}
Device = 18F4550
Clock = 20
Config FOSC = HS, PLLDIV = 5, CPUDIV = OSC1_PLL2, LVP = OFF
#option LCD_DATA = PORTD // Assign the LCD connections
#option LCD_RS = PORTE.0
#option LCD_RW = PORTE.1
#option LCD_EN = PORTE.2
Include "LCD.bas"
Include "utils.bas"
SetAllDigital // Make all pins digital I/O's
High(PORTB.3) // Turn on the LCD backlight
DelayMS(150)
Cls // Clear the LCD screen
DelayMS(50)
WriteAt(1,1,"Merry Christmas ")
WriteAt(2,1,"& Happy New Year")
End
Kyle-s4h said:-- you know you're addicted when the Christmas holidays means time off to program!
audioguru said:I hope you you are allowed to celebrate Christmas there.
Maybe you can also celebrate a Buddist holiday.