L293D is a DC motor controller. Below Arduino code to use it. unsigned char table[128] = {0}; int motor1_A=6; int motor1_B=5; int motor1_Speed=3; void setup() { pinMode(motor1_A,OUTPUT); pinMode(motor1_B,OUTPUT); } void loop() { // motor1 for (int i=0; i<256; i+=1){ digitalWrite(motor1_A,HIGH); // A = HIGH and B = LOW means the motor will turn right digitalWrite(motor1_B,LOW);… Continue reading L293D, H Bridge Arduino
Author: root
Crontab on Linux
To launch a program at reboot. contab -e Add following line to crontab file: @reboot sudo python /home/pi/hw-home.py /home/pi/hw-home.txt
Arduino and Python
If you want to read Arduino serial from Python. Install pySerial: pip intall pyserial the code: import serial … print(‘# Arduino Reader – hackweb’) print(‘entering loop…’) ardu = serial.Serial(‘COM3’, 115200) time.sleep(2) while True: print(ardu.readline())
Open, Agassi
Maybe my favourite one. A great story in the deep of a great champion. This book tells about youth, life, decisions. It’s the soul of a man vs the mysteries of life.
Dev Portal
In the meanwhile I’ll finish the developer section, I suggest you never stop reading and investigating new techniques, frameworks and everything else you need to become a better developer. Avoid wasting time in useless things, unless you need them to relax a bit. For example, I really like playing video games, but I (should) do… Continue reading Dev Portal
Books
I’m collecting a big part of the best books I read, I’ll upload the section as soon as it’s ready. I’ll give you a pill, if you don’t know him check this YouTube Channel, Primitive Technology and read this really interesting book. We take so many things for granted. This is the modern society, but… Continue reading Books
Sharing the knowledge
“The new heroes are political militants. In the Twenties were sportsmen. The stars of the cinema in the thirties and forties, then the new heroes became musicians. I believe the next heroes will be more intellectuals, politicians or scientists, or computer experts. In short, people of this type: those who understand, those who can understand… Continue reading Sharing the knowledge