Skip to Content
ConfigurationsConfiguration Template

Configuration Template

Base template for documenting Rinho device configurations.


File naming

{project}-{type}{nn}.txt
TypeDescription
almAlarm
canCANBus
tmpTemperature
geoGeofence
velSpeed
pwrPower
bleBluetooth

Code template

// ============================================================================ // {TITLE IN UPPERCASE} // ============================================================================ // File: {name}.txt // Version: 1.0 // Date: YYYY-MM-DD // Device: Rinho SMART/Spider/Zero IoT // ============================================================================ // // DESCRIPTION: // {Brief description of the configuration purpose} // // INPUTS: // INxx - {Description} ({COLOR/COLOR}) - {Logic: active high/ground} // // OUTPUTS: // XPxx - {Description} // // TIMERS: // TDxx - {Description} - {Value in seconds} // // COUNTERS: // NTxx - {Description} // // VARIABLES: // UVxx - {Description} // // EVENTS: // NN - {Event description} // // LOGIC: // {expression} = {meaning} // // FLOW: // 1. {Step 1} // 2. {Step 2} // // NOTES: // - {Special considerations} // // ============================================================================ // --- INITIAL CONFIGURATION --- // Timers, thresholds, analog ranges, etc. >STD00E00060< // 60 second timer // --- LOGGING (optional) --- // State changes for debug/traceability >SRL00E;TRG=IN00+;ACC={GCR01L}< // Log input change // --- MAIN LOGIC --- // System rules >SRL10E;TRG=IN00+;CND=IGN;ACC={GCQ10H}< // If input active + IGN → report // --- MANUAL CONTROL (optional) --- // User inputs for remote control >SRL20E;TRG=IN01-;ACC={SSSXP0011}< // Activate output with input
Last updated