-
PDF
DUE_Faradays_law.pdf
end")) { String snum = txt.Remove(0, 5); snum = snum.Remove(snum.IndexOf("end")); b_result = int.TryParse(snum, out ntime); } if (b_result) g.DrawString("f = " + (1000000.0 / ntime).ToString("0.000") + "Hz", fn, br, 50, 50); //------------------------------------- this.BeginInvoke(new EventHandler(closecom
in „Arduino Due in plain C“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
scpiparser.cpp
retval.length = unit_end - unit_start + 1; } return retval; } void scpi_queue_error(struct scpi_parser_context* ctx, struct scpi_error error) { struct scpi_error* new_error; new_error = (struct scpi_error*)malloc(sizeof(struct scpi_error)); new_error->id = error.id; new_error->description = error.description
in „32 Relais über einen Arduino mit SCPI“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
install_config_WinAVR.pdf
all files) makes one less step you have to do. The final option of importance is one that asks to use the built- in error parser, which is what you want to do. This error parser has handy features like click on the error message to jump to the line. You can continue to add more tools, the following
in „Debugging einer Test-Schaltung mit Atmega 8515“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
install_config_WinAVR.pdf
all files) makes one less step you have to do. The final option of importance is one that asks to use the built- in error parser, which is what you want to do. This error parser has handy features like click on the error message to jump to the line. You can continue to add more tools, the following
in „Wie avr-gcc starten?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
adafruit-ultimate-gps-logger-shield.pdf
Change SoftwareSerial mySerial(3, 2); to SoftwareSerial mySerial(8, 7); as above, and also change useInterrupt(true); to useInterrupt(false); Because due to strange internal-details stuff, we cant use Software Serial, interrupts and also echo the output via USB at the same time on Leonardo. You'll want
in „Serieller Monitor füllt sich mit Fehler“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
adafruit-ultimate-gps-logger-shield.pdf
Change SoftwareSerial mySerial(3, 2); to SoftwareSerial mySerial(8, 7); as above, and also change useInterrupt(true); to useInterrupt(false); Because due to strange internal-details stuff, we cant use Software Serial, interrupts and also echo the output via USB at the same time on Leonardo. You'll want
in „adafruit gps ultimate shield“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
scpiparser.h
struct scpi_numeric { float value; const char* unit; size_t length; }; /** * Initialise an SCPI parser. * * @param ctx A pointer to the struct scpi_parser_context to initialise. */ void scpi_init(struct scpi_parser_context* ctx); /** * Convert an SCPI command into a list of tokens. * * @param str A
in „32 Relais über einen Arduino mit SCPI“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ADAFRUIT_746_ENG_TDS.pdf
you can, get this to run once a millisecond in an interrupt). Then in the main loop we can ask if a new chunk of data has been received by calling GPS.newNMEAreceived(), if this returns true then we can ask the library to parse that data with GPS.parse(GPS.lastNMEA()). We do have to keep querying and
in „PPS Pin aktivieren - GPS MTK3339“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Fehlerbericht.txt
EventStruct *event, String& string) ^ _P168_ThermOLED:489:56: error: 'parseTemplate' was not declared in this scope String atempstr = parseTemplate(atempstr2, 20); ^ _P168_ThermOLED:494:33: error: invalid use of incomplete type 'struct EventStruct' if ((UserVar[event->BaseVarIndex
in „ESPEasy Sketch Kompilierungsfehler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DevConfigSMLPE.txt
turnOnStrCnt_; private int turnOnStrHbsCnt_; private static final PDbusConfigMO DEFAULT_INSTANCE = new PDbusConfigMO(); private static final Parser<PDbusConfigMO> PARSER = new AbstractParser<PDbusConfigMO>() { // from class: DevConfigSMLPE.PDbusConfigMO.1 @Override // com.google.protobuf.Parser public
in „Wechselrichter Hoymiles HM-xxxx 2,4 GhZ Nordic Protokoll?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
stepper_motor_ref_design_an155.pdf
display multiple prompt The timer interrupt service routine moves the motor characters, each on a new line. according to the prescribed profile. The interrupt service routine will first commutate the motor. Then the If the character is a p, the parser will get a 16-bit PatternIndex is incremented or
in „Schrittmotorrampe für Konstante Beschleunigung“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Coldfire_IDE.pdf
development and target platforms. Eclipse CDT 4.0 and GDB Hardware debugging plug-in – Eclipse is no use to us unless we can use its visual debugger with our embedded target. If you are able to use a Windows natively hosted tool chain, then these components provide a C\C++ IDE along with the ability to
in „Coldfire debuggen in Eclipse“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tokenizer.c
current_expr =0; //------------------------------------------------------------ // added by UB for pre-parser //------------------------------------------------------------ static int akt_token=TOKENIZER_CR; static int parser_mode=0; int check_preparse(char *program); int exchange_keywords(char *program);
in „Basic Interpreter für uC ?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
hid1_11.pdf
by the order in which they are declared. A new collection starts when the parser reaches a Collection item. The item parser associates with a collection all Main items defined between the Collection item and the next End Collection item. z When
in „USB HID Descriptor Spotify-Steuerung STM32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Kon.html
solid orange; width:200px; } .small { width:30px; } </style> <script type="text/javascript"> var vek = new Array('4n7'); function getM(e) { var dat =''; var uf,nf,pf; uf=nf=pf=0; var feld = document.getElementById('aus'); var value = window.document.maske.con.value; if ( value.length == 2 && parseInt(value
in „Interrupts und der tägliche Wahnsinn“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
pm97qp.py
0'+hexColor[2]+'0' return int(hexColor[0:2], 16), int(hexColor[2:4], 16), int(hexColor[4:6], 16) parser = OptionParser() parser.add_option("-t", "--tty", dest="tty", help="serial port to use [ /dev/ttyUSB0]", default ="/dev/ttyUSB0") parser.add_option("-u", "--baud", dest="baud", help="Baudrate [9600]", default="9600") parser.add_option("-o", "--out", dest="out", help="output-file") parser.add_option("-a", "--auto", dest="auto", help="auto display image", action="store_true") parser.add_option("-f", "--foreground", dest
in „Scopemeter Fluke/Philips PM97 Screenshot (serial printer emulator)“ · Projekte & Code ·
-
Datei
preferences.txt
size for applets run externally #run.options = -Xms128m -Xmx1024m # index of the default display to use for present mode # (this setting not yet completely implemented) run.display = 1 # set internally #run.window.bgcolor= # set to false to open a new untitled window when closing the last window # (otherwise
in „ATMEGA328P auf Arduino Uno“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
preferences.txt
size for applets run externally #run.options = -Xms128m -Xmx1024m # index of the default display to use for present mode # (this setting not yet completely implemented) run.display = 1 # set internally #run.window.bgcolor= # set to false to open a new untitled window when closing the last window # (otherwise
in „ATMEGA328P auf Arduino Uno“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stk500boot.c
_1: msgLength = c<<8; msgParseState = ST_MSG_SIZE_2; checksum ^= c; break; case ST_MSG_SIZE_2: msgLength |= c; msgParseState = ST_GET_TOKEN; checksum ^= c; break; case ST_GET_TOKEN: if ( c == TOKEN ) { msgParseState = ST_GET_DATA
in „[AVR] Register R0 und R1 direkt in C oder Inline Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stk500boot.c
UART_ENABLE_TRANSMITTER); /* main loop */ while(!isLeave) { /* * Collect received bytes to a complete message */ msgParseState = ST_START; while ( msgParseState != ST_PROCESS ) { c = recchar(); switch (msgParseState) { case ST_START: if( c == MESSAGE_START ) { msgParseState = ST_GET_SEQ_NUM; checksum = MESSAGE_START^0
in „STK500v2-Bootloader von Peter Fleury“ · Projekte & Code ·
-
Datei
stk500boot.c
UART_ENABLE_TRANSMITTER); /* main loop */ while(!isLeave) { /* * Collect received bytes to a complete message */ msgParseState = ST_START; while ( msgParseState != ST_PROCESS ) { c = recchar(); switch (msgParseState) { case ST_START: if( c == MESSAGE_START ) { msgParseState = ST_GET_SEQ_NUM; checksum = MESSAGE_START^0
in „[AVR] Problem mit ATmega2561 und Fleury Bootloader“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
empfangstest.ino
receivedChars); // this temporary copy is necessary to protect the original data // because strtok() used in parseData() replaces the commas with \0 parseData(); showParsedData(); newData = false; } } //============ void recvWithStartEndMarkers() { static boolean recvInProgress = false; static byte ndx = 0; char
in „Mehrere Werte über RS485 versenden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dmesg.txt
0.437259] vgaarb: loaded [ 0.437259] ACPI: bus type USB registered [ 0.437259] usbcore: registered new interface driver usbfs [ 0.437259] usbcore: registered new interface driver hub [ 0.437259] usbcore: registered new device driver usb [ 0.437259] pps_core: LinuxPPS API ver. 1 registered [ 0.437259]
in „Ubuntu Server: OS noch zu retten?“ · PC Hard- und Software ·
-
Datei
stk500boot.c
sendchar('e'); /* main loop */ while(!isLeave) { /* * Collect received bytes to a complete message */ msgParseState = ST_START; while ( msgParseState != ST_PROCESS ) { c = recchar(); switch (msgParseState) { case ST_START: if( c == MESSAGE_START ) { msgParseState = ST_GET_SEQ_NUM; checksum = MESSAGE_START^0
in „ATmega328p + stk500v2 (Peter ihm sein Bootloader), Flash bleibt leer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
index.js
#! /usr/bin/env nodejs "use strict"; const { readFileSync } = require("fs"); const glob = require("glob"); const parse = require("csv-parse/lib/sync"); const readAllowedImports = filename => new Map(readCSV(filename).map(parseRecord)); const readCSV = filename => parseCSV(readTextFile(filename)); const parseCSV = fileContent => parse(fileContent, { from_line: 2 }); const parseRecord = ([import_stmt, version]) => [getLibrary(import_stmt), version.trim()]; const getLibrary
in „Script schreiben, der .csv liesst und path nach bestimmten Endung durchsucht“ · Softwareentwicklung ·
-
Datei
encrypt.py
#!/usr/bin/env python from pathlib import Path from argparse import ArgumentParser from io import BytesIO from Crypto.Cipher import AES import config as cfg if __name__ == '__main__': parser = ArgumentParser(description='encrypt or decrypt files') parser.add_argument('infile', type
in „Verschlüsselte .bmp (Bild) Datei oder was stimmt nicht?“ · Softwareentwicklung ·
-
Datei
_P168_ThermOLED.ino
showWiFiName = true; if (showWiFiName && (wifiStatus == ESPEASY_WIFI_SERVICES_INITIALIZED) ) { String newString = WiFi.SSID(); newString.trim(); P168_display_title(newString); } else { String dtime = "%sysname%"; String newString = parseTemplate(dtime, 10); newString.trim(); P168_display_title(newString
in „ESPEasy Sketch Kompilierungsfehler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
datei-dmesg.txt
: Manufacturer: Microsoft [ 2.674694] random: nonblocking pool is initialized [ 2.812047] usb 4-1: new full-speed USB device number 2 using uhci_hcd [ 3.004654] usb 4-1: New USB device found, idVendor=1668, idProduct=0441 [ 3.004662] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [
in „Limux:: Netzwerk und WLAN futsch.“ · PC Hard- und Software ·
-
Datei
partdb-autoprice.py
" + VERSION print "" print "Usage: %s [OPTIONS]" % sys.argv[0] print "" print "-H|--host HOSTNAME Use HOSTNAME as MySQL host (defaults to localhost)" print "-u|--user USER Use USER as MySQL user (defaults to root)" print "-p|--password PASS Use password PASS (defaults to prompt)" print "-d|--database DB Use the database DB (defaults to partdb)" print "-m|--missing Fetch and fill missing prices only (default off)" print "-o|--override Always override prices, if no new price available (default off)" print
in „PART-DB RW 1.2“ · Projekte & Code ·
-
Datei
FlapDisplay.js
"use strict"; var FlapDisplay; (function(){ var flapDisplays = new Object(); function addPrefixedEventListener(element, type, callback) { var pfx = ["webkit", "moz", "MS", "o", ""]; for(var i in pfx){ if
-
Datei
index.htm
text-indent: 0px;">(click to toggle)</span> <p>LEDs:<br> <span class="leds"> <a id="led7" onclick="newAJAXCommand('leds.cgi?led=7');">•</a> <a id="led6" onclick="newAJAXCommand('leds.cgi?led=6');">•</a> <a id="led5" onclick="newAJAXCommand('leds.cgi?led=5');">•</a> <a id="led4" onclick="newAJAXCommand('leds.cgi?led=4');">•</a> <a id="led3" onclick="newAJAXCommand('leds.cgi?led=3');">•</a> <a id="led2" onclick="newAJAXCommand('leds.cgi?led=2');">•</a> <a id="led1" onclick
in „Tools/Icons für Webpage auf dem Mikrocontroller“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Main.java
com.dalsemi.onewire.utils.CRC16; import java.util.*; /** * * @author pete */ public class Main { static int parseInt(BufferedReader in, int def) { try { return Integer.parseInt(in.readLine()); } catch (Exception e) { return def; } } /** * Method printUsageString * * */ public static void printUsageString() { System.out.println
in „DS1820 Javaproblem (Adapter)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usbeep.c
for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software. */ /** \file * * Main source file
in „Takt von China-Platine mit AT90USB162 herausfinden/ändern?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SitePlayer_Software_Manual.pdf
file extension to the list of searched file types, you must use the $Parse command. 5 SitePlayer Software Manual For example if you want all *.jar files searched, and *.wow then the commands: $Parse jar $Parse wow would be placed in the SPD file for the SitePlayer
in „RS232 nach HTTP/HTML Konverter“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Bluetti-ESP32-BLE-test-Client.ino
********************************************************************************************/ int parse_bluetooth_data(uint8_t AddrHighByte, uint8_t AddrLowByte, uint8_t* pData, size_t length, pageBuffer_t *pageBuffer){ uint8_t AddrHigh = AddrHighByte; uint8_t AddrLow = AddrLowByte; Serial.printf("Parser
in „ESP32C3 Arduino Bluetooth keine Reaktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
partdb-autoprice.py
" + VERSION print "" print "Usage: %s [OPTIONS]" % sys.argv[0] print "" print "-H|--host HOSTNAME Use HOSTNAME as MySQL host (defaults to localhost)" print "-u|--user USER Use USER as MySQL user (defaults to root)" print "-p|--password PASS Use password PASS (defaults to prompt)" print "-d|--database DB Use the database DB (defaults to partdb)" print "-m|--missing Fetch and fill missing prices only (default off)" print "-o|--override Always override prices, if no new price available (default off)" print
in „PART-DB RW 1.2“ · Projekte & Code ·
-
Datei
MegaBoot.c
); switch (msgParseState) { case ST_START: if( c == MESSAGE_START ) { msgParseState = ST_GET_SEQ_NUM; checksum = MESSAGE_START^0; } break; case ST_GET_SEQ_NUM: if ( (c == 1) || (c == seqNum) ) { seqNum = c; msgParseState = ST_MSG_SIZE_1; checksum ^= c; } else { msgParseState = ST_START; } break; case ST_MSG_SIZE_1: msgLength = c<<8; msgParseState = ST_MSG_SIZE_2; checksum ^= c; break; case ST_MSG_SIZE_2: msgLength |= c; msgParseState = ST_GET_TOKEN; checksum ^= c;
in „mega128 und Fleury-Bootloader“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR911.pdf
original files), and add that too to the PATH. Now everything should be ready to use. Note: The communication port settings (baud rate, parity control etc.) must be set manually before using AVROSP. For example, to use AVROSP with a bootloader communicating through COM1 with 115200
in „AVR911: Das Ende aller Leiden?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ubasic.c
program_ptr = program; for_stack_ptr = gosub_stack_ptr = 0; ended = 0; failed =0; akt_linenum =0; // pre-parse the basic-program n=tokenizer_pre_parse(program); if(n!=0) { failed=UBASIC_PREPARSE_ERR; akt_linenum=tokenizer_linenum(); } if(mode==0) { for(n=0;n<MAX_VARNUM;n++) { // integer variables int_var[n]
in „Basic Interpreter für uC ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mtvc.pl
obsolete !! #20 char eintrag geaendert #21 char neu erzeugen #22 long Startzeit #23 long Endezeit use strict; use Tk; use utf8; use Cwd; use Net::FTP ; use Net::Ping ; use Tk::Tree ; #use Tk::DragDrop ; #use Tk::DropSite ; #globale Variablen #konfiguration my $appdir = cwd(); my $workdir = "/home/markus
in „Pollin - Receiver-Mainboard mit Twin DVB-[T,C] Tuner, NXP PNX8950EH“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
charger-log.pl
#!/usr/local/bin/perl use strict; use warnings; use DateTime::Format::Strptime; use DateTime::Format::Duration; my $strp = DateTime::Format::Strptime->new( # Sat Jul 18 10:45:00 2020 pattern => '%a %b %d %H:%M:%S %Y', on_error
in „Suche Akkuladung via Netzteil per GPIB“ · Softwareentwicklung ·
-
PDF
NAT7210_AN110.pdf
Message Condition When Listening The EOSR register stores the EOS byte. To change the EOS byte, write a new value to the EOSR register. Be careful of changing the EOS character any time except start-up. Sending Binary Data When transferring binary data, use EOI, not EOS. To disable EOS, clear the XEOS and
in „avr und gpib“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tokenizer.h
TOKENIZER_RIGHTPAREN, TOKENIZER_LT, TOKENIZER_GT, TOKENIZER_EQ, TOKENIZER_CR, //------------------------ // NEW TOKENS BY UB // USER : insert new token at the end of the list //------------------------ TOKENIZER_LINENUM, TOKENIZER_HEXNUM, TOKENIZER_STEP, TOKENIZER_REM, TOKENIZER_XOR, TOKENIZER_STRINGVAR, TOKENIZER_ABS
in „Basic Interpreter für uC ?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LiveView_tutorial_v1.0.pdf
purpose to feed information to the LiveView™ micro display. The easiest way to get started with a new plug-in, is to use the plug-in template project that is provided with the Sony Ericsson LiveView™ SDK. You can create either announce plug-ins or sandbox plug-ins which you can run on an Android phone
in „Sony Ericsson LiveView – mini Androidmodul mit Farbdisplay“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LabVIEWInterfaceh.txt
******************************** ** checkForCommand ** ** Checks for new commands from LabVIEW and processes them if any exists. ** ** Input: None ** Output: 1 - Command received and processed ** 0 - No new command ********************************************************
in „Arduino 2560 PWM Frequenz ändern auf 100Hz“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dmesg.txt
5-3:1.0: USB hub found [ 2.200070] hub 5-3:1.0: 4 ports detected [ 2.214715] usb 1-6: new full-speed USB device number 4 using xhci_hcd [ 2.389638] usb 1-6: New USB device found, idVendor=8087, idProduct=0029, bcdDevice= 0.01 [ 2.390787] usb 1-6: New USB device strings: Mfr=0, Product=0,
in „Rechner stürzt gelegentlich ab--> dmesg info“ · PC Hard- und Software ·
-
Datei
Schreiber.txt
declaration * * * @param args * * @see */ public static void main(String[] args) { BufferedReader ta= new BufferedReader(new InputStreamReader(System.in)); System.out.println("Bitte eine Zahl eingeben"); try { iZahl = Integer.parseInt(ta.readLine()); } catch (NumberFormatException e1) { // TODO Auto-generated
in „Daten vom PC auf den Mikrocontroller“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
likely2-reprint.pdf
tionisthattheoperatingsystemshouldnotneedtobere- When the decision was made to merge 32-bit ( arch/ compiled every time new hardware is added. Standard- ppc ) and 64-bit arch/ppc64 ) PowerPC support in the ized firmware interfaces ensure that the boot loader can kernel, it was also decided to use the opportunity to boot the
in „Linux Kernel compilieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
partdb-autoprice.py
= False def usage(): print "Usage: %s [OPTIONS]" % sys.argv[0] print "" print "-H|--host HOSTNAME Use HOSTNAME as MySQL host (defaults to localhost)" print "-u|--user USER Use USER as MySQL user (defaults to root)" print "-p|--password PASS Use password PASS (defaults to prompt)" print "-d|--database
in „PART-DB RW 1.2“ · Projekte & Code ·
-
PDF
STA310.pdf
Transferreddata Discardeddata ▯ 4.5 Streams parsers The parsing stage is operated by two parts: the packet parser and the audio parser. The packet parser unpacks stream, sorts packets and transmit data to the audio parser. The audio parser ver- ifies the stream syntax, extracts non-audio data and sends audio data
in „Sammelbestellung STA310 Dolby Digital Decoder“ · Markt ·