14 of 323
ZBasic System Library 4 ZX Microcontroller Family ShiftOutEx() perform synchronous serial output with more configurability SPICmd() perform SPI communication with an external device StatusX10() determine the status of an X-10 communication channel X10Cmd() send commands using the X-10 protocol Serial Communication Routines Debug.Print send strings to Com1 via the system output queue CloseCom() terminate the use of a serial channel ComChannels() prepare for using multiple serial channels Console.Read() retrieve a character from Com1 via the system input queue Console.ReadLine() retrieve a line from Com1 via the system input queue Console.Write() send a string to Com1 via the system output queue Console.WriteLine() send a string to Com1 via the system output queue ControlCom() specify flow control pins for a serial channel DefineCom() set the characteristics of a serial channel DefineCom3() set the characteristics of serial channel 3 OpenCom() prepare a serial channel for use StatusCom() determine the status of a serial channel Queue Management Routines ClearQueue() delete data from a queue GetQueue() retrieve data from a queue GetQueueBufferSize() determine the size of the data area of a queue GetQueueCount() determine the number of bytes of data in a queue GetQueueSpace() determine the amount of space available in a queue GetQueueStr() populate a string with characters from a queue OpenQueue() prepare a queue for use PeekQueue() copy data from a queue without removing it PutQueue() put data in a queue PutQueueByte() put a byte into a queue PutQueueStr() put the characters of a string in a queue SearchQueue() search a queue for a data byte or sequence StatusQueue() determine if a queue has data available Date/Time Routines GetDate() get the month, day, year corresponding to a date value GetDayNumber() compute the day number corresponding to a day of a year GetDayOfWeek() get the day of the week corresponding to a date value GetDayOfYear() get the ordinal day of the year corresponding to a date value GetElapsedMicroTime() compute an elapsed time relative to previous timing data GetMicroTime() populate a buffer with high resolution timing data GetTime() get the current hour, minute and second GetTimestamp() get the current date and time information PutDate() set the current month, day, year PutTime() set the current hour, minute and second PutTimeStamp() set the current date and time information Timer() get the current clock tick value