You can play so many things with this toy
My PID is down there
Youtube video
They show us how to build an example without PID
lunes, 25 de octubre de 2010
domingo, 26 de septiembre de 2010
PsPiCe-OrCaD16.2
This is an example for beginners like me
Below i put the simulation for downloading
Yes its a filthy 741 that's why I said "beginners"
Below i put the simulation for downloading
Yes its a filthy 741 that's why I said "beginners"
"Click to start downloading"
sábado, 25 de septiembre de 2010
domingo, 11 de abril de 2010
PCManFiLeMaNaGeR
1
3
PCManFM
sudo apt-get install pcmanfm2
3
sudo gedit /usr/share/applications/nautilus-folder-handler.desktop4
sudo gedit /usr/share/applications/nautilus-home.desktop
sudo gedit /usr/share/applications/nautilus.desktop
Exec=pcmanfm --no-desktop %U
sudo gedit /usr/share/applications/nautilus-computer.desktop
Exec=gksu pcmanfm --no-desktop computer:
PCManFM
lunes, 29 de marzo de 2010
PiD cOnTrOlLeR
This code is made for Dev C++
Save it as pid.c
xD
xDD
Save it as pid.c
#include {windows.h}
#include {stdio.h}
main(){
double alfa, e, r, u, x ;
int i = 0 ;
alfa = 0.1 ;
r = 0.3 ;
u = 1 ;
x = 0 ;
while(i{51){
e = u - r ;
r = alfa*x ;
x = 4*e ;
fflush(stdout);
sleep(50) ;
printf("%d\t %f\t %0.2f\t %0.2f\t %0.2f\t\n", i++, u, r, e, x) ;
}
//system("PAUSE") ;
double e1, in, Ki, Kd, Kp ;
int p = 4;
i = 0 ;
r = 0 ;
e1 = 0 ;
in = 0 ;
Ki = 0.7 ;
Kd = 0.8 ;
Kp = 7 ;
while(i{101){
e = u - r ;
in = in + e ;
x = Kp*e + (Ki*in) + Kd*(e - e1) ;
if(x>30) x = 30 ;
e1 = e ; //error previo
r = 0.1*x ;
fflush(stdout);
sleep(50) ;
printf("%d\t %f\t %0.2f\t %0.2f\t %0.2f\t\n", i++, u, r, e, x) ;
if(i}50) u = 1.2 ;
}
system("PAUSE") ;
}
xD
xDD
martes, 23 de marzo de 2010
jueves, 18 de febrero de 2010
GrUb 9.10
Make a back-up
Now you will see that appear some lines, like when you use nano
LoOk at this lines:
set default="0" Select your SO
set timeout=10 shows time out to inicialize your SO
In each case you should to choose the SO that you want to Inicialize, only has the place of Windows 7 in grub least 1
Ubuntu, Linux 2.6.31-14-generic
Ubuntu, Linux 2.6.31-14-generic (recovery mode)
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Windows 7 (loader) (on /dev/sda1)
You can see that Windows 7 is in the fifth position
5-1=4
ThanKs http://www.ubuntu-es.org/
sudo cp /boot/grub/grub.cfg /boot/grub/grub_bckp.cfg
sudo pico /boot/grub/grub.cfg
Now you will see that appear some lines, like when you use nano
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 9aa1c56e-f513-4fbc-a76a-7ca96eff316d
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
LoOk at this lines:
set default="0" Select your SO
set timeout=10 shows time out to inicialize your SO
In each case you should to choose the SO that you want to Inicialize, only has the place of Windows 7 in grub least 1
Ubuntu, Linux 2.6.31-14-generic
Ubuntu, Linux 2.6.31-14-generic (recovery mode)
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Windows 7 (loader) (on /dev/sda1)
You can see that Windows 7 is in the fifth position
5-1=4
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="4"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 9aa1c56e-f513-4fbc-a76a-7ca96eff316d
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=5
ThanKs http://www.ubuntu-es.org/
viernes, 22 de enero de 2010
GnOmE-ShElL
LeT's INStall gNOMe-ShelL fOR gnOme 2.28, nExT StEp iS wAiTiNg tHe fUtUrE GnOmE 3
oPEn YouR OWn tErMinNAL aND. .. . .
sudo apt-get install gnome-shell
curl -O http://git.gnome.org/browse/gnome-shell/plain/tools/build/gnome-shell-build-setup.sh
/bin/bash gnome-shell-build-setup.sh
gnome-shell --replace&
jhbuild build
lunes, 18 de enero de 2010
MyBrUtE
viernes, 8 de enero de 2010
jOkE
Durante una visita a un hospital psiquiátrico, uno de los visitantes le preguntó con mucho interés al Director:
- Doctor, ¿qué criterio usan ustedes para decidir si un paciente debe o no ser internado?
- Bueno – dijo el director – tenemos una prueba científica casi infalible. Consiste en lo siguiente: llenamos completamente una bañera, luego le ofrecemos al paciente una cucharita, una taza y un cubo y le pedimos que vacíe la bañera.
En función de cómo vacíe la bañera, sabemos si hay que internarlo o no. Nos ha llevado años de estudio idear esta prueba, pero es muy exacta.
- Ah, entiendo – dijo el visitante – una persona normal usaría el cubo porque es mucho más grande que la cucharita y la taza.
- No – dijo el director – una persona normal sacaría el tapón. Usted ¿qué prefiere: una habitación con o sin vistas al jardín?
- Doctor, ¿qué criterio usan ustedes para decidir si un paciente debe o no ser internado?
- Bueno – dijo el director – tenemos una prueba científica casi infalible. Consiste en lo siguiente: llenamos completamente una bañera, luego le ofrecemos al paciente una cucharita, una taza y un cubo y le pedimos que vacíe la bañera.
En función de cómo vacíe la bañera, sabemos si hay que internarlo o no. Nos ha llevado años de estudio idear esta prueba, pero es muy exacta.
- Ah, entiendo – dijo el visitante – una persona normal usaría el cubo porque es mucho más grande que la cucharita y la taza.
- No – dijo el director – una persona normal sacaría el tapón. Usted ¿qué prefiere: una habitación con o sin vistas al jardín?
Suscribirse a:
Entradas (Atom)