// Production 17 Function DCC Decoder Dec_17LED_1Ftn.ino // Version 6.01 Geoff Bunza 2014,2015,2016,2017,2018 // Now works with both short and long DCC Addesses // // ******** UNLESS YOU WANT ALL CV'S RESET UPON EVERY POWER UP // ******** AFTER THE INITIAL
#include <Arduino.h> #include <Vector.h> Vector<String> words; void waitForKeyboardReturnKey() { Serial.println("Press any key to continue..."); // Wait until at least one character is available in the buffer while (Serial.available() == 0) { // Do nothing, just wait for input } // Read all available characters in the buffer while (Serial.available() > 0) { Serial.read(); // Clear out the buffer to avoid unintended behavior delay(10); // Small delay to ensure all characters are read } Serial.println("Key pressed, continuing..."); } void setup() { Serial.begin(74880); while (!Serial) { // loop only
#include <Arduino.h> std::vector<String> words; void waitForKeyboardReturnKey() { Serial.println("Press any key to continue..."); // Wait until at least one character is available in the buffer while (Serial.available() == 0) { // Do nothing, just wait for input } // Read all available characters in the buffer while (Serial.available() > 0) { Serial.read(); // Clear out the buffer to avoid unintended behavior delay(10); // Small delay to ensure all characters are read } Serial.println("Key pressed, continuing..."); } void setup() { Serial.begin(74880); while (!Serial) { // loop only } } void loop
Atmel_V1_4_32_4.ino
#include <Flash.h>
#include <board_far.h>
#include <nv_boot.h>
#include <Arduino_Builtin.h>
#include <EEPROM.h>
// This code is an alternative software for Bosch vacuumcleaner...
Ausgabe
Seneler Monitor
D:\Bosch_atlet\Atmel_V1_4_32_4.ino:4:10: fatal error: board_far.h: No such file or directory
#include <board_far.h>
|||
compilation terminated.
exit status 1
Compilation error: board_far.h: No such file or directory
//github.com/espressif/arduino-esp32/blob/master/libraries/Ticker/examples/TickerBasic/TickerBasic.ino oder ähnlich. Muss mal sehen ob das passt. Gruß Rainer
I2C device found at address 0x3C ! 20:48:16.693 -> done Ich hab dann den "ssd1306_128x32_i2c.ino" Scetch aus der Adafruit_SSD1306 lib laufen lassen. Das Programm fängt an zu meckern, wenn es kein Display findet. Das Programm hat nicht gemeckert, aber es gibt auch keine Pixel. Das Display bleibt
#include <Flash.h> #include <board_far.h> #include <hw_boot_sections.h> #include <urboot.h> #include <Arduino_BuiltIn.h> #include <EEPROM.h> #include <AVR_keywords.h> #include <AVR_keywords.h> #include <Arduino_BuiltIn.h> #include <EEPROM.h> /* this code is an aternative software for Bosch vaccuumcleaner, tested and working on the BCH6L2560 & BBH7360K model. Other Bosch models may work, but YOU must chek first if your hardware is supported ! We take no responsability at all for this code, use it on your own risk. Here you find basic schematics (uncomplete) and fotos…. https://www.mikrocontroller.net
Michael schrieb im Beitrag #7724561: > und der Programmcode als .txt Wenn Du ihn als *.c oder *.ino angehängt hättest, würde die Forensoftware eine Codeansicht anbieten ...
Harald K. schrieb im Beitrag #7724574: > Wenn Du ihn als *.c oder *.ino angehängt hättest, würde die > Forensoftware eine Codeansicht anbieten ... Eigentlich sollte es genau das tun, hier nochmal:
#include <Arduino.h> /* Standard Arduino library */ #include <LittleFS.h> /* Filesystem */ #include <map> #include <set> /***************************************************************** FALLS EINE LED ANGESCHLOSSSEN IST, BITTE HIER DEN PIN ANGEBEN FALLS EINE LED ANGESCHLOSSSEN IST, BITTE HIER DEN PIN ANGEBEN FALLS EINE LED ANGESCHLOSSSEN IST, BITTE HIER DEN PIN ANGEBEN *****************************************************************/ #define LED_PIN D5 class PublicKeyValuePairs { public: // Constructor initializes default keys and reads custom key-value pairs from file PublicKeyValuePairs()
#include <Servo.h> Servo myServo; // Erstelle ein Servo-Objekt int potPin = A0; // Pin, an dem das Potentiometer angeschlossen ist int servoPin = 9; // PWM-Pin, an dem das Servo angeschlossen ist int inputPin = 7; // Pin, an dem das Eingangssignal angeschlossen ist int outputPin = 8; // Pin, an dem der Zustand des Servos angezeigt wird int potValue; // Variable zum Speichern des Potentiometerwertes int targetAngle; // Variable zum Speichern des Zielwinkels int currentAngle = 0; // Variable zum Speichern des aktuellen Winkels const int totalTravelTime = 2000; // Gesamtzeit für die Bewegung in Millisekunden
verhält sich wie am 27.07.2024, um 4mA Ruhe, mit LED an 20mA. Auch das Beispiel "BlinkWithoutDelay.ino" ändert nichts. Ich habe keine Idee mehr, wohl aber ein Gerät, wo ein 5V-ProMini aus gleicher Quelle seit 7 Jahren ohne Ausfall im Dauerbetrieb läuft. Ich beforsche das jetzt nicht weiter.
N330 und 2 Gb von 2009. Wenn ich mit Arduino an der Hardware teste, bekommt der per Netzwerk die .ino, darf die compilieren, drauf spielen und danach als Terminal die Ausgaben anzeigen. Dauert eben länger als am "Großen", aber wäre im Falle eines Schadens nicht so schmerzhaft. Mein Asus-Eeee 101
/* * Speed measurement with optical encoder * On every rising edge the time delta to the last rising edge is printed to the serial port. * Additionaly LED_BUILTIN output shows the trigger point. * * 2024-06-27 Christoph M. */ // pin change interrupt base code: // https://wolles-elektronikkiste.de/en/interrupts-part-2-pin-change-interrupts const int interruptPin = 6; volatile bool event = false; volatile uint32_t TimeDelta = 0; volatile byte changedPin = 0; const byte interruptPinMask = 0b11111100; volatile byte lastInterruptPinsStatus = 0b01010100; volatile bool risingEdge = false; // PCINT2_vect
#7687967: > Ich hoffe, jemand kann helfen... Tippe auf "Durchsuchen" und wähle das *vollständige* .ino aus (ziehen geht auch).
PCINT-Pin verwendet. Die Auswertung in loop() ist immer eine schlechte Idee! Wenn Du die Endung auf .ino änderst, sollte Arduino das auch Übersetzen können. Selbst habe ich es nicht probiert.
/* this code is an aternative software for Bosch vaccuumcleaner, tested and working on the BCH6L2560 & BBH7360K model. Other Bosch models may work, but YOU must chek first if your hardware is supported ! We take no responsability at all for this code, use it on your own risk. Here you find basic schematics (uncomplete) and fotos…. https://www.mikrocontroller.net/topic/513088 Many thaks to Daniel F.(per48or) for programming with me Lena S.(lena_s) this piece of code to awaken this vaccuumclears again. */ // SET your Board to MiniCore ATmega328PB @ 8Mhz Internal, BOD=2.7V, no Bootloader // https://github.com
/* this code is an aternative software for Bosch vaccuumcleaner, tested and working on the BCH6L2560 & BBH7360K model. Other Bosch models may work, but YOU must chek first if your hardware is supported ! We take no responsability at all for this code, use it on your own risk. Here you find basic schematics (uncomplete) and fotos…. https://www.mikrocontroller.net/topic/513088 Many thaks to Daniel F.(per48or) for programming with me Lena S.(lena_s) this piece of code to awaken this vaccuumclears again. */ // SET your Board to MiniCore ATmega328PB @ 8Mhz Internal, BOD=2.7V, no Bootloader // https://github.com
LM4F120 Launchpad irmp-main-esp8266.c - ESP8266 irmp-main-mbed.cpp - MBED examples/Arduino/Arduino.ino - Teensy 3.x irmp-main-chibios.c - ChibiOS Auch auf PIC-Prozessoren ist IRMP lauffähig. Für den PIC-CCS-Compiler sind entsprechende Preprocessor-Konstanten bereits gesetzt, so dass man irmp.c direkt
/* Generic ESP8266 Modul sketch_MAIN8266.ino aus BasicHTTPClient.ino Created on: 27.03.2024 liest den Status aus Shelly 3EM, filtert nach "POWER",ermittelt den Strom eines Moduls, schaltet die notwendige/zulässige Anzahl Module zu oder ab, und
/* Generic ESP8266 Modul sketch_MAIN8266.ino aus BasicHTTPClient.ino Created on: 27.03.2024 liest den Status aus Shelly 3EM, filtert nach "POWER",ermittelt den Strom eines Moduls, schaltet die notwendige/zulässige Anzahl Module zu oder ab, und
gesamte Steuerung der Gärbox in die 275 Zeilen zu packen, die bisher in der defaults_user_settings.ino allein die Verwaltung und Speicherung der Produkteinstellungen braucht. > Was man auf jeden Fall noch einbauen sollte: > Nicht immer an die gleiche Stelle im EEprom speichern. Im Besonderen, wenn
Angefangen mit dem Sketch-Ordner selbst sieht das dann so aus: [c] .../sketches/my-sketch/my-sketch.ino .../sketches/my-sketch/libraries/my-function/my-function.h [/c] Der Kompiler scheint die Datei so nicht zu finden. Entweder mach ich auf meinem Rechner was verkehrt in den Namen oder ist etwas
, besser ist allerdings das [c] Tag für C/Cpp. Und noch besser den Code als Anhang mit der Endung .ino oder .cpp anhängen. Wünsche weiterhin maximale Erfolge.
/* Description: This program evaluates the pulse length of an oscillator, whose frequency is determined by a coil with a movable ferrite core. The movable ferrite core simulates the bolt of a lock, which enters a sensor coil - that means: the whole circuit works as an inductive proximity sensor, detecting the lock-state of a lock (unlocked/intermediate/locked): The result is displayed on an OLED-display as well as on an LED string (similar to a traffic light. A calibration button hooked to the nano can be used to calibrate min/max values of the osczillator's pulse length. The whole project (including
hast dieses "Bios". Wenn Du das aktuelle (auch letzte) "Bios" benutzt (S220718-R290823_IOS-Z80-MBC2.ino), findest Du ab line 892 die Definition der IO-Operationen, die vom ATMEGA ausgefuehrt werden. Ab line 974 findest Du den Zugriff auf den MCP27016: [c] Wire.beginTransmission(GPIOEXP_ADDR); Wire.write
Routinen loadByteToRAM(byte value) und loadHL(word value) statt (line 2506ff in S220718-R290823_IOS.MBC2.ino): [c] void loadByteToRAM(byte value) // Load a given byte to RAM using a sequence of two Z80 instructions forced on the data bus. // The RAM_CE2 signal is used to force the RAM in HiZ, so the
://github.com/mobizt/ESP-Mail-Client/blob/master/examples/IMAP/Read_Single_Email/Read_Single_Email.ino Hier würde ich (ganz unten) msg.subject und ggf. msg.text.content parsen, um die nötigen Infos zu erhalten. Eventuell auch msg.date und msg.sender zur Validierung. Es gibt auch kleine Statusdisplays
Kosenamen und liebevoll, aber auch scherzhaft oder ironisch. Die typischen Endungen lauten -ina und -ino, oder -etta und -etto; und zuweilen auch -ella und -ello." https://de.m.wikipedia.org/wiki/Diminutiv#Italienisch
der Arduino-IDE ja mal ein Beispiel reinladen und das für den Arduino Uno kompilieren. Das TTN-OTAA.ino-Beispielprogramm braucht etwa 24K Speicher und 1.4K RAM, allzu viel bleibt da also nicht mehr für Eigenes übrig, aber wenn man gut programmiert, reicht es durchaus für einen Sensor. Nur: Moderne
github.com/witnessmenow/ESP32-Cheap-Yellow-Display/blob/main/Examples/Basics/1-HelloWorld/1-HelloWorld.ino neu geflasht, aber es bleibt dunkel. Weiß jemand, woran das liegt?
/* Generic ESP8266 Modul sketch_mar27c.ino aus BasicHTTPClient.ino Created on: 27.03.2024 liest den Status aus Shelly 3EM, filtert nach "POWER",ermittelt den Strom eines Moduls, schaltet die notwendige/zulässige Anzahl Module zu oder ab, und
Modellbahn_TestEncoderInterfacePCF8575_PCA9685_FRAM_016\Modellbahn_TestEncoderInterfacePCF8575_PCA9685_FRAM_016.ino C:\Arduino IDE Portable\AVRxDB\arduino-1.8.19\arduino-builder -compile -logger=machine -hardware C:\Arduino IDE Portable\AVRxDB\arduino-1.8.19\hardware -hardware C:\Arduino IDE Portable\AVRxDB\arduino