27220 Parallax Inc, 27220 Datasheet - Page 200
27220
Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet
1.27220.pdf
(230 pages)
Specifications of 27220
Accessory Type
Booklet
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
StampWorks
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
- Current page: 200 of 230
- Download datasheet (3Mb)
pntr
char
' -----[ EEPROM Data ]-----------------------------------------------------
DayNames
' -----[ Initialization ]--------------------------------------------------
Reset:
Setup:
Reset_Clock:
' -----[ Program Code ]----------------------------------------------------
Main:
#IF ($STAMP >= BS2P) #THEN
#ENDIF
slvAddr = DS1307
addrLen = 1
DEBUG CLS,
GOSUB Get_Buttons
idx = btns & %0011
IF (idx = %11) THEN
ENDIF
GOSUB Get_Clock
hrs = hrs & $3F
DEBUG CRSRXY, 0, 2,
GOSUB Print_Day
PAUSE 100
GOSUB Get_Buttons
IF (btns > %0000) THEN
#ERROR "Please use BS2p version: SW21-EX33-DS1307.BSP"
secs = $00
mins = $00
hrs = $06
day = $07
date = $01
month = $01
year = $05
control = 0
GOSUB Set_Clock
IF (btns <> %1000) THEN
hrs = hrs.NIB1 * 10 + hrs.NIB0
"DS1307 Demo", CR,
"-----------"
HEX2 hrs, ":", HEX2 mins, ":", HEX2 secs, CR
VAR
VAR
DATA
Byte
Byte
"SunMonTueWedThuFriSat"
' ee pointer
' character for display
' 1 byte in word address
' scan buttons
' isolate hrs & mins
' if both pressed, reset
' 6:00 AM
' Saturday
' 1st
' January
' 2005
' disable SQW output
' block write clock regs
' read DS1307
' button pressed?
' ignore back only
' BCD to decimal
Related parts for 27220
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: