From 53cf35734c814bccfeed6a4e156df2fa47bb5596 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 22 Oct 2024 06:41:37 -0400 Subject: [PATCH] PinoutTemplate --- random/build.gradle | 3 +++ .../main/java/com/rusefi/PinoutTemplate.java | 19 +++++++++++++++++++ settings.gradle | 3 +-- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 random/build.gradle create mode 100644 random/src/main/java/com/rusefi/PinoutTemplate.java diff --git a/random/build.gradle b/random/build.gradle new file mode 100644 index 0000000..c5fc4ba --- /dev/null +++ b/random/build.gradle @@ -0,0 +1,3 @@ +plugins { + id 'java' +} \ No newline at end of file diff --git a/random/src/main/java/com/rusefi/PinoutTemplate.java b/random/src/main/java/com/rusefi/PinoutTemplate.java new file mode 100644 index 0000000..b874e18 --- /dev/null +++ b/random/src/main/java/com/rusefi/PinoutTemplate.java @@ -0,0 +1,19 @@ +package com.rusefi; + +public class PinoutTemplate { + private static final String PIN_PREFIX = "X1-"; + private static final int TO = 73; + + public static void main(String[] args) { + + + for (int i = 1; i <= TO; i++) { + System.out.println(" - pin: " + PIN_PREFIX + i); + System.out.println(" function: "); + System.out.println(" type: "); + + if (i % 10 == 0) + System.out.println("\n"); + } + } +} diff --git a/settings.gradle b/settings.gradle index a26e302..09f721b 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,8 +1,7 @@ rootProject.name = 'can-log-tools' +include ':random' include ':reader' -project(':reader').projectDir = new File('reader') include ':playback' -project(':playback').projectDir = new File('playback') include ':peak-can-basic' project(':peak-can-basic').projectDir = new File('ext/peak-can-basic')