One use, for example, is to include documentation in a configuration file downloaded to the device by placing comments on each line:
That use of the semicolon is demonstrated extensively throughout the MIRTOS documentation. In nearly all instances, lines which contain a semicolon are treated as comments from that point on, but not always. Here is an example where the semicolon is inside a string:; Setup the configurations in EEPROM: E 0x50 = "nRF PTX config:" E 0x60 = 0x7C ; CONFIG (Reg. 0 = B01111100) PTX, Power Down E 0x61 = 0x3F ; EN_AA (Reg. 1 = B00111111) Enable all 6 E 0x62 = 0x3F ; EN_RXADDR (Reg. 2 = B00111111) Enable all 6 pipes E 0x63 = 3 ; SETUP_AW (Reg. 3) 5-byte Rx/Tx Address width E 0x64 = 0x34 ; SETUP_RETR (Reg. 4 = B00110010) 1 mSec, 2 retries E 0x65 = 0x4E ;= 78 RF_CH (Reg. 5) RF Channel = 2.478 GHz E 0x66 = 0x06 ; RF_SETUP (Reg. 6 = B00000110) 1 Mbps; 1.0 mW ; ... ; ; Node 1: E 0x130 = 0x7D 0 0x3F 3 0x34 78 6 ; Alternate PRX configuration E 0x137 = "1_SSG" ; RX_ADDR_P0: Pipe 0 Receive address E 0x13C = "2_SSG" ; RX_ADDR_P1: Pipe 1 Receive address E 0x141 = "3456" ; Pipes 2-5 Receive addresses E 0x145 = "1_SSG" ; TX_ADDR = RX_ADDR_P0 E 0x14A = 0x3F 7 0x88 0xD0 7 0 E 0x150 = 0x7C ; Alternate PTX config begins EC 0x151 0x131 31 ; The remaining 31 bytes are the same
; Device initialization script: E 0xB0 = '; Bootup init: '" ; Script header (stored in EEPROM as well) E 0xC0 = "E 1 ~= 0xC0" ; Disable both sequencer and multitasking E 0xCC = "N**" ; Load the default nRF24L01 configuration E 0xD0 = "ND+" ; Enable the default debugging outputs E 0xD4 = "ES 479=58" ; DumpRegs show SP, RetAdd and SREG columns E 0xDE = "E 0x19 = 0x25" ; Show the heartbeat on LED #6 E 0xEC = "E 0x20 = 0x24" ; Show the login status on LED #5