New examples included in v7.0 Astrobe for RISC5
Posted: Sat Jul 06, 2019 11:37 pm
The following examples are now included in source and executable form in the standard distribution of v7.0 Astrobe for RISC5:
Flash up to ten LEDs in a sequence at 1 second intervals.
Run - Loops infinitely. When a button is pressed the button number is displayed and the program terminates.
Run - Execute six different tests to identify faulty 4164 64kbit DRAM chips.
- Extensions, ExtensionsCase and ExtensionsProc:
Run - Three different ways to use Oberon's Type Extension feature to create and scan a dynamic list of a variety of objects.
Run - Time the sector reading speed of an HCFiler filesystem on the SDHC Card.
Run - Inititialise an HCFiler filesystem and create a number of test files on the SDHC Card. Any existing HCFiler files will subsequently be inaccessible.
InitDisk - Initialise an HCFiler filesystem on an SDHC card. Any existing HCFiler files will subsequently be inaccessible.
WriteFiles - Copy files from a Project Oberon filesystem to an HCFiler filesystem on the same SDHC card
Dir - Display a list of HCFiler files on the SDHC Card.
Show - Display the reading from a Honeywell HMC6352 digital compass.
Show - Display the temperature read from a Texas Instruments TMP102 digital temperature sensor.
Run - Compare the performance of numeric CASE statements vs. the equivalent IF-THEN-ELSE statements.
Run - Displays a list of switches that are on.
Show - Display the temperature read from a DS3234 Real-Time Clock peripheral device.
On - Enables interrupts. An interrupt handler is installed when the module is loaded. When interrupts are enabled the handler is invoked every 500 ms to blink an LED.
Off - Disables interrupts. The LED stops blinking.