Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | BasicX | How do I set the date and time of the BasicX-24 RTC?


Advertise Here

Discussion forum for the BasicX family of microcontroller chips.

How do I set the date and time of the BasicX-24 RTC? - taber0015 - Jul 30 14:52:04 2008


I just recieved my BasicX-24 development kit and am having some problems
setting the RTC. I've loaded the serial 2x16 LCD demo and it works
great! The problem I've having is at the end of the LCD demo the
display shows the default date and time. Now I have changed the LCD
demo code by adding PutDate and PutTime, but it doesn't seem to be
working. The PutTime command wont compile correctly. The PutDate
command compiles, but the changes are not reflected when I run the
program. The LCD demo finishes and just shows the default date.

The way I'm adding these procedures is to simply add the lines: Call
PutDate(yr,m,d) and Call PutTime(hr,mn,s) after Sub Main.

Am I doing something worng? Could someone please post some sample code
that will show me how to set the date and time?

Thanks for any assistance,

Mike T

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

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: How do I set the date and time of the BasicX-24 RTC? - mdc_fi_it - Aug 1 12:45:05 2008

Hello, maybe what I'm writing has nothing to do with your problem, but
you know that when you reset the device the RTC returns to default?

-- K.
------------------------------------



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )