Blog J.Schweiss

Infosammlung zu .NET- und anderen Programmier-Themen

Dynamic Memory allocation in critical embedded systems

clock März 28, 2015 05:34 by author Administrator

Article and here index



Stopwatch

clock März 28, 2015 05:22 by author Administrator

here



ProMicro

clock März 28, 2015 05:02 by author Administrator

overview



PID Anomalies

clock März 28, 2015 04:39 by author Administrator

Article from this PID-Lib



ATMega32U4

clock März 27, 2015 06:04 by author Administrator

here

board



dotnetfireball

clock März 27, 2015 05:46 by author Administrator

here or here

sample



SurveyMonkey

clock März 27, 2015 03:37 by author Administrator

here



PI

clock März 26, 2015 23:51 by author Administrator

Anmeldung per SSH-Key
USB Stick einbinden
Apache-Logs abschalten
Apache, MySQL und PHP auf Raspberry Pi
Gehäuse für Raspberry Pi
Samba auf Raspberry Pi
Einen neuen Benutzer anlegen
Raspberry Pi Erstinstallation
Raspberry Pi Modell B Rev. 2.0
GPIO Bash
Wiring Pinout PI



Powersave

clock März 26, 2015 23:29 by author Administrator

here

 Narcoleptic, Low-Power, Enerlib.

Current Consumption



LevelShifter 3V3 to 5V

clock März 26, 2015 23:23 by author Administrator

Here



VS2012–Target Type x86

clock März 26, 2015 23:19 by author Administrator

change the CPU type from “Any” to X86 needs a restart!



USB ISP Progranmmer

clock März 26, 2015 21:12 by author Administrator

Beschreibung + Pinouts

Update Firmware for Programmer. –> “avrdude: warning: cannot set sck period. please check for usbasp firmware update”



Raspi Interface Circuits

clock März 26, 2015 18:48 by author Administrator

here and levels

allaboutcircuits overview

Raspi 433Utils



pulse oxi meter

clock März 26, 2015 05:41 by author Administrator

hack



Pi & Serial

clock März 26, 2015 05:41 by author Administrator

/etc/inittab

Auskommentieren:
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
/boot/cmdline.txt
Ändern:
von
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
 
in: 
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
 
Nach einen Update via Raspberry Pi Firmwareupdate wir die Änderung wieder überschrieben und muss wiederholt werden!


Link Shell Extention

clock März 26, 2015 03:34 by author Administrator

tool



jubito

clock März 26, 2015 01:55 by author Administrator

iot 

Remote



samba on pi

clock März 24, 2015 02:04 by author Administrator

how to

xming

Windows file server



Arduino bitSet function

clock März 24, 2015 01:13 by author Administrator
Code below set third pin to HIGH without changing the state of any of the other pins
bitSet syntax: bitSet(x, n)
  • x: the numeric variable whose bit to set
  • n: which bit to set, starting at 0 for the least-significant (rightmost) bit

//initialized all pins to LOW
byte pinState = B00000000;

//set the third pin high
bitSet(pinState, 2); //pinState = B00000100

 
 
Code below set third pin to LOW without changing the state of any of the other pins
bitClear syntax: bitClear(x, n)
  • x: the numeric variable whose bit to clear
  • n: which bit to clear, starting at 0 for the least-significant (rightmost) bit

//initialized all pins to HIGH
byte pinState = B11111111;

//set the third pin LOW
bitClear(pinState, 2); //pinState = B11111011

 
 
Code below set each pin as LOW or HIGH without changing the state of any of the other pins
bitWrite Syntax: bitWrite(x, n, b)
  • x: the numeric variable to which to write
  • n: which bit of the number to write, starting at 0 for the least-significant (rightmost) bit
  • b: the value to write to the bit (0 or 1)

byte pinState= 0; //initialized all pins to LOW (B00000000)
bitWrite(pinState, 0, HIGH); //set first pin to HIGH, pinState = B00000001
bitWrite(pinState, 3, HIGH); //set third pin to HIGH, pinState = B00001001
bitWrite(pinState, 0, LOW); //set first pin to LOW, pinState = B00001000

 
 
Reads a bit of a number.
bitRead Syntax: bitRead(x, n)
  • x: the number from which to read
  • n: which bit to read, starting at 0 for the least-significant (rightmost) bit

byte pinState = B10101010;
for (int i=0; i<8; i++) {
   theBit = bitRead(pinState, i);
}

 

DIY-Arduino with 328

image

here



Removig apps from Raspberry

clock März 24, 2015 00:54 by author Administrator

here