|
ZBasic System Library
4
ZBasic Microcontrollers
Date/Time Routines
get the month, day, year corresponding to a day number
GetDateVdlue()
get the month, day, year corresponding to a day number (packed)
compute the day number corresponding to a day of a year
get the day of the week corresponding to a date value
get the ordinal day of the year corresponding to a date value
compute an elapsed time relative to previous timing data
populate a buffer with high resolution timing data
get the current hour, minute and second
get the current date and time information
get the current hour, minute and second (packed)
set the current month, day, year
set the current hour, minute and second
stream analog conversion data to Com1
read data from a bus-oriented device
write data to a bus-oriented device
deinitialize an I2C communication channel
deinitialize a 16-bit PWM channel
deinitialize an 8-bit PWM channel
deinitialize an SPI communication channel
deinitialize an X-10 communication channel
receive stream of analog conversion data
count transitions on an input pin
produce an analog voltage on an output pin
specify the parameters for accessing a bus-oriented device
specify the parameters for software-based SPI communication
specify the communication parameters for an X-10 channel
produce a dual-frequency sine wave on an output pin
receive a bit using the 1-Wire protocol
receive a byte using the 1-Wire protocol
receive one or more bytes using the 1-Wire protocol
perform an analog to digital conversion on an input
read the state of an input pin
send/receive data over an I2C channel
receive a byte on an I2C channel
send a byte on an I2C channel
create a Start condition on an I2C channel
create a Stop condition on an I2C channel
record the high/low times of a pulse train on an input pin
record the high/low times of a pulse train on an input pin
prepare for I2C communication with an external device
activate I2C slave mode
prepare for SPI communication with an external device
activate SPI slave mode
prepare for 16-bit PWM generation
prepare for 8-bit PWM generation
prepare an X-10 communication channel for use
produce a pulse train
produce a pulse train on any output pin
reproduce sampled audio on an output pin
compose a designator for a specific bit in an I/O port
compute the bitmask for the port with which a pin is associated
measure a pulse width on an input pin
|