Con esta guía aprenderemos los pasos a seguir para establecer la conexión entre el ladrillo del Lego Mindstorms NXT y nuestro equipo GNU/Linux.
- Sistema operativo GNU/Linux
- bluetoothctl
- rfcomm
- Abrir el intérprete de comandos
| #include <stdio.h> | |
| #include <pthread.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #define MS_STOP_TIME 100 | |
| #define NUM_THREADS 16 | |
| unsigned int get_apic_id(void){ | |
| unsigned int cpu_eax, cpu_ebx, cpu_ecx, cpu_edx; |
| #include <algorithm> | |
| #include <vector> | |
| #include <iostream> | |
| #include <fstream> | |
| #include <proc/readproc.h> | |
| void ProcIdFromParentProcId(int parentProcId, std::vector<int>& procId) { | |
| PROCTAB *proc = openproc(PROC_FILLSTAT); |
| #include <iostream> | |
| #ifdef WIN32 | |
| #include <windows.h> | |
| char getch(){ | |
| HANDLE hStdin = GetStdHandle(STD_INPUT_HANDLE); | |
| DWORD mode = 0; | |
| GetConsoleMode(hStdin, &mode); |
| proyecto = project | |
| sistema operativo = operating system | |
| aplicaciones = applications | |
| usuario = user | |
| controlador ~= driver (or controller) | |
| direcciones = address | |
| memoria = memory | |
| planificador de procesos = scheduler | |
| paralelizacion = parallelism | |
| concurrente = concurrent |
| #include <iostream> | |
| using namespace std; | |
| struct TNodo{ | |
| int datos; | |
| TNodo* siguiente; | |
| }; | |
| TNodo *inicial, *final; |
| #+BEGIN_SRC sh :results output :exports both | |
| #!/bin/bash | |
| #modprobe kvm | |
| #modprobe kvm_intel | |
| #qemu-img create -f qcow2 hurd.img 20G | |
| MEMORY=2G | |
| FILE=hurd_qemu/hurd.img | |
| CDROM=Descargas/debian-hurd-2017-i386-DVD-1.iso | |
| # If I ever need to add a cdrom | |
| echo "running ssh" |
Con esta guía aprenderemos los pasos a seguir para establecer la conexión entre el ladrillo del Lego Mindstorms NXT y nuestro equipo GNU/Linux.
The objective of this project is fix and complete SMP support (multiprocessing) in GNU/Hurd
GNU/Hurd includes a tiny SMP support, as this FAQ explain
But this support is very limited: