├── ArduSnake ├── ArduSnake │ ├── Oscillator.cpp │ ├── Oscillator.h │ ├── Worm.cpp │ ├── Worm.h │ └── examples │ │ ├── Oscillator_serial_1 │ │ └── Oscillator_serial_1.pde │ │ ├── Oscillator_server │ │ └── Oscillator_server.pde │ │ ├── Oscillator_test1 │ │ └── Oscillator_test1.pde │ │ ├── Oscillator_test2 │ │ └── Oscillator_test2.pde │ │ ├── Oscillator_test3 │ │ └── Oscillator_test3.pde │ │ ├── Oscillator_test4 │ │ └── Oscillator_test4.pde │ │ └── Oscillator_test5 │ │ └── Oscillator_test5.pde ├── Processing │ ├── Oscillator_client │ │ └── Oscillator_client.pde │ └── Oscillator_serial_1 │ │ └── Oscillator_serial_1.pde ├── README └── skymega │ ├── 1.0.3 │ └── skymega.h ├── Arduino ├── 022.zip ├── 022 │ ├── Sanguino │ │ ├── boards.txt │ │ ├── bootloaders │ │ │ └── atmega644p │ │ │ │ ├── ATmegaBOOT.c │ │ │ │ ├── ATmegaBOOT_324P.hex │ │ │ │ ├── ATmegaBOOT_644.hex │ │ │ │ ├── ATmegaBOOT_644P.hex │ │ │ │ ├── Makefile │ │ │ │ └── README.txt │ │ ├── cores │ │ │ └── arduino │ │ │ │ ├── Copy of wiring.h │ │ │ │ ├── HardwareSerial.cpp │ │ │ │ ├── HardwareSerial.h │ │ │ │ ├── Print.cpp │ │ │ │ ├── Print.h │ │ │ │ ├── Stream.h │ │ │ │ ├── Tone.cpp │ │ │ │ ├── WCharacter.h │ │ │ │ ├── WConstants.h │ │ │ │ ├── WInterrupts.c │ │ │ │ ├── WMath.cpp │ │ │ │ ├── WProgram.h │ │ │ │ ├── WString.cpp │ │ │ │ ├── WString.h │ │ │ │ ├── binary.h │ │ │ │ ├── main.cpp │ │ │ │ ├── pins_arduino.c │ │ │ │ ├── pins_arduino.h │ │ │ │ ├── wiring.c │ │ │ │ ├── wiring.h │ │ │ │ ├── wiring_analog.c │ │ │ │ ├── wiring_digital.c │ │ │ │ ├── wiring_private.h │ │ │ │ ├── wiring_pulse.c │ │ │ │ └── wiring_shift.c │ │ └── programmers.txt │ ├── hardware │ │ ├── Gen7 │ │ │ ├── boards.txt │ │ │ ├── bootloaders │ │ │ │ └── Gen7 │ │ │ │ │ ├── bootloader-1284P-16MHz.hex │ │ │ │ │ ├── bootloader-644-16MHz.hex │ │ │ │ │ ├── bootloader-644-20MHz.hex │ │ │ │ │ ├── bootloader-644P-16MHz.hex │ │ │ │ │ └── bootloader-644P-20MHz.hex │ │ │ └── cores │ │ │ │ └── arduino │ │ │ │ ├── HardwareSerial.cpp │ │ │ │ ├── HardwareSerial.h │ │ │ │ ├── Makefile │ │ │ │ ├── Print.cpp │ │ │ │ ├── Print.h │ │ │ │ ├── Tone.cpp │ │ │ │ ├── WCharacter.h │ │ │ │ ├── WConstants.h │ │ │ │ ├── WInterrupts.c │ │ │ │ ├── WMath.cpp │ │ │ │ ├── WProgram.h │ │ │ │ ├── WString.cpp │ │ │ │ ├── WString.h │ │ │ │ ├── binary.h │ │ │ │ ├── main.cpp │ │ │ │ ├── main.cxx │ │ │ │ ├── pins_arduino.c │ │ │ │ ├── pins_arduino.h │ │ │ │ ├── wiring.c │ │ │ │ ├── wiring.h │ │ │ │ ├── wiring_analog.c │ │ │ │ ├── wiring_digital.c │ │ │ │ ├── wiring_private.h │ │ │ │ ├── wiring_pulse.c │ │ │ │ ├── wiring_serial.c │ │ │ │ └── wiring_shift.c │ │ ├── Sanguino │ │ │ ├── boards.txt │ │ │ ├── bootloaders │ │ │ │ └── atmega644p │ │ │ │ │ ├── ATmegaBOOT.c │ │ │ │ │ ├── ATmegaBOOT_324P.hex │ │ │ │ │ ├── ATmegaBOOT_644.hex │ │ │ │ │ ├── ATmegaBOOT_644P.hex │ │ │ │ │ ├── Makefile │ │ │ │ │ └── README.txt │ │ │ ├── cores │ │ │ │ └── arduino │ │ │ │ │ ├── Copy of wiring.h │ │ │ │ │ ├── HardwareSerial.cpp │ │ │ │ │ ├── HardwareSerial.h │ │ │ │ │ ├── Print.cpp │ │ │ │ │ ├── Print.h │ │ │ │ │ ├── Stream.h │ │ │ │ │ ├── Tone.cpp │ │ │ │ │ ├── WCharacter.h │ │ │ │ │ ├── WConstants.h │ │ │ │ │ ├── WInterrupts.c │ │ │ │ │ ├── WMath.cpp │ │ │ │ │ ├── WProgram.h │ │ │ │ │ ├── WString.cpp │ │ │ │ │ ├── WString.h │ │ │ │ │ ├── binary.h │ │ │ │ │ ├── main.cpp │ │ │ │ │ ├── pins_arduino.c │ │ │ │ │ ├── pins_arduino.h │ │ │ │ │ ├── wiring.c │ │ │ │ │ ├── wiring.h │ │ │ │ │ ├── wiring_analog.c │ │ │ │ │ ├── wiring_digital.c │ │ │ │ │ ├── wiring_private.h │ │ │ │ │ ├── wiring_pulse.c │ │ │ │ │ └── wiring_shift.c │ │ │ └── programmers.txt │ │ ├── breadboard │ │ │ └── boards.txt │ │ ├── tiny │ │ │ ├── boards.txt │ │ │ ├── bootloaders │ │ │ │ └── empty │ │ │ │ │ ├── empty2313at1.hex │ │ │ │ │ ├── empty2313at8.hex │ │ │ │ │ ├── empty24at16.hex │ │ │ │ │ ├── empty25at1.hex │ │ │ │ │ ├── empty25at8.hex │ │ │ │ │ ├── empty4313at1.hex │ │ │ │ │ ├── empty4313at8.hex │ │ │ │ │ ├── empty44at1.hex │ │ │ │ │ ├── empty44at8.hex │ │ │ │ │ ├── empty45at1.hex │ │ │ │ │ ├── empty45at8.hex │ │ │ │ │ ├── empty84at1.hex │ │ │ │ │ ├── empty84at16.hex │ │ │ │ │ ├── empty84at8.hex │ │ │ │ │ ├── empty85at1.hex │ │ │ │ │ ├── empty85at16.hex │ │ │ │ │ └── empty85at8.hex │ │ │ ├── cores │ │ │ │ ├── empty │ │ │ │ │ ├── Arduino.h │ │ │ │ │ ├── WProgram.h │ │ │ │ │ └── main.cpp │ │ │ │ └── tiny │ │ │ │ │ ├── Arduino.h │ │ │ │ │ ├── HardwareSerial.cpp │ │ │ │ │ ├── HardwareSerial.h │ │ │ │ │ ├── Print.cpp │ │ │ │ │ ├── Print.h │ │ │ │ │ ├── PwmTimer.h │ │ │ │ │ ├── Stream.h │ │ │ │ │ ├── TinyDebugSerial.cpp │ │ │ │ │ ├── TinyDebugSerial.h │ │ │ │ │ ├── TinyDebugSerial115200.cpp │ │ │ │ │ ├── TinyDebugSerial38400.cpp │ │ │ │ │ ├── TinyDebugSerial9600.cpp │ │ │ │ │ ├── TinyDebugSerialErrors.cpp │ │ │ │ │ ├── Tone.cpp │ │ │ │ │ ├── ToneTimer.h │ │ │ │ │ ├── UserTimer.h │ │ │ │ │ ├── WCharacter.h │ │ │ │ │ ├── WConstants.h │ │ │ │ │ ├── WInterrupts.c │ │ │ │ │ ├── WMath.cpp │ │ │ │ │ ├── WProgram.h │ │ │ │ │ ├── WString.cpp │ │ │ │ │ ├── WString.h │ │ │ │ │ ├── binary.h │ │ │ │ │ ├── core_adc.h │ │ │ │ │ ├── core_build_options.h │ │ │ │ │ ├── core_macros.h │ │ │ │ │ ├── core_pins.h │ │ │ │ │ ├── core_timers.h │ │ │ │ │ ├── main.cpp │ │ │ │ │ ├── pins_arduino.c │ │ │ │ │ ├── pins_arduino.h │ │ │ │ │ ├── wiring.c │ │ │ │ │ ├── wiring.h │ │ │ │ │ ├── wiring_analog.c │ │ │ │ │ ├── wiring_digital.c │ │ │ │ │ ├── wiring_private.h │ │ │ │ │ ├── wiring_pulse.c │ │ │ │ │ └── wiring_shift.c │ │ │ ├── license.txt │ │ │ └── readme.txt │ │ └── tools │ │ │ └── avr │ │ │ └── etc │ │ │ └── avrdude.conf │ └── libraries │ │ ├── AFMotor │ │ ├── AFMotor.cpp │ │ ├── AFMotor.h │ │ ├── Examples │ │ │ ├── MotorParty │ │ │ │ └── MotorParty.pde │ │ │ ├── MotorTest │ │ │ │ └── MotorTest.pde │ │ │ └── StepperTest │ │ │ │ └── StepperTest.pde │ │ └── keywords.txt │ │ ├── AndroidAccessory │ │ ├── AndroidAccessory.cpp │ │ └── AndroidAccessory.h │ │ ├── Button │ │ ├── AlphaLicense.txt │ │ ├── Button.cpp │ │ ├── Button.h │ │ ├── Examples │ │ │ ├── Button │ │ │ │ └── Button.pde │ │ │ └── EventButton │ │ │ │ └── EventButton.pde │ │ └── keywords.txt │ │ ├── ENC28J60 │ │ ├── .gitignore │ │ ├── Client.cpp │ │ ├── Client.h │ │ ├── Ethernet.cpp │ │ ├── Ethernet.h │ │ ├── README.markdown │ │ ├── Server.cpp │ │ ├── Server.h │ │ ├── ToDo │ │ ├── examples │ │ │ ├── ChatServer │ │ │ │ └── ChatServer.pde │ │ │ ├── WebClient │ │ │ │ └── WebClient.pde │ │ │ ├── WebClientDEBUG │ │ │ │ └── WebClientDEBUG.pde │ │ │ ├── WebServer │ │ │ │ └── WebServer.pde │ │ │ ├── WebServerDEBUG │ │ │ │ └── WebServerDEBUG.pde │ │ │ ├── WebServerSimple │ │ │ │ └── WebServerSimple.pde │ │ │ └── WebServerSimpleLED │ │ │ │ └── WebServerSimpleLED.pde │ │ ├── keywords.txt │ │ ├── resources │ │ │ ├── Tcp_state_diagram_fixed_new.svg │ │ │ └── resources.markdown │ │ └── utility │ │ │ ├── enc28j60.c │ │ │ ├── enc28j60.h │ │ │ ├── ip_arp_udp_tcp.c │ │ │ ├── ip_arp_udp_tcp.h │ │ │ ├── net.h │ │ │ ├── socket.c │ │ │ ├── socket.c.backup │ │ │ ├── socket.h │ │ │ ├── socket.h.backup │ │ │ └── types.h │ │ ├── EasyTransfer │ │ ├── EasyTransfer.cpp │ │ ├── EasyTransfer.h │ │ ├── Examples │ │ │ ├── EasyTransfer_2Way_wPot_Example │ │ │ │ └── EasyTransfer_2Way_wPot_Example.pde │ │ │ ├── EasyTransfer_2Way_wServo_Example │ │ │ │ └── EasyTransfer_2Way_wServo_Example.pde │ │ │ ├── EasyTransfer_RX_Example │ │ │ │ └── EasyTransfer_RX_Example.pde │ │ │ └── EasyTransfer_TX_Example │ │ │ │ └── EasyTransfer_TX_Example.pde │ │ └── keywords.txt │ │ ├── EasyTransferI2C │ │ ├── EasyTransferI2C.cpp │ │ ├── EasyTransferI2C.h │ │ ├── Examples │ │ │ ├── EasyTransfer_RX_Example │ │ │ │ └── EasyTransfer_RX_Example.pde │ │ │ └── EasyTransfer_TX_Example │ │ │ │ └── EasyTransfer_TX_Example.pde │ │ └── keywords.txt │ │ ├── FSM │ │ ├── FiniteStateMachine.cpp │ │ ├── FiniteStateMachine.h │ │ ├── LED_FSM.png │ │ ├── LED_FSM.vsd │ │ ├── examples │ │ │ └── LEDStateMachine │ │ │ │ └── LEDStateMachine.pde │ │ └── keywords.txt │ │ ├── IRremote │ │ ├── IRremote.cpp │ │ ├── IRremote.h │ │ ├── IRremoteInt.h │ │ ├── LICENSE.txt │ │ ├── examples │ │ │ ├── IRrecord │ │ │ │ └── IRrecord.pde │ │ │ ├── IRrecvDemo │ │ │ │ └── IRrecvDemo.pde │ │ │ ├── IRrecvDump │ │ │ │ └── IRrecvDump.pde │ │ │ ├── IRrelay │ │ │ │ └── IRrelay.pde │ │ │ ├── IRsendDemo │ │ │ │ └── IRsendDemo.pde │ │ │ └── IRtest │ │ │ │ └── IRtest.pde │ │ └── keywords.txt │ │ ├── LED │ │ ├── AlphaLicense.txt │ │ ├── Examples │ │ │ ├── Blink │ │ │ │ └── Blink.pde │ │ │ └── Loop │ │ │ │ └── Loop.pde │ │ ├── LED.cpp │ │ ├── LED.h │ │ └── keywords.txt │ │ ├── LiquidCrystal │ │ ├── LiquidCrystal.cpp │ │ ├── LiquidCrystal.h │ │ └── keywords.txt │ │ ├── LiquidCrystal_I2C │ │ ├── LiquidCrystal_I2C.cpp │ │ ├── LiquidCrystal_I2C.h │ │ ├── examples │ │ │ ├── CustomChars │ │ │ │ └── CustomChars.pde │ │ │ ├── HelloWorld │ │ │ │ ├── HelloWorld.pde │ │ │ │ └── applet │ │ │ │ │ ├── HardwareSerial.cpp.o │ │ │ │ │ ├── HelloWorld.cpp │ │ │ │ │ ├── HelloWorld.cpp.eep │ │ │ │ │ ├── HelloWorld.cpp.elf │ │ │ │ │ ├── HelloWorld.cpp.hex │ │ │ │ │ ├── HelloWorld.cpp.o │ │ │ │ │ ├── LiquidCrystal_I2C │ │ │ │ │ └── LiquidCrystal_I2C.cpp.o │ │ │ │ │ ├── Print.cpp.o │ │ │ │ │ ├── WInterrupts.c.o │ │ │ │ │ ├── WMath.cpp.o │ │ │ │ │ ├── Wire │ │ │ │ │ ├── Wire.cpp.o │ │ │ │ │ └── utility │ │ │ │ │ │ └── twi.c.o │ │ │ │ │ ├── core.a │ │ │ │ │ ├── pins_arduino.c.o │ │ │ │ │ ├── wiring.c.o │ │ │ │ │ ├── wiring_analog.c.o │ │ │ │ │ ├── wiring_digital.c.o │ │ │ │ │ ├── wiring_pulse.c.o │ │ │ │ │ └── wiring_shift.c.o │ │ │ ├── HelloWorld_Tiny │ │ │ │ └── HelloWorld_Tiny.pde │ │ │ └── SerialDisplay │ │ │ │ └── SerialDisplay.pde │ │ ├── info │ │ │ ├── Image.jpg │ │ │ ├── Schematic_diagram.jpg │ │ │ └── readme.txt │ │ └── keywords.txt │ │ ├── MeetAndroid │ │ ├── MeetAndroid.cpp │ │ ├── MeetAndroid.h │ │ ├── examples │ │ │ ├── ConvertEvents │ │ │ │ └── ConvertEvents.pde │ │ │ ├── MultiColorLampTutorial │ │ │ │ └── MultiColorLampTutorial.pde │ │ │ ├── PhoneEvents │ │ │ │ └── PhoneEvents.pde │ │ │ ├── SensorEvents │ │ │ │ └── SensorEvents.pde │ │ │ ├── SensorGraphTutorial │ │ │ │ └── SensorGraphTutorial.pde │ │ │ └── Test │ │ │ │ └── Test.pde │ │ └── keywords.txt │ │ ├── NECIRrcv │ │ ├── NECIRrcv.cpp │ │ ├── NECIRrcv.h │ │ ├── NECIRrcv.o │ │ ├── examples │ │ │ └── printcodes │ │ │ │ ├── NECIRrcv.h │ │ │ │ ├── applet │ │ │ │ ├── WInterrupts.c.o │ │ │ │ ├── pins_arduino.c.o │ │ │ │ ├── printcodes.cpp │ │ │ │ ├── wiring.c.o │ │ │ │ ├── wiring_analog.c.o │ │ │ │ ├── wiring_digital.c.o │ │ │ │ ├── wiring_pulse.c.o │ │ │ │ ├── wiring_serial.c.o │ │ │ │ └── wiring_shift.c.o │ │ │ │ ├── libraries │ │ │ │ ├── NECIRrcv.cpp │ │ │ │ ├── NECIRrcv.h │ │ │ │ ├── NECIRrcv.o │ │ │ │ └── keywords.txt │ │ │ │ └── printcodes.pde │ │ └── keywords.txt │ │ ├── Oscilator │ │ ├── Oscillator.cpp │ │ └── Oscillator.h │ │ ├── PID_v1 │ │ ├── Examples │ │ │ ├── PID_AdaptiveTunings │ │ │ │ └── PID_AdaptiveTunings.pde │ │ │ ├── PID_Basic │ │ │ │ └── PID_Basic.pde │ │ │ └── PID_RelayOutput │ │ │ │ └── PID_RelayOutput.pde │ │ ├── PID_v1.cpp │ │ ├── PID_v1.h │ │ └── keywords.txt │ │ ├── Robot │ │ ├── Example │ │ │ └── Skybot │ │ │ │ └── Skybot.pde │ │ ├── README │ │ ├── Robot.cpp │ │ └── Robot.h │ │ ├── Rueda │ │ ├── Examples │ │ │ └── Rueda │ │ │ │ └── Rueda.pde │ │ ├── README │ │ ├── Rueda.cpp │ │ └── Rueda.h │ │ ├── SPI │ │ ├── SPI.cpp │ │ ├── SPI.h │ │ └── keywords.txt │ │ ├── SRF02 │ │ ├── CHANGELOG.txt │ │ ├── LICENSE.txt │ │ ├── README.txt │ │ ├── SRF02.cpp │ │ ├── SRF02.h │ │ ├── Wire │ │ │ ├── Wire.cpp │ │ │ ├── Wire.h │ │ │ ├── examples │ │ │ │ ├── SFRRanger_reader │ │ │ │ │ └── SFRRanger_reader.pde │ │ │ │ ├── digital_potentiometer │ │ │ │ │ └── digital_potentiometer.pde │ │ │ │ ├── master_reader │ │ │ │ │ └── master_reader.pde │ │ │ │ ├── master_writer │ │ │ │ │ └── master_writer.pde │ │ │ │ ├── slave_receiver │ │ │ │ │ └── slave_receiver.pde │ │ │ │ └── slave_sender │ │ │ │ │ └── slave_sender.pde │ │ │ ├── keywords.txt │ │ │ └── utility │ │ │ │ ├── twi.c │ │ │ │ └── twi.h │ │ ├── examples │ │ │ └── SRF02 │ │ │ │ └── SRF02.pde │ │ ├── keywords.txt │ │ └── version.txt │ │ ├── Servo │ │ ├── Servo.cpp │ │ ├── Servo.h │ │ ├── examples │ │ │ ├── Knob │ │ │ │ └── Knob.pde │ │ │ └── Sweep │ │ │ │ └── Sweep.pde │ │ └── keywords.txt │ │ ├── Servo8Bit │ │ ├── Makefile │ │ ├── Readme.txt │ │ ├── Servo8Bit.cpp │ │ ├── Servo8Bit.h │ │ └── example.cpp │ │ ├── ServoTimer1 │ │ ├── ServoTimer1.cpp │ │ ├── ServoTimer1.h │ │ └── keywords.txt │ │ ├── Skymega │ │ └── skymega.h │ │ ├── SoftwareSerial │ │ ├── Examples │ │ │ ├── SoftwareSerialExample │ │ │ │ └── SoftwareSerialExample.pde │ │ │ └── TwoPortRXExample │ │ │ │ └── TwoPortRXExample.pde │ │ ├── SoftwareSerial.cpp │ │ ├── SoftwareSerial.h │ │ ├── icrmacros.h │ │ └── keywords.txt │ │ ├── SoftwareServo │ │ ├── SoftwareServo.cpp │ │ ├── SoftwareServo.h │ │ ├── examples │ │ │ └── SerialServo │ │ │ │ ├── SerialServo.pde │ │ │ │ └── skybot.pde │ │ └── keywords.txt │ │ ├── TimerOne │ │ ├── TimerOne.cpp │ │ └── TimerOne.h │ │ ├── TimerThree │ │ ├── TimerThree.cpp │ │ ├── TimerThree.h │ │ ├── config │ │ │ └── known_16bit_timers.h │ │ ├── examples │ │ │ ├── FanSpeed │ │ │ │ └── FanSpeed.pde │ │ │ └── Interrupt │ │ │ │ └── Interrupt.pde │ │ └── keywords.txt │ │ ├── TinyWireM │ │ ├── TinyWireM.cpp │ │ ├── TinyWireM.h │ │ ├── USI_TWI_Master.cpp │ │ ├── USI_TWI_Master.h │ │ ├── examples │ │ │ ├── Tiny85_Temp │ │ │ │ └── Tiny85_Temp.pde │ │ │ ├── Tiny85_Temp_LCD │ │ │ │ └── Tiny85_Temp_LCD.pde │ │ │ └── Tiny85_Temp_LCD_RTC │ │ │ │ └── Tiny85_Temp_LCD_RTC.pde │ │ └── keywords.txt │ │ ├── TinyWireS │ │ ├── TinyWireS.cpp │ │ ├── TinyWireS.h │ │ ├── examples │ │ │ └── Tiny85_I2C_Slave_Ex │ │ │ │ └── Tiny85_I2C_Slave_Ex.pde │ │ ├── keywords.txt │ │ ├── usiTwiSlave.c │ │ └── usiTwiSlave.h │ │ ├── Tone │ │ ├── Tone.cpp │ │ ├── Tone.h │ │ ├── changelog.txt │ │ ├── examples │ │ │ ├── DTMFTest │ │ │ │ └── DTMFTest.pde │ │ │ ├── RTTTL │ │ │ │ └── RTTTL.pde │ │ │ └── ToneTest │ │ │ │ └── ToneTest.pde │ │ └── keywords.txt │ │ ├── USB_Host_Shield │ │ ├── Max3421e.cpp │ │ ├── Max3421e.cpp~ │ │ ├── Max3421e.h │ │ ├── Max3421e.h~ │ │ ├── Max3421e_constants.h │ │ ├── Max_LCD.cpp │ │ ├── Max_LCD.h │ │ ├── README │ │ ├── Usb.cpp │ │ ├── Usb.h │ │ └── ch9.h │ │ ├── Ultrasonic │ │ ├── Ultrasonic.cpp │ │ ├── Ultrasonic.h │ │ └── examples │ │ │ ├── LCD │ │ │ └── LCD.pde │ │ │ └── Serial │ │ │ └── Serial.pde │ │ ├── Worm │ │ ├── Examples │ │ │ ├── Worm_Test │ │ │ │ └── Worm_test.pde │ │ │ ├── Worm_wave │ │ │ │ └── Worm_wave.pde │ │ │ └── Worm_wave_auto │ │ │ │ └── Worm_wave_auto.pde │ │ ├── Worm.cpp │ │ └── Worm.h │ │ └── ethercard │ │ ├── .gitignore │ │ ├── Doxyfile │ │ ├── Doxylogo.png │ │ ├── Doxymods.css │ │ ├── EtherCard.cpp │ │ ├── EtherCard.h │ │ ├── README.md │ │ ├── dhcp.cpp │ │ ├── dns.cpp │ │ ├── enc28j60.cpp │ │ ├── enc28j60.h │ │ ├── examples │ │ ├── JeeUdp │ │ │ └── JeeUdp.ino │ │ ├── backSoon │ │ │ └── backSoon.ino │ │ ├── etherNode │ │ │ └── etherNode.ino │ │ ├── getDHCPandDNS │ │ │ └── getDHCPandDNS.ino │ │ ├── getStaticIP │ │ │ └── getStaticIP.ino │ │ ├── getViaDNS │ │ │ └── getViaDNS.ino │ │ ├── nanether │ │ │ └── nanether.ino │ │ ├── noipClient │ │ │ └── noipClient.ino │ │ ├── pachube │ │ │ └── pachube.ino │ │ ├── pings │ │ │ └── pings.ino │ │ ├── rbbb_server │ │ │ └── rbbb_server.ino │ │ ├── stashTest │ │ │ └── stashTest.ino │ │ ├── testDHCP │ │ │ └── testDHCP.ino │ │ ├── twitter │ │ │ └── twitter.ino │ │ └── webClient │ │ │ └── webClient.ino │ │ ├── net.h │ │ ├── tcpip.cpp │ │ └── webutil.cpp ├── Documentacion │ ├── Configuracion │ │ ├── articulo.log │ │ ├── articulo.tex │ │ ├── capitulo1.tex │ │ └── libro.tex │ ├── Documento.aux │ ├── Documento.idx │ ├── Documento.lof │ ├── Documento.log │ ├── Documento.pdf │ ├── Documento.synctex.gz │ ├── Documento.tex │ ├── Documento.toc │ ├── Imagenes │ │ ├── Documentos │ │ │ ├── ArduinoNotebook_img01.png │ │ │ ├── ArduinoNotebook_img02.png │ │ │ ├── ArduinoNotebook_img03.png │ │ │ ├── ArduinoNotebook_img04.png │ │ │ ├── ArduinoNotebook_img05.png │ │ │ ├── ArduinoNotebook_img06.png │ │ │ ├── ArduinoNotebook_img07.png │ │ │ ├── ArduinoNotebook_img10.png │ │ │ ├── ArduinoNotebook_img12.png │ │ │ ├── ArduinoNotebook_img13.png │ │ │ ├── ArduinoNotebook_img14.png │ │ │ ├── ArduinoNotebook_img15.png │ │ │ ├── ArduinoNotebook_img16.png │ │ │ └── ArduinoNotebook_img17.png │ │ └── Portada │ │ │ └── logo.png │ ├── Portada │ │ ├── portada.log │ │ └── portada.tex │ ├── Textos │ │ ├── capitulo1.tex │ │ ├── capitulo10.tex │ │ ├── capitulo11.tex │ │ ├── capitulo12.tex │ │ ├── capitulo13.tex │ │ ├── capitulo14.log │ │ ├── capitulo14.tex │ │ ├── capitulo15.tex │ │ ├── capitulo16.tex │ │ ├── capitulo17.tex │ │ ├── capitulo2.tex │ │ ├── capitulo3.tex │ │ ├── capitulo4.tex │ │ ├── capitulo5.tex │ │ ├── capitulo6.tex │ │ ├── capitulo7.tex │ │ ├── capitulo8.tex │ │ ├── capitulo9.tex │ │ └── teoria.log │ └── documento.tmproj ├── hardware │ ├── Gen7 │ │ ├── boards.txt │ │ ├── bootloaders │ │ │ └── Gen7 │ │ │ │ ├── bootloader-1284P-16MHz.hex │ │ │ │ ├── bootloader-644-16MHz.hex │ │ │ │ ├── bootloader-644-20MHz.hex │ │ │ │ ├── bootloader-644P-16MHz.hex │ │ │ │ └── bootloader-644P-20MHz.hex │ │ └── cores │ │ │ └── arduino │ │ │ ├── HardwareSerial.cpp │ │ │ ├── HardwareSerial.h │ │ │ ├── Makefile │ │ │ ├── Print.cpp │ │ │ ├── Print.h │ │ │ ├── Tone.cpp │ │ │ ├── WCharacter.h │ │ │ ├── WConstants.h │ │ │ ├── WInterrupts.c │ │ │ ├── WMath.cpp │ │ │ ├── WProgram.h │ │ │ ├── WString.cpp │ │ │ ├── WString.h │ │ │ ├── binary.h │ │ │ ├── main.cpp │ │ │ ├── main.cxx │ │ │ ├── pins_arduino.c │ │ │ ├── pins_arduino.h │ │ │ ├── wiring.c │ │ │ ├── wiring.h │ │ │ ├── wiring_analog.c │ │ │ ├── wiring_digital.c │ │ │ ├── wiring_private.h │ │ │ ├── wiring_pulse.c │ │ │ ├── wiring_serial.c │ │ │ └── wiring_shift.c │ ├── Sanguino │ │ ├── boards.txt │ │ ├── bootloaders │ │ │ └── atmega644p │ │ │ │ ├── ATmegaBOOT.c │ │ │ │ ├── ATmegaBOOT_324P.hex │ │ │ │ ├── ATmegaBOOT_644.hex │ │ │ │ ├── ATmegaBOOT_644P.hex │ │ │ │ ├── Makefile │ │ │ │ └── README.txt │ │ ├── cores │ │ │ └── arduino │ │ │ │ ├── Copy of wiring.h │ │ │ │ ├── HardwareSerial.cpp │ │ │ │ ├── HardwareSerial.h │ │ │ │ ├── Print.cpp │ │ │ │ ├── Print.h │ │ │ │ ├── Stream.h │ │ │ │ ├── Tone.cpp │ │ │ │ ├── WCharacter.h │ │ │ │ ├── WConstants.h │ │ │ │ ├── WInterrupts.c │ │ │ │ ├── WMath.cpp │ │ │ │ ├── WProgram.h │ │ │ │ ├── WString.cpp │ │ │ │ ├── WString.h │ │ │ │ ├── binary.h │ │ │ │ ├── main.cpp │ │ │ │ ├── pins_arduino.c │ │ │ │ ├── pins_arduino.h │ │ │ │ ├── wiring.c │ │ │ │ ├── wiring.h │ │ │ │ ├── wiring_analog.c │ │ │ │ ├── wiring_digital.c │ │ │ │ ├── wiring_private.h │ │ │ │ ├── wiring_pulse.c │ │ │ │ └── wiring_shift.c │ │ └── programmers.txt │ ├── breadboard │ │ └── boards.txt │ ├── tiny │ │ ├── boards.txt │ │ ├── bootloaders │ │ │ └── empty │ │ │ │ ├── empty2313at1.hex │ │ │ │ ├── empty2313at8.hex │ │ │ │ ├── empty24at16.hex │ │ │ │ ├── empty25at1.hex │ │ │ │ ├── empty25at8.hex │ │ │ │ ├── empty4313at1.hex │ │ │ │ ├── empty4313at8.hex │ │ │ │ ├── empty44at1.hex │ │ │ │ ├── empty44at8.hex │ │ │ │ ├── empty45at1.hex │ │ │ │ ├── empty45at8.hex │ │ │ │ ├── empty84at1.hex │ │ │ │ ├── empty84at16.hex │ │ │ │ ├── empty84at8.hex │ │ │ │ ├── empty85at1.hex │ │ │ │ ├── empty85at16.hex │ │ │ │ └── empty85at8.hex │ │ ├── cores │ │ │ ├── empty │ │ │ │ ├── Arduino.h │ │ │ │ ├── WProgram.h │ │ │ │ └── main.cpp │ │ │ └── tiny │ │ │ │ ├── Arduino.h │ │ │ │ ├── HardwareSerial.cpp │ │ │ │ ├── HardwareSerial.h │ │ │ │ ├── Print.cpp │ │ │ │ ├── Print.h │ │ │ │ ├── PwmTimer.h │ │ │ │ ├── Stream.h │ │ │ │ ├── TinyDebugSerial.cpp │ │ │ │ ├── TinyDebugSerial.h │ │ │ │ ├── TinyDebugSerial115200.cpp │ │ │ │ ├── TinyDebugSerial38400.cpp │ │ │ │ ├── TinyDebugSerial9600.cpp │ │ │ │ ├── TinyDebugSerialErrors.cpp │ │ │ │ ├── Tone.cpp │ │ │ │ ├── ToneTimer.h │ │ │ │ ├── UserTimer.h │ │ │ │ ├── WCharacter.h │ │ │ │ ├── WConstants.h │ │ │ │ ├── WInterrupts.c │ │ │ │ ├── WMath.cpp │ │ │ │ ├── WProgram.h │ │ │ │ ├── WString.cpp │ │ │ │ ├── WString.h │ │ │ │ ├── binary.h │ │ │ │ ├── core_adc.h │ │ │ │ ├── core_build_options.h │ │ │ │ ├── core_macros.h │ │ │ │ ├── core_pins.h │ │ │ │ ├── core_timers.h │ │ │ │ ├── main.cpp │ │ │ │ ├── pins_arduino.c │ │ │ │ ├── pins_arduino.h │ │ │ │ ├── wiring.c │ │ │ │ ├── wiring.h │ │ │ │ ├── wiring_analog.c │ │ │ │ ├── wiring_digital.c │ │ │ │ ├── wiring_private.h │ │ │ │ ├── wiring_pulse.c │ │ │ │ └── wiring_shift.c │ │ ├── license.txt │ │ └── readme.txt │ └── tools │ │ └── avr │ │ └── etc │ │ └── avrdude.conf └── libraries │ ├── AFMotor │ ├── AFMotor.cpp │ ├── AFMotor.h │ ├── Examples │ │ ├── MotorParty │ │ │ └── MotorParty.pde │ │ ├── MotorTest │ │ │ └── MotorTest.pde │ │ └── StepperTest │ │ │ └── StepperTest.pde │ └── keywords.txt │ ├── AndroidAccessory │ ├── AndroidAccessory.cpp │ └── AndroidAccessory.h │ ├── Button │ ├── AlphaLicense.txt │ ├── Button.cpp │ ├── Button.h │ ├── Examples │ │ ├── Button │ │ │ └── Button.pde │ │ └── EventButton │ │ │ └── EventButton.pde │ └── keywords.txt │ ├── ENC28J60 │ ├── .gitignore │ ├── Client.cpp │ ├── Client.h │ ├── Ethernet.cpp │ ├── Ethernet.h │ ├── README.markdown │ ├── Server.cpp │ ├── Server.h │ ├── ToDo │ ├── examples │ │ ├── ChatServer │ │ │ └── ChatServer.pde │ │ ├── WebClient │ │ │ └── WebClient.pde │ │ ├── WebClientDEBUG │ │ │ └── WebClientDEBUG.pde │ │ ├── WebServer │ │ │ └── WebServer.pde │ │ ├── WebServerDEBUG │ │ │ └── WebServerDEBUG.pde │ │ ├── WebServerSimple │ │ │ └── WebServerSimple.pde │ │ └── WebServerSimpleLED │ │ │ └── WebServerSimpleLED.pde │ ├── keywords.txt │ ├── resources │ │ ├── Tcp_state_diagram_fixed_new.svg │ │ └── resources.markdown │ └── utility │ │ ├── enc28j60.c │ │ ├── enc28j60.h │ │ ├── ip_arp_udp_tcp.c │ │ ├── ip_arp_udp_tcp.h │ │ ├── net.h │ │ ├── socket.c │ │ ├── socket.c.backup │ │ ├── socket.h │ │ ├── socket.h.backup │ │ └── types.h │ ├── EasyTransfer │ ├── EasyTransfer.cpp │ ├── EasyTransfer.h │ ├── Examples │ │ ├── EasyTransfer_2Way_wPot_Example │ │ │ └── EasyTransfer_2Way_wPot_Example.pde │ │ ├── EasyTransfer_2Way_wServo_Example │ │ │ └── EasyTransfer_2Way_wServo_Example.pde │ │ ├── EasyTransfer_RX_Example │ │ │ └── EasyTransfer_RX_Example.pde │ │ └── EasyTransfer_TX_Example │ │ │ └── EasyTransfer_TX_Example.pde │ └── keywords.txt │ ├── EasyTransferI2C │ ├── EasyTransferI2C.cpp │ ├── EasyTransferI2C.h │ ├── Examples │ │ ├── EasyTransfer_RX_Example │ │ │ └── EasyTransfer_RX_Example.pde │ │ └── EasyTransfer_TX_Example │ │ │ └── EasyTransfer_TX_Example.pde │ └── keywords.txt │ ├── FSM │ ├── FiniteStateMachine.cpp │ ├── FiniteStateMachine.h │ ├── LED_FSM.png │ ├── LED_FSM.vsd │ ├── examples │ │ └── LEDStateMachine │ │ │ └── LEDStateMachine.pde │ └── keywords.txt │ ├── IRremote │ ├── IRremote.cpp │ ├── IRremote.h │ ├── IRremoteInt.h │ ├── LICENSE.txt │ ├── examples │ │ ├── IRrecord │ │ │ └── IRrecord.pde │ │ ├── IRrecvDemo │ │ │ └── IRrecvDemo.pde │ │ ├── IRrecvDump │ │ │ └── IRrecvDump.pde │ │ ├── IRrelay │ │ │ └── IRrelay.pde │ │ ├── IRsendDemo │ │ │ └── IRsendDemo.pde │ │ └── IRtest │ │ │ └── IRtest.pde │ └── keywords.txt │ ├── LED │ ├── AlphaLicense.txt │ ├── Examples │ │ ├── Blink │ │ │ └── Blink.pde │ │ └── Loop │ │ │ └── Loop.pde │ ├── LED.cpp │ ├── LED.h │ └── keywords.txt │ ├── LiquidCrystal │ ├── LiquidCrystal.cpp │ ├── LiquidCrystal.h │ └── keywords.txt │ ├── LiquidCrystal_I2C │ ├── LiquidCrystal_I2C.cpp │ ├── LiquidCrystal_I2C.h │ ├── examples │ │ ├── CustomChars │ │ │ └── CustomChars.pde │ │ ├── HelloWorld │ │ │ ├── HelloWorld.pde │ │ │ └── applet │ │ │ │ ├── HardwareSerial.cpp.o │ │ │ │ ├── HelloWorld.cpp │ │ │ │ ├── HelloWorld.cpp.eep │ │ │ │ ├── HelloWorld.cpp.elf │ │ │ │ ├── HelloWorld.cpp.hex │ │ │ │ ├── HelloWorld.cpp.o │ │ │ │ ├── LiquidCrystal_I2C │ │ │ │ └── LiquidCrystal_I2C.cpp.o │ │ │ │ ├── Print.cpp.o │ │ │ │ ├── WInterrupts.c.o │ │ │ │ ├── WMath.cpp.o │ │ │ │ ├── Wire │ │ │ │ ├── Wire.cpp.o │ │ │ │ └── utility │ │ │ │ │ └── twi.c.o │ │ │ │ ├── core.a │ │ │ │ ├── pins_arduino.c.o │ │ │ │ ├── wiring.c.o │ │ │ │ ├── wiring_analog.c.o │ │ │ │ ├── wiring_digital.c.o │ │ │ │ ├── wiring_pulse.c.o │ │ │ │ └── wiring_shift.c.o │ │ ├── HelloWorld_Tiny │ │ │ └── HelloWorld_Tiny.pde │ │ └── SerialDisplay │ │ │ └── SerialDisplay.pde │ ├── info │ │ ├── Image.jpg │ │ ├── Schematic_diagram.jpg │ │ └── readme.txt │ └── keywords.txt │ ├── MeetAndroid │ ├── MeetAndroid.cpp │ ├── MeetAndroid.h │ ├── examples │ │ ├── ConvertEvents │ │ │ └── ConvertEvents.pde │ │ ├── MultiColorLampTutorial │ │ │ └── MultiColorLampTutorial.pde │ │ ├── PhoneEvents │ │ │ └── PhoneEvents.pde │ │ ├── SensorEvents │ │ │ └── SensorEvents.pde │ │ ├── SensorGraphTutorial │ │ │ └── SensorGraphTutorial.pde │ │ └── Test │ │ │ └── Test.pde │ └── keywords.txt │ ├── NECIRrcv │ ├── NECIRrcv.cpp │ ├── NECIRrcv.h │ ├── NECIRrcv.o │ ├── examples │ │ └── printcodes │ │ │ ├── NECIRrcv.h │ │ │ ├── applet │ │ │ ├── WInterrupts.c.o │ │ │ ├── pins_arduino.c.o │ │ │ ├── printcodes.cpp │ │ │ ├── wiring.c.o │ │ │ ├── wiring_analog.c.o │ │ │ ├── wiring_digital.c.o │ │ │ ├── wiring_pulse.c.o │ │ │ ├── wiring_serial.c.o │ │ │ └── wiring_shift.c.o │ │ │ ├── libraries │ │ │ ├── NECIRrcv.cpp │ │ │ ├── NECIRrcv.h │ │ │ ├── NECIRrcv.o │ │ │ └── keywords.txt │ │ │ └── printcodes.pde │ └── keywords.txt │ ├── Oscilator │ ├── Oscillator.cpp │ └── Oscillator.h │ ├── PID_v1 │ ├── Examples │ │ ├── PID_AdaptiveTunings │ │ │ └── PID_AdaptiveTunings.pde │ │ ├── PID_Basic │ │ │ └── PID_Basic.pde │ │ └── PID_RelayOutput │ │ │ └── PID_RelayOutput.pde │ ├── PID_v1.cpp │ ├── PID_v1.h │ └── keywords.txt │ ├── Robot │ ├── Example │ │ └── Skybot │ │ │ └── Skybot.pde │ ├── README │ ├── Robot.cpp │ └── Robot.h │ ├── Rueda │ ├── Examples │ │ └── Rueda │ │ │ └── Rueda.pde │ ├── README │ ├── Rueda.cpp │ └── Rueda.h │ ├── SPI │ ├── SPI.cpp │ ├── SPI.h │ └── keywords.txt │ ├── SRF02 │ ├── CHANGELOG.txt │ ├── LICENSE.txt │ ├── README.txt │ ├── SRF02.cpp │ ├── SRF02.h │ ├── Wire │ │ ├── Wire.cpp │ │ ├── Wire.h │ │ ├── examples │ │ │ ├── SFRRanger_reader │ │ │ │ └── SFRRanger_reader.pde │ │ │ ├── digital_potentiometer │ │ │ │ └── digital_potentiometer.pde │ │ │ ├── master_reader │ │ │ │ └── master_reader.pde │ │ │ ├── master_writer │ │ │ │ └── master_writer.pde │ │ │ ├── slave_receiver │ │ │ │ └── slave_receiver.pde │ │ │ └── slave_sender │ │ │ │ └── slave_sender.pde │ │ ├── keywords.txt │ │ └── utility │ │ │ ├── twi.c │ │ │ └── twi.h │ ├── examples │ │ └── SRF02 │ │ │ └── SRF02.pde │ ├── keywords.txt │ └── version.txt │ ├── Servo │ ├── Servo.cpp │ ├── Servo.h │ ├── examples │ │ ├── Knob │ │ │ └── Knob.pde │ │ └── Sweep │ │ │ └── Sweep.pde │ └── keywords.txt │ ├── Servo8Bit │ ├── Makefile │ ├── Readme.txt │ ├── Servo8Bit.cpp │ ├── Servo8Bit.h │ └── example.cpp │ ├── ServoTimer1 │ ├── ServoTimer1.cpp │ ├── ServoTimer1.h │ └── keywords.txt │ ├── Skymega │ └── skymega.h │ ├── SoftwareSerial │ ├── Examples │ │ ├── SoftwareSerialExample │ │ │ └── SoftwareSerialExample.pde │ │ └── TwoPortRXExample │ │ │ └── TwoPortRXExample.pde │ ├── SoftwareSerial.cpp │ ├── SoftwareSerial.h │ ├── icrmacros.h │ └── keywords.txt │ ├── SoftwareServo │ ├── SoftwareServo.cpp │ ├── SoftwareServo.h │ ├── examples │ │ └── SerialServo │ │ │ ├── SerialServo.pde │ │ │ └── skybot.pde │ └── keywords.txt │ ├── TimerOne │ ├── TimerOne.cpp │ └── TimerOne.h │ ├── TimerThree │ ├── TimerThree.cpp │ ├── TimerThree.h │ ├── config │ │ └── known_16bit_timers.h │ ├── examples │ │ ├── FanSpeed │ │ │ └── FanSpeed.pde │ │ └── Interrupt │ │ │ └── Interrupt.pde │ └── keywords.txt │ ├── TinyWireM │ ├── TinyWireM.cpp │ ├── TinyWireM.h │ ├── USI_TWI_Master.cpp │ ├── USI_TWI_Master.h │ ├── examples │ │ ├── Tiny85_Temp │ │ │ └── Tiny85_Temp.pde │ │ ├── Tiny85_Temp_LCD │ │ │ └── Tiny85_Temp_LCD.pde │ │ └── Tiny85_Temp_LCD_RTC │ │ │ └── Tiny85_Temp_LCD_RTC.pde │ └── keywords.txt │ ├── TinyWireS │ ├── TinyWireS.cpp │ ├── TinyWireS.h │ ├── examples │ │ └── Tiny85_I2C_Slave_Ex │ │ │ └── Tiny85_I2C_Slave_Ex.pde │ ├── keywords.txt │ ├── usiTwiSlave.c │ └── usiTwiSlave.h │ ├── Tone │ ├── Tone.cpp │ ├── Tone.h │ ├── changelog.txt │ ├── examples │ │ ├── DTMFTest │ │ │ └── DTMFTest.pde │ │ ├── RTTTL │ │ │ └── RTTTL.pde │ │ └── ToneTest │ │ │ └── ToneTest.pde │ └── keywords.txt │ ├── USB_Host_Shield │ ├── Max3421e.cpp │ ├── Max3421e.cpp~ │ ├── Max3421e.h │ ├── Max3421e.h~ │ ├── Max3421e_constants.h │ ├── Max_LCD.cpp │ ├── Max_LCD.h │ ├── README │ ├── Usb.cpp │ ├── Usb.h │ └── ch9.h │ ├── Ultrasonic │ ├── Ultrasonic.cpp │ ├── Ultrasonic.h │ └── examples │ │ ├── LCD │ │ └── LCD.pde │ │ └── Serial │ │ └── Serial.pde │ ├── Worm │ ├── Examples │ │ ├── Worm_Test │ │ │ └── Worm_test.pde │ │ ├── Worm_wave │ │ │ └── Worm_wave.pde │ │ └── Worm_wave_auto │ │ │ └── Worm_wave_auto.pde │ ├── Worm.cpp │ └── Worm.h │ └── ethercard │ ├── .gitignore │ ├── Doxyfile │ ├── Doxylogo.png │ ├── Doxymods.css │ ├── EtherCard.cpp │ ├── EtherCard.h │ ├── README.md │ ├── dhcp.cpp │ ├── dns.cpp │ ├── enc28j60.cpp │ ├── enc28j60.h │ ├── examples │ ├── JeeUdp │ │ └── JeeUdp.ino │ ├── backSoon │ │ └── backSoon.ino │ ├── etherNode │ │ └── etherNode.ino │ ├── getDHCPandDNS │ │ └── getDHCPandDNS.ino │ ├── getStaticIP │ │ └── getStaticIP.ino │ ├── getViaDNS │ │ └── getViaDNS.ino │ ├── nanether │ │ └── nanether.ino │ ├── noipClient │ │ └── noipClient.ino │ ├── pachube │ │ └── pachube.ino │ ├── pings │ │ └── pings.ino │ ├── rbbb_server │ │ └── rbbb_server.ino │ ├── stashTest │ │ └── stashTest.ino │ ├── testDHCP │ │ └── testDHCP.ino │ ├── twitter │ │ └── twitter.ino │ └── webClient │ │ └── webClient.ino │ ├── net.h │ ├── tcpip.cpp │ └── webutil.cpp ├── Arduino_022.zip ├── CNY70 └── CNY70.pde ├── Calibracion_s3003 └── Calibracion_s3003.pde ├── Comunicaciones ├── Arduino │ └── arduino │ │ ├── arduino.pde │ │ └── skybot.pde └── Python │ ├── escribir.py │ └── leer.py ├── Ejemplos ├── Codigo Proyecto + Librerias │ ├── CodigoProyecto │ │ └── CodigoProyecto.pde │ ├── DS1307 │ │ ├── .gitignore │ │ ├── DS1307.cpp │ │ ├── DS1307.h │ │ ├── README.markdown │ │ ├── ToDo │ │ ├── examples │ │ │ ├── ReadDate │ │ │ │ └── ReadDate.pde │ │ │ ├── SetDateBySerial │ │ │ │ └── SetDateBySerial.pde │ │ │ └── SetDateHardcoded │ │ │ │ └── SetDateHardcoded.pde │ │ ├── keywords.txt │ │ └── photos │ │ │ ├── DS1307-Arduino.jpg │ │ │ ├── DS1307-front-back.jpg │ │ │ └── Thumbs.db │ ├── EEPROM │ │ ├── EEPROM.cpp │ │ ├── EEPROM.h │ │ ├── examples │ │ │ ├── eeprom_clear │ │ │ │ └── eeprom_clear.pde │ │ │ ├── eeprom_read │ │ │ │ └── eeprom_read.pde │ │ │ └── eeprom_write │ │ │ │ └── eeprom_write.pde │ │ └── keywords.txt │ ├── LiquidCrystal │ │ ├── LiquidCrystal.cpp │ │ ├── LiquidCrystal.h │ │ ├── examples │ │ │ ├── Autoscroll │ │ │ │ └── Autoscroll.pde │ │ │ ├── Blink │ │ │ │ └── Blink.pde │ │ │ ├── Cursor │ │ │ │ └── Cursor.pde │ │ │ ├── Display │ │ │ │ └── Display.pde │ │ │ ├── HelloWorld │ │ │ │ └── HelloWorld.pde │ │ │ ├── Scroll │ │ │ │ └── Scroll.pde │ │ │ ├── SerialDisplay │ │ │ │ └── SerialDisplay.pde │ │ │ ├── TextDirection │ │ │ │ └── TextDirection.pde │ │ │ └── setCursor │ │ │ │ └── setCursor.pde │ │ └── keywords.txt │ ├── TimerOne │ │ ├── TimerOne.cpp │ │ └── TimerOne.h │ └── Wire │ │ ├── Wire.cpp │ │ ├── Wire.h │ │ ├── examples │ │ ├── SFRRanger_reader │ │ │ └── SFRRanger_reader.pde │ │ ├── digital_potentiometer │ │ │ └── digital_potentiometer.pde │ │ ├── master_reader │ │ │ └── master_reader.pde │ │ ├── master_writer │ │ │ └── master_writer.pde │ │ ├── slave_receiver │ │ │ └── slave_receiver.pde │ │ └── slave_sender │ │ │ └── slave_sender.pde │ │ ├── keywords.txt │ │ └── utility │ │ ├── twi.c │ │ └── twi.h ├── GPS │ ├── Cadena.pde │ ├── GPS.pde │ ├── LCD.pde │ ├── LiquidCrystal_I2C │ │ ├── LiquidCrystal_I2C.cpp │ │ ├── LiquidCrystal_I2C.h │ │ ├── LiquidCrystal_I2C.o │ │ ├── examples │ │ │ ├── CustomChars │ │ │ │ └── CustomChars.pde │ │ │ ├── HelloWorld │ │ │ │ └── HelloWorld.pde │ │ │ └── SerialDisplay │ │ │ │ └── SerialDisplay.pde │ │ └── keywords.txt │ └── Representa.pde ├── MultiColorLampTutorial │ └── MultiColorLampTutorial.pde ├── Orugas.pde ├── RCdroid │ └── RCdroid.pde ├── Reloj_Interrupciones1 │ └── Reloj_Interrupciones1.pde ├── SensorParking.webarchive ├── Servo_continuo │ └── Servo_continuo.ino ├── Sonar.pde ├── jdorweiler-BalancingRobot-afa319b │ ├── BalancingRobot │ │ ├── BalancingRobot.pde │ │ ├── PID.pde │ │ ├── README │ │ ├── kalman.pde │ │ ├── motors.pde │ │ └── sensors.pde │ ├── MegaArduinoBoxPlate.stl │ ├── README │ ├── Servo Mount.stl │ ├── Wheel.stl │ └── arduino_motor_servo_shield.fzz └── secret_knock_detector │ └── secret_knock_detector.pde ├── Ethernet ├── server │ └── server.pde └── server2 │ └── server2.pde ├── Fotografia ├── transistor.gif └── transistor2.png ├── IR_AppleRemote ├── IR_AppleRemote.pde └── applet │ ├── HardwareSerial.cpp.o │ ├── IR_AppleRemote.cpp │ ├── IR_AppleRemote.cpp.eep │ ├── IR_AppleRemote.cpp.elf │ ├── IR_AppleRemote.cpp.hex │ ├── IR_AppleRemote.cpp.o │ ├── IRremote │ └── IRremote.cpp.o │ ├── Print.cpp.o │ ├── WInterrupts.c.o │ ├── WMath.cpp.o │ ├── core.a │ ├── pins_arduino.c.o │ ├── wiring.c.o │ ├── wiring_analog.c.o │ ├── wiring_digital.c.o │ ├── wiring_pulse.c.o │ └── wiring_shift.c.o ├── IR_recibir └── IR_recibir.pde ├── Insoladora ├── V1 │ └── V1.pde ├── V2 │ └── V2.pde └── readme ├── Lampara └── Lampara.ino ├── Miniskybot ├── README ├── parts │ ├── Freecad │ │ ├── Mini-skybot-v2.fcstd │ │ └── non-printable │ │ │ ├── bolt.scad │ │ │ ├── marbel.scad │ │ │ ├── nut.scad │ │ │ ├── o-ring.scad │ │ │ └── stl │ │ │ ├── bolt_M3.stl │ │ │ ├── marbel.stl │ │ │ ├── nut_M3.stl │ │ │ └── o-ring-wheel.stl │ ├── Parameterized_battery_holder.scad │ ├── STL │ │ ├── Servo-wheel-4-arm-horn.stl │ │ ├── Servo-wheel-6-arm-horn.stl │ │ ├── Servo-wheel-rounded-horn.stl │ │ ├── battery_holder.stl │ │ ├── battery_holder_export.gcode │ │ ├── chassis.stl │ │ └── chassis_export.gcode │ ├── Servo-wheel.scad │ ├── battery_holder.scad │ ├── configuration.scad │ ├── doc │ │ ├── battery_holder.dxf │ │ ├── futaba-doc2.dxf │ │ └── rear_doc.dxf │ ├── fake_ultrasound.scad │ ├── functions.scad │ ├── futaba3003 │ │ ├── Futaba-shaft.dxf │ │ ├── futaba-doc1.dxf │ │ ├── futaba-ears.dxf │ │ ├── futaba-ears2.dxf │ │ ├── futaba-main.dxf │ │ ├── futaba-plate.dxf │ │ ├── futaba-shaft-orig.dxf │ │ ├── futaba-top.dxf │ │ ├── futaba.scad │ │ ├── futaba.stl │ │ └── futaba_plate.scad │ └── main.scad ├── simulation │ └── octave-matlab │ │ ├── @miniskybot │ │ ├── display.m │ │ ├── draw.m │ │ ├── get.m │ │ ├── miniskybot.m │ │ ├── set.m │ │ └── step.m │ │ ├── deg2rad.m │ │ ├── main.m │ │ └── set_axis.m └── software │ ├── Configuration.h │ ├── Miniskybot.cpp │ ├── Miniskybot.h │ ├── Miniskybot_motors.cpp │ ├── Miniskybot_motors.h │ ├── Miniskybot_sensors.cpp │ ├── Miniskybot_sensors.h │ ├── README │ └── examples │ └── Miniskybot_calibration │ └── Miniskybot_calibration.pde ├── Motor_paso_paso └── Motor_paso_paso.pde ├── PRUEBA_BLUETOOTH └── PRUEBA_BLUETOOTH.pde ├── README ├── Robot ├── Example │ └── Skybot │ │ └── Skybot.pde ├── README ├── Robot.cpp └── Robot.h ├── Rueda ├── Examples │ └── Rueda │ │ └── Rueda.pde ├── README ├── Rueda.cpp └── Rueda.h ├── Sensor_aparcar └── Sensor_aparcar.pde ├── Skybot ├── README ├── Ultrasonic │ ├── Ultrasonic.cpp │ ├── Ultrasonic.h │ └── examples │ │ ├── LCD │ │ └── LCD.pde │ │ └── Serial │ │ └── Serial.pde ├── skybot │ └── skybot.pde └── v2 │ └── v2.pde ├── Termometro ├── applet │ ├── HardwareSerial.cpp.o │ ├── Print.cpp.o │ ├── WInterrupts.c.o │ ├── WMath.cpp.o │ ├── core.a │ ├── pins_arduino.c.o │ ├── temp_lm35.cpp │ ├── temp_lm35.cpp.eep │ ├── temp_lm35.cpp.elf │ ├── temp_lm35.cpp.hex │ ├── temp_lm35.cpp.o │ ├── wiring.c.o │ ├── wiring_analog.c.o │ ├── wiring_digital.c.o │ ├── wiring_pulse.c.o │ └── wiring_shift.c.o └── temp_lm35 │ └── temp_lm35.pde ├── Ultrasonido ├── LCD_SERVO │ └── LCD_SERVO.pde └── Ultrasonido.ino ├── arduino-0022.dmg ├── cinetica └── cinetica.pde ├── control_servo_continuo ├── Button │ ├── AlphaLicense.txt │ ├── Button.cpp │ ├── Button.h │ ├── Examples │ │ ├── Button │ │ │ └── Button.pde │ │ └── EventButton │ │ │ └── EventButton.pde │ └── keywords.txt ├── README ├── Serial │ ├── Serial.pde │ └── velocidad.app │ │ └── Contents │ │ ├── Info.plist │ │ ├── MacOS │ │ ├── JavaApplicationStub │ │ └── JavaApplicationStub64 │ │ ├── PkgInfo │ │ └── Resources │ │ ├── Java │ │ ├── RXTXcomm.jar │ │ ├── controlP5.jar │ │ ├── core.jar │ │ ├── librxtxSerial.jnilib │ │ ├── serial.jar │ │ └── velocidad.jar │ │ └── sketch.icns ├── i2c │ ├── master │ │ └── master.pde │ └── slave │ │ └── slave.pde ├── interruptor │ └── interruptor.pde └── potenciometro │ └── potenciometro.pde ├── skybot2 ├── Android │ └── Skybot │ │ ├── .classpath │ │ ├── .project │ │ ├── AndroidManifest.xml │ │ ├── bin │ │ ├── Skybot.apk │ │ ├── classes.dex │ │ ├── classes │ │ │ └── skybot │ │ │ │ └── bluetooth │ │ │ │ ├── BuildConfig.class │ │ │ │ ├── R$attr.class │ │ │ │ ├── R$drawable.class │ │ │ │ ├── R$id.class │ │ │ │ ├── R$layout.class │ │ │ │ ├── R$string.class │ │ │ │ ├── R.class │ │ │ │ ├── SkybotActivity$1.class │ │ │ │ ├── SkybotActivity$2.class │ │ │ │ ├── SkybotActivity$3.class │ │ │ │ ├── SkybotActivity$4.class │ │ │ │ ├── SkybotActivity$5.class │ │ │ │ └── SkybotActivity.class │ │ ├── jarlist.cache │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-ldpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-mdpi │ │ │ │ └── ic_launcher.png │ │ │ └── drawable-xhdpi │ │ │ │ └── ic_launcher.png │ │ └── resources.ap_ │ │ ├── gen │ │ └── skybot │ │ │ └── bluetooth │ │ │ ├── BuildConfig.java │ │ │ └── R.java │ │ ├── libs │ │ └── AmarinoLibrary.jar │ │ ├── proguard-project.txt │ │ ├── project.properties │ │ ├── res │ │ ├── drawable-hdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-ldpi │ │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ │ └── ic_launcher.png │ │ ├── layout │ │ │ └── main.xml │ │ └── values │ │ │ └── strings.xml │ │ └── src │ │ └── skybot │ │ └── bluetooth │ │ └── SkybotActivity.java ├── arduino │ ├── rueda │ │ ├── rueda.cpp │ │ └── rueda.h │ ├── sketch_may01b │ │ └── sketch_may01b.pde │ ├── skybot2 │ │ └── skybot2.pde │ └── skybot_android │ │ └── skybot_android.pde ├── circuito │ └── miniskybot2.fz ├── processing │ └── Keyboard │ │ └── Keyboard.pde ├── skybot2.pde └── skybot2_pde │ └── skybot2_pde.pde └── velocidad ├── .sconsign.dblite ├── SConstruct └── velocidad.pde /ArduSnake/skymega/1.0.3 : -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/ArduSnake/skymega/1.0.3 -------------------------------------------------------------------------------- /Arduino/022.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022.zip -------------------------------------------------------------------------------- /Arduino/022/Sanguino/boards.txt: -------------------------------------------------------------------------------- 1 | ############################################################## 2 | 3 | sanguino.name=Sanguino 4 | sanguino.upload.protocol=stk500 5 | sanguino.upload.maximum_size=63488 6 | sanguino.upload.speed=38400 7 | sanguino.bootloader.low_fuses=0xFF 8 | sanguino.bootloader.high_fuses=0xDC 9 | sanguino.bootloader.extended_fuses=0xFD 10 | sanguino.bootloader.path=atmega644p 11 | sanguino.bootloader.file=ATmegaBOOT_644P.hex 12 | sanguino.bootloader.unlock_bits=0x3F 13 | sanguino.bootloader.lock_bits=0x0F 14 | sanguino.build.mcu=atmega644p 15 | sanguino.build.f_cpu=16000000L 16 | sanguino.build.core=arduino 17 | -------------------------------------------------------------------------------- /Arduino/022/Sanguino/bootloaders/atmega644p/README.txt: -------------------------------------------------------------------------------- 1 | Note: This bootloader support ATmega644, ATmega644P and ATmega324P. 2 | To build, set PROGRAM and MCU_TARGET in the Makefile according to your target device. 3 | 4 | -------------------------------------------------------------------------------- /Arduino/022/Sanguino/cores/arduino/WConstants.h: -------------------------------------------------------------------------------- 1 | #include "wiring.h" 2 | -------------------------------------------------------------------------------- /Arduino/022/Sanguino/cores/arduino/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | init(); 6 | 7 | setup(); 8 | 9 | for (;;) 10 | loop(); 11 | 12 | return 0; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /Arduino/022/Sanguino/programmers.txt: -------------------------------------------------------------------------------- 1 | avrisp.name=AVR ISP 2 | avrisp.communication=serial 3 | avrisp.protocol=stk500v1 4 | 5 | avrispmkii.name=AVRISP mkII 6 | avrispmkii.communication=usb 7 | avrispmkii.protocol=stk500v2 8 | 9 | usbtinyisp.name=USBtinyISP 10 | usbtinyisp.protocol=usbtiny 11 | 12 | parallel.name=Parallel Programmer 13 | parallel.protocol=dapa 14 | parallel.force=true 15 | # parallel.delay=200 16 | 17 | arduinoisp.name=Arduino as ISP 18 | arduinoisp.communication=serial 19 | arduinoisp.protocol=stk500v1 20 | arduinoisp.speed=19200 21 | -------------------------------------------------------------------------------- /Arduino/022/hardware/Gen7/cores/arduino/WConstants.h: -------------------------------------------------------------------------------- 1 | #include "wiring.h" 2 | -------------------------------------------------------------------------------- /Arduino/022/hardware/Gen7/cores/arduino/WProgram.h: -------------------------------------------------------------------------------- 1 | #ifndef WProgram_h 2 | #define WProgram_h 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | #include 9 | 10 | #include "wiring.h" 11 | 12 | #ifdef __cplusplus 13 | #include "WCharacter.h" 14 | #include "WString.h" 15 | #include "HardwareSerial.h" 16 | 17 | uint16_t makeWord(uint16_t w); 18 | uint16_t makeWord(byte h, byte l); 19 | 20 | #define word(...) makeWord(__VA_ARGS__) 21 | 22 | unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L); 23 | 24 | void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0); 25 | void noTone(uint8_t _pin); 26 | 27 | // WMath prototypes 28 | long random(long); 29 | long random(long, long); 30 | void randomSeed(unsigned int); 31 | long map(long, long, long, long, long); 32 | #endif 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /Arduino/022/hardware/Gen7/cores/arduino/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | init(); 6 | 7 | setup(); 8 | 9 | for (;;) 10 | loop(); 11 | 12 | return 0; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /Arduino/022/hardware/Gen7/cores/arduino/main.cxx: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | init(); 4 | 5 | setup(); 6 | 7 | for (;;) 8 | loop(); 9 | 10 | return 0; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /Arduino/022/hardware/Sanguino/boards.txt: -------------------------------------------------------------------------------- 1 | ############################################################## 2 | 3 | sanguino.name=Sanguino 4 | sanguino.upload.protocol=stk500 5 | sanguino.upload.maximum_size=63488 6 | sanguino.upload.speed=38400 7 | sanguino.bootloader.low_fuses=0xFF 8 | sanguino.bootloader.high_fuses=0xDC 9 | sanguino.bootloader.extended_fuses=0xFD 10 | sanguino.bootloader.path=atmega644p 11 | sanguino.bootloader.file=ATmegaBOOT_644P.hex 12 | sanguino.bootloader.unlock_bits=0x3F 13 | sanguino.bootloader.lock_bits=0x0F 14 | sanguino.build.mcu=atmega644p 15 | sanguino.build.f_cpu=16000000L 16 | sanguino.build.core=arduino 17 | -------------------------------------------------------------------------------- /Arduino/022/hardware/Sanguino/bootloaders/atmega644p/README.txt: -------------------------------------------------------------------------------- 1 | Note: This bootloader support ATmega644, ATmega644P and ATmega324P. 2 | To build, set PROGRAM and MCU_TARGET in the Makefile according to your target device. 3 | 4 | -------------------------------------------------------------------------------- /Arduino/022/hardware/Sanguino/cores/arduino/WConstants.h: -------------------------------------------------------------------------------- 1 | #include "wiring.h" 2 | -------------------------------------------------------------------------------- /Arduino/022/hardware/Sanguino/cores/arduino/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | init(); 6 | 7 | setup(); 8 | 9 | for (;;) 10 | loop(); 11 | 12 | return 0; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /Arduino/022/hardware/Sanguino/programmers.txt: -------------------------------------------------------------------------------- 1 | avrisp.name=AVR ISP 2 | avrisp.communication=serial 3 | avrisp.protocol=stk500v1 4 | 5 | avrispmkii.name=AVRISP mkII 6 | avrispmkii.communication=usb 7 | avrispmkii.protocol=stk500v2 8 | 9 | usbtinyisp.name=USBtinyISP 10 | usbtinyisp.protocol=usbtiny 11 | 12 | parallel.name=Parallel Programmer 13 | parallel.protocol=dapa 14 | parallel.force=true 15 | # parallel.delay=200 16 | 17 | arduinoisp.name=Arduino as ISP 18 | arduinoisp.communication=serial 19 | arduinoisp.protocol=stk500v1 20 | arduinoisp.speed=19200 21 | -------------------------------------------------------------------------------- /Arduino/022/hardware/breadboard/boards.txt: -------------------------------------------------------------------------------- 1 | ############################################################## 2 | 3 | atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock) 4 | 5 | atmega328bb.upload.protocol=stk500 6 | atmega328bb.upload.maximum_size=30720 7 | atmega328bb.upload.speed=57600 8 | 9 | atmega328bb.bootloader.low_fuses=0xE2 10 | atmega328bb.bootloader.high_fuses=0xDA 11 | atmega328bb.bootloader.extended_fuses=0x05 12 | atmega328bb.bootloader.path=arduino:atmega 13 | atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex 14 | atmega328bb.bootloader.unlock_bits=0x3F 15 | atmega328bb.bootloader.lock_bits=0x0F 16 | 17 | atmega328bb.build.mcu=atmega328p 18 | atmega328bb.build.f_cpu=8000000L 19 | atmega328bb.build.core=arduino:arduino 20 | 21 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/bootloaders/empty/empty24at16.hex: -------------------------------------------------------------------------------- 1 | :1000000010C015C014C013C012C011C010C00FC062 2 | :100010000EC00DC00CC00BC00AC009C008C007C08C 3 | :1000200006C011241FBECFEDCDBF02D002C0E8CF65 4 | :06003000FFCFF894FFCFA2 5 | :00000001FF 6 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/bootloaders/empty/empty4313at1.hex: -------------------------------------------------------------------------------- 1 | :1000000014C01BC01AC019C018C017C016C015C034 2 | :1000100014C013C012C011C010C00FC00EC00DC05C 3 | :100020000CC00BC00AC009C008C011241FBECFE518 4 | :10003000D1E0DEBFCDBF02D002C0E2CFFFCFF89447 5 | :02004000FFCFF0 6 | :00000001FF 7 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/bootloaders/empty/empty4313at8.hex: -------------------------------------------------------------------------------- 1 | :1000000014C01BC01AC019C018C017C016C015C034 2 | :1000100014C013C012C011C010C00FC00EC00DC05C 3 | :100020000CC00BC00AC009C008C011241FBECFE518 4 | :10003000D1E0DEBFCDBF02D002C0E2CFFFCFF89447 5 | :02004000FFCFF0 6 | :00000001FF 7 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/bootloaders/empty/empty44at1.hex: -------------------------------------------------------------------------------- 1 | :1000000010C017C016C015C014C013C012C011C054 2 | :1000100010C00FC00EC00DC00CC00BC00AC009C07C 3 | :1000200008C011241FBECFE5D1E0DEBFCDBF02D096 4 | :0A00300002C0E6CFFFCFF894FFCF27 5 | :00000001FF 6 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/bootloaders/empty/empty44at8.hex: -------------------------------------------------------------------------------- 1 | :1000000010C017C016C015C014C013C012C011C054 2 | :1000100010C00FC00EC00DC00CC00BC00AC009C07C 3 | :1000200008C011241FBECFE5D1E0DEBFCDBF02D096 4 | :0A00300002C0E6CFFFCFF894FFCF27 5 | :00000001FF 6 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/bootloaders/empty/empty84at16.hex: -------------------------------------------------------------------------------- 1 | :1000000010C01FC01EC01DC01CC01BC01AC019C01C 2 | :1000100018C017C016C01CC014C013C012C011C035 3 | :1000200010C011241FBECFE5D2E0DEBFCDBF10E06F 4 | :10003000A0E6B0E001C01D92A936B107E1F704D0F7 5 | :1000400063C0DECF089508954CD0FCDFFCDFFECF07 6 | :100050001F920F920FB60F9211242F933F938F93FD 7 | :100060009F93AF93BF938091640090916500A0919E 8 | :100070006600B091670030916800232F2D5F2D3707 9 | :1000800028F02D570296A11DB11D03C00196A11D98 10 | :10009000B11D209368008093640090936500A09345 11 | :1000A0006600B09367008091600090916100A0911C 12 | :1000B0006200B09163000196A11DB11D80936000A4 13 | :1000C00090936100A0936200B0936300BF91AF91E1 14 | :1000D0009F918F913F912F910F900FBE0F901F9086 15 | :1000E0001895789480B7836080BF83B7877F83BF7C 16 | :1000F00083B7887F836083BF89B7816089BF86B1FA 17 | :0C010000876086B9379A0895F894FFCF05 18 | :00000001FF 19 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/bootloaders/empty/empty85at16.hex: -------------------------------------------------------------------------------- 1 | :100000000EC01DC01CC01BC021C019C018C017C025 2 | :1000100016C015C014C013C012C011C010C01124E6 3 | :100020001FBECFE5D2E0DEBFCDBF10E0A0E6B0E05E 4 | :1000300001C01D92A936B107E1F704D064C0E0CF3A 5 | :10004000089508954CD0FCDFFCDFFECF1F920F9285 6 | :100050000FB60F9211242F933F938F939F93AF93DB 7 | :10006000BF938091640090916500A0916600B0916B 8 | :10007000670030916800232F2D5F2D3728F02D5712 9 | :100080000296A11DB11D03C00196A11DB11D2093B3 10 | :1000900068008093640090936500A0936600B0931D 11 | :1000A00067008091600090916100A0916200B09122 12 | :1000B00063000196A11DB11D8093600090936100C3 13 | :1000C000A0936200B0936300BF91AF919F918F9115 14 | :1000D0003F912F910F900FBE0F901F90189578941D 15 | :1000E00080B7806880BF80B7806480BF8CB5806433 16 | :1000F0008CBD8FEF8DBD80B7807F876080BF89B753 17 | :0A010000846089BF0895F894FFCFD2 18 | :00000001FF 19 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/cores/empty/Arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Arduino_h 2 | #define Arduino_h 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/cores/empty/WProgram.h: -------------------------------------------------------------------------------- 1 | #ifndef WProgram_h 2 | #define WProgram_h 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/cores/empty/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | set PATH=%PATH%;C:\Arduino\arduino-1.0\hardware\tools\avr\bin 3 | set PATH=%PATH%;C:\arduino\arduino-1.0\hardware\tools\avr\etc 4 | 5 | cd %TEMP% 6 | dir *.hex /s 7 | 8 | cd C:\Users\BRIANC~1.001\AppData\Local\Temp\build5703187254703185841.tmp 9 | 10 | avr-objdump.exe -S sketch_sep22a.cpp.elf > C:\Temp\dump.cpp & C:\Temp\dump.cpp 11 | */ 12 | 13 | int main(void) 14 | { 15 | for (;;); 16 | return 0; 17 | } 18 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/cores/tiny/Arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Arduino_h 2 | #define Arduino_h 3 | 4 | #include 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/cores/tiny/WConstants.h: -------------------------------------------------------------------------------- 1 | #include "wiring.h" 2 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/cores/tiny/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | init(); 6 | 7 | setup(); 8 | 9 | for (;;) 10 | loop(); 11 | 12 | return 0; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/cores/tiny/pins_arduino.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/hardware/tiny/cores/tiny/pins_arduino.c -------------------------------------------------------------------------------- /Arduino/022/hardware/tiny/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/hardware/tiny/readme.txt -------------------------------------------------------------------------------- /Arduino/022/libraries/AFMotor/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map for AFMotor 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | AF_DCMotor KEYWORD1 10 | AF_Stepper KEYWORD1 11 | 12 | ####################################### 13 | # Methods and Functions (KEYWORD2) 14 | ####################################### 15 | 16 | enable KEYWORD2 17 | run KEYWORD2 18 | setSpeed KEYWORD2 19 | step KEYWORD2 20 | onestep KEYWORD2 21 | release KEYWORD2 22 | 23 | ####################################### 24 | # Constants (LITERAL1) 25 | ####################################### 26 | 27 | MICROSTEPPING LITERAL1 28 | FORWARD LITERAL1 29 | BACKWARD LITERAL1 30 | BRAKE LITERAL1 31 | RELEASE LITERAL1 32 | SINGLE LITERAL1 33 | DOUBLE LITERAL1 34 | INTERLEAVE LITERAL1 35 | MICROSTEP LITERAL1 -------------------------------------------------------------------------------- /Arduino/022/libraries/Button/Examples/Button/Button.pde: -------------------------------------------------------------------------------- 1 | /** 2 | * Button 3 | * by BREVIG http://alexanderbrevig.com 4 | * 5 | * Use a button connected to digital pin 12. 6 | * Digital pin 12 is used as input and connected to a button 7 | * When the button is pressed, the Wiring board LED turn ON, 8 | * the LED turns OFF when the button is released. 9 | * 10 | * This example simulates the switch example 11 | */ 12 | 13 | #include 14 | 15 | /* 16 | Wire like this: 17 | GND -----/ button ------ pin 12 18 | */ 19 | Button button = Button(2,BUTTON_PULLUP_INTERNAL); 20 | 21 | void setup() 22 | { 23 | pinMode(13,OUTPUT); 24 | } 25 | 26 | void loop() 27 | { 28 | if(button.isPressed()) 29 | { 30 | digitalWrite(13,HIGH); 31 | } 32 | else 33 | { 34 | digitalWrite(13,LOW); 35 | } 36 | } -------------------------------------------------------------------------------- /Arduino/022/libraries/ENC28J60/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.swp 3 | *.~ 4 | -------------------------------------------------------------------------------- /Arduino/022/libraries/ENC28J60/Client.h: -------------------------------------------------------------------------------- 1 | #ifndef Client_h 2 | #define Client_h 3 | 4 | #include "Print.h" 5 | #include "utility/socket.h" 6 | 7 | class Client : public Print { 8 | private: 9 | static uint16_t _srcport; 10 | uint8_t _sock; 11 | uint8_t *_ip; 12 | uint16_t _port; 13 | #ifdef ETHERSHIELD_DEBUG 14 | char _DEBUG[80]; 15 | #endif 16 | 17 | public: 18 | Client(uint8_t); 19 | Client(uint8_t *, uint16_t); 20 | uint8_t status(); 21 | uint8_t connect(); 22 | virtual void write(uint8_t); 23 | virtual void write(const char *str); 24 | virtual void write(const uint8_t *buf, size_t size); 25 | int available(); 26 | int read(); 27 | void flush(); 28 | void stop(); 29 | #ifdef ETHERSHIELD_DEBUG 30 | char *debug(); 31 | #endif 32 | uint8_t connected(); 33 | uint8_t operator==(int); 34 | uint8_t operator!=(int); 35 | operator bool(); 36 | friend class Server; 37 | }; 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /Arduino/022/libraries/ENC28J60/Ethernet.h: -------------------------------------------------------------------------------- 1 | #ifndef Ethernet_h 2 | #define Ethernet_h 3 | 4 | #include 5 | #include "Client.h" 6 | #include "Server.h" 7 | extern "C" { 8 | #include "utility/socket.h" 9 | } 10 | 11 | class EthernetClass { 12 | private: 13 | public: 14 | static uint8_t _state[MAX_SOCK_NUM]; 15 | static uint16_t _server_port[MAX_SOCK_NUM]; 16 | void begin(uint8_t *, uint8_t *); 17 | void begin(uint8_t *, uint8_t *, uint8_t *); 18 | void begin(uint8_t *, uint8_t *, uint8_t *, uint8_t *); 19 | #ifdef ETHERSHIELD_DEBUG 20 | uint8_t *returnDebug(); 21 | void clearDebug(); 22 | #endif 23 | friend class Client; 24 | friend class Server; 25 | }; 26 | 27 | extern EthernetClass Ethernet; 28 | 29 | #ifdef ETHERSHIELD_DEBUG 30 | char *debug2str(uint8_t debugCode); 31 | #endif 32 | #endif 33 | -------------------------------------------------------------------------------- /Arduino/022/libraries/ENC28J60/Server.h: -------------------------------------------------------------------------------- 1 | #ifndef Server_h 2 | #define Server_h 3 | 4 | #include "Print.h" 5 | 6 | class Client; 7 | 8 | class Server : public Print { 9 | private: 10 | uint16_t _port; 11 | void accept(); 12 | public: 13 | Server(uint16_t); 14 | Client available(); 15 | void begin(); 16 | virtual void write(uint8_t); 17 | virtual void write(const char *str); 18 | virtual void write(const uint8_t *buf, size_t size); 19 | }; 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /Arduino/022/libraries/ENC28J60/ToDo: -------------------------------------------------------------------------------- 1 | - Put license information 2 | - webserver example with debugging not working (without debugging it works) 3 | - correct connect() -- SYN+ACK is not being received/read (maybe the SYN we are sending is not ok) 4 | - send is not working properly: disconnect that is really sending packets 5 | - recv is not working for length > 1 6 | - if we have a packet size greater than BUFFER_SIZE ... ? 7 | - implement send 8 | - implement connect 9 | -------------------------------------------------------------------------------- /Arduino/022/libraries/ENC28J60/examples/ChatServer/ChatServer.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Chat Server 3 | * 4 | * A simple server that distributes any incoming messages to all 5 | * connected clients. To use telnet to 10.0.0.177 and type! 6 | */ 7 | 8 | #include 9 | 10 | // network configuration. gateway and subnet are optional. 11 | byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; 12 | byte ip[] = { 10, 0, 0, 177 }; 13 | byte gateway[] = { 10, 0, 0, 1 }; 14 | byte subnet[] = { 255, 255, 0, 0 }; 15 | 16 | // telnet defaults to port 23 17 | Server server(23); 18 | 19 | void setup() 20 | { 21 | // initialize the ethernet device 22 | Ethernet.begin(mac, ip, gateway, subnet); 23 | 24 | // start listening for clients 25 | server.begin(); 26 | } 27 | 28 | void loop() 29 | { 30 | Client client = server.available(); 31 | if (client) { 32 | server.write(client.read()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Arduino/022/libraries/ENC28J60/examples/WebClient/WebClient.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; 4 | byte ip[] = { 192, 168, 42, 42 }; 5 | byte server[] = { 192, 168, 42, 1 }; 6 | 7 | Client client(server, 80); 8 | 9 | void setup() { 10 | Ethernet.begin(mac, ip); 11 | Serial.begin(9600); 12 | 13 | delay(1000); 14 | Serial.println("connecting..."); 15 | 16 | if (client.connect()) { 17 | Serial.println("connected"); 18 | client.println("GET /search?q=arduino HTTP/1.0"); 19 | client.println(); 20 | } 21 | else { 22 | Serial.println("connection failed"); 23 | } 24 | } 25 | 26 | void loop() { 27 | if (client.available()) { 28 | char c = client.read(); 29 | Serial.print(c); 30 | } 31 | 32 | if (!client.connected()) { 33 | Serial.println(); 34 | Serial.println("disconnecting."); 35 | client.stop(); 36 | for(;;) 37 | ; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Arduino/022/libraries/ENC28J60/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Ethernet 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | Ethernet KEYWORD1 10 | Client KEYWORD1 11 | Server KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | status KEYWORD2 18 | connect KEYWORD2 19 | write KEYWORD2 20 | available KEYWORD2 21 | read KEYWORD2 22 | flush KEYWORD2 23 | stop KEYWORD2 24 | connected KEYWORD2 25 | begin KEYWORD2 26 | 27 | ####################################### 28 | # Constants (LITERAL1) 29 | ####################################### 30 | 31 | -------------------------------------------------------------------------------- /Arduino/022/libraries/EasyTransfer/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map EasyTransfer 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | EasyTransfer KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | Button KEYWORD2 15 | sendData KEYWORD2 16 | receiveData KEYWORD2 17 | init KEYWORD2 18 | 19 | 20 | ####################################### 21 | # Constants (LITERAL1) 22 | ####################################### 23 | details LITERAL1 24 | -------------------------------------------------------------------------------- /Arduino/022/libraries/EasyTransferI2C/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map EasyTransfer 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | EasyTransferI2C KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | Button KEYWORD2 15 | sendData KEYWORD2 16 | receiveData KEYWORD2 17 | init KEYWORD2 18 | 19 | 20 | ####################################### 21 | # Constants (LITERAL1) 22 | ####################################### 23 | details LITERAL1 24 | -------------------------------------------------------------------------------- /Arduino/022/libraries/FSM/LED_FSM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/FSM/LED_FSM.png -------------------------------------------------------------------------------- /Arduino/022/libraries/FSM/LED_FSM.vsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/FSM/LED_FSM.vsd -------------------------------------------------------------------------------- /Arduino/022/libraries/FSM/keywords.txt: -------------------------------------------------------------------------------- 1 | FiniteStateMachine KEYWORD1 2 | FSM KEYWORD1 3 | State KEYWORD1 4 | 5 | transitionTo KEYWORD2 6 | immediateTransitionTo KEYWORD2 7 | getCurrentState KEYWORD2 8 | isInState KEYWORD2 9 | timeInCurrentState KEYWORD2 10 | enter KEYWORD2 11 | update KEYWORD2 12 | exit KEYWORD2 13 | 14 | NO_ENTER LITERAL1 15 | NO_UPDATE LITERAL1 16 | NO_EXIT LITERAL1 17 | 18 | 19 | -------------------------------------------------------------------------------- /Arduino/022/libraries/IRremote/examples/IRrecvDemo/IRrecvDemo.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * IRremote: IRrecvDemo - demonstrates receiving IR codes with IRrecv 3 | * An IR detector/demodulator must be connected to the input RECV_PIN. 4 | * Version 0.1 July, 2009 5 | * Copyright 2009 Ken Shirriff 6 | * http://arcfn.com 7 | */ 8 | 9 | #include 10 | 11 | int RECV_PIN = 11; 12 | 13 | IRrecv irrecv(RECV_PIN); 14 | 15 | decode_results results; 16 | 17 | void setup() 18 | { 19 | Serial.begin(9600); 20 | irrecv.enableIRIn(); // Start the receiver 21 | } 22 | 23 | void loop() { 24 | if (irrecv.decode(&results)) { 25 | Serial.println(results.value, HEX); 26 | irrecv.resume(); // Receive the next value 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Arduino/022/libraries/IRremote/examples/IRsendDemo/IRsendDemo.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * IRremote: IRsendDemo - demonstrates sending IR codes with IRsend 3 | * An IR LED must be connected to Arduino PWM pin 3. 4 | * Version 0.1 July, 2009 5 | * Copyright 2009 Ken Shirriff 6 | * http://arcfn.com 7 | */ 8 | 9 | #include 10 | 11 | IRsend irsend; 12 | 13 | void setup() 14 | { 15 | Serial.begin(9600); 16 | } 17 | 18 | void loop() { 19 | if (Serial.read() != -1) { 20 | for (int i = 0; i < 3; i++) { 21 | irsend.sendSony(0xa90, 12); // Sony TV power code 22 | delay(100); 23 | } 24 | } 25 | } 26 | 27 | -------------------------------------------------------------------------------- /Arduino/022/libraries/IRremote/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For IRremote 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | decode_results KEYWORD1 10 | IRrecv KEYWORD1 11 | IRsend KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | blink13 KEYWORD2 18 | decode KEYWORD2 19 | enableIRIn KEYWORD2 20 | resume KEYWORD2 21 | enableIROut KEYWORD2 22 | sendNEC KEYWORD2 23 | sendSony KEYWORD2 24 | sendRaw KEYWORD2 25 | sendRC5 KEYWORD2 26 | sendRC6 KEYWORD2 27 | # 28 | ####################################### 29 | # Constants (LITERAL1) 30 | ####################################### 31 | 32 | NEC LITERAL1 33 | SONY LITERAL1 34 | RC5 LITERAL1 35 | RC6 LITERAL1 36 | UNKNOWN LITERAL1 37 | REPEAT LITERAL1 38 | -------------------------------------------------------------------------------- /Arduino/022/libraries/LED/Examples/Blink/Blink.pde: -------------------------------------------------------------------------------- 1 | /* 2 | || 3 | || @file Blink.pde 4 | || @version 1.1 5 | || @author Alexander Brevig 6 | || @contact alexanderbrevig@gmail.com 7 | || 8 | || @description 9 | || | Display the intuitive way of blinking an LED when using this Hardware Abstraction Library 10 | || # 11 | || 12 | || @license 13 | || | Copyright (c) 2009 Alexander Brevig. All rights reserved. 14 | || | This code is subject to AlphaLicence.txt 15 | || | alphabeta.alexanderbrevig.com/AlphaLicense.txt 16 | || # 17 | || 18 | */ 19 | 20 | #include 21 | 22 | //create a LED object at digital pin 13 23 | LED led = LED(13); 24 | 25 | void setup(){/*no setup required*/} 26 | 27 | void loop(){ 28 | led.blink(2000);//on a second, off a second 29 | } 30 | -------------------------------------------------------------------------------- /Arduino/022/libraries/LED/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For LEDs 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | LED KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | getState KEYWORD2 16 | on KEYWORD2 17 | off KEYWORD2 18 | toggle KEYWORD2 19 | blink KEYWORD2 20 | setValue KEYWORD2 21 | fadeIn KEYWORD2 22 | fadeOut KEYWORD2 23 | 24 | ####################################### 25 | # Constants (LITERAL1) 26 | ####################################### 27 | 28 | DEBUG_LED LITERAL1 29 | 30 | 31 | -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For LiquidCrystal 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | LiquidCrystal KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | begin KEYWORD2 16 | clear KEYWORD2 17 | home KEYWORD2 18 | print KEYWORD2 19 | setCursor KEYWORD2 20 | cursor KEYWORD2 21 | noCursor KEYWORD2 22 | blink KEYWORD2 23 | noBlink KEYWORD2 24 | display KEYWORD2 25 | noDisplay KEYWORD2 26 | autoscroll KEYWORD2 27 | noAutoscroll KEYWORD2 28 | leftToRight KEYWORD2 29 | rightToLeft KEYWORD2 30 | scrollDisplayLeft KEYWORD2 31 | scrollDisplayRight KEYWORD2 32 | createChar KEYWORD2 33 | 34 | ####################################### 35 | # Constants (LITERAL1) 36 | ####################################### 37 | 38 | -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/HelloWorld.pde: -------------------------------------------------------------------------------- 1 | //YWROBOT 2 | #include 3 | #include 4 | 5 | LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars and 2 line display 6 | 7 | void setup() 8 | { 9 | lcd.init(); // initialize the lcd 10 | lcd.init(); 11 | // Print a message to the LCD. 12 | lcd.backlight(); 13 | lcd.setCursor(3,0); 14 | lcd.print("Hello, world!"); 15 | lcd.setCursor(2,1); 16 | lcd.print("Ywrobot Arduino!"); 17 | lcd.setCursor(0,2); 18 | lcd.print("Arduino LCM IIC 2004"); 19 | lcd.setCursor(2,3); 20 | lcd.print("Power By Ec-yuan!"); 21 | } 22 | 23 | void loop() 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HardwareSerial.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HardwareSerial.cpp.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp: -------------------------------------------------------------------------------- 1 | //DFRobot.com 2 | #include 3 | #include 4 | 5 | #include "WProgram.h" 6 | void setup(); 7 | void loop(); 8 | LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display 9 | 10 | void setup() 11 | { 12 | lcd.init(); // initialize the lcd 13 | 14 | // Print a message to the LCD. 15 | lcd.backlight(); 16 | lcd.print("Hello, world!"); 17 | } 18 | 19 | void loop() 20 | { 21 | } 22 | 23 | int main(void) 24 | { 25 | init(); 26 | 27 | setup(); 28 | 29 | for (;;) 30 | loop(); 31 | 32 | return 0; 33 | } 34 | 35 | -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp.eep: -------------------------------------------------------------------------------- 1 | :00000001FF 2 | -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp.elf -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Print.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Print.cpp.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/WInterrupts.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/WInterrupts.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/WMath.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/WMath.cpp.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Wire/Wire.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Wire/Wire.cpp.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Wire/utility/twi.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Wire/utility/twi.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/core.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/core.a -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/pins_arduino.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/pins_arduino.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_analog.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_analog.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_digital.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_digital.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_pulse.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_pulse.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_shift.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_shift.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/examples/SerialDisplay/SerialDisplay.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Displays text sent over the serial port (e.g. from the Serial Monitor) on 3 | * an attached LCD. 4 | */ 5 | #include 6 | #include 7 | 8 | LiquidCrystal_I2C lcd(0x20,16,2); // set the LCD address to 0x20 for a 16 chars and 2 line display 9 | 10 | void setup() 11 | { 12 | lcd.init(); // initialize the lcd 13 | lcd.backlight(); 14 | Serial.begin(9600); 15 | } 16 | 17 | void loop() 18 | { 19 | // when characters arrive over the serial port... 20 | if (Serial.available()) { 21 | // wait a bit for the entire message to arrive 22 | delay(100); 23 | // clear the screen 24 | lcd.clear(); 25 | // read all the available characters 26 | while (Serial.available() > 0) { 27 | // display each character to the LCD 28 | lcd.write(Serial.read()); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/info/Image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/info/Image.jpg -------------------------------------------------------------------------------- /Arduino/022/libraries/LiquidCrystal_I2C/info/Schematic_diagram.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/LiquidCrystal_I2C/info/Schematic_diagram.jpg -------------------------------------------------------------------------------- /Arduino/022/libraries/MeetAndroid/examples/SensorGraphTutorial/SensorGraphTutorial.pde: -------------------------------------------------------------------------------- 1 | /* 2 | Sends sensor data to Arduino 3 | (needs SensorGraph and Amarino app installed and running on Android) 4 | */ 5 | 6 | #include 7 | 8 | MeetAndroid meetAndroid; 9 | int sensor = 5; 10 | 11 | void setup() 12 | { 13 | // use the baud rate your bluetooth module is configured to 14 | // not all baud rates are working well, i.e. ATMEGA168 works best with 57600 15 | Serial.begin(57600); 16 | 17 | // we initialize analog pin 5 as an input pin 18 | pinMode(sensor, INPUT); 19 | } 20 | 21 | void loop() 22 | { 23 | meetAndroid.receive(); // you need to keep this in your loop() to receive events 24 | 25 | // read input pin and send result to Android 26 | meetAndroid.send(analogRead(sensor)); 27 | 28 | // add a little delay otherwise the phone is pretty busy 29 | delay(100); 30 | } 31 | 32 | 33 | -------------------------------------------------------------------------------- /Arduino/022/libraries/MeetAndroid/keywords.txt: -------------------------------------------------------------------------------- 1 | MeetAndroid KEYWORD1 2 | flush KEYWORD2 3 | receive KEYWORD2 4 | registerFunction KEYWORD2 5 | unregisterFunction KEYWORD2 6 | bufferLength KEYWORD2 7 | stringLength KEYWORD2 8 | getBuffer KEYWORD2 9 | getString KEYWORD2 10 | getInt KEYWORD2 11 | getLong KEYWORD2 12 | getFloat KEYWORD2 13 | getDouble KEYWORD2 14 | getIntValues KEYWORD2 15 | getFloatValues KEYWORD2 16 | getDoubleValues KEYWORD2 17 | write KEYWORD2 18 | send KEYWORD2 19 | library_version KEYWORD2 -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/NECIRrcv.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/NECIRrcv/NECIRrcv.o -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/WInterrupts.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/WInterrupts.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/pins_arduino.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/pins_arduino.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/printcodes.cpp: -------------------------------------------------------------------------------- 1 | #include "WProgram.h" 2 | // look for IR codes and print them as they are received 3 | 4 | #include 5 | #define IRPIN 4 // pin that IR detector is connected to 6 | 7 | void setup(); 8 | void loop(); 9 | NECIRrcv ir(IRPIN) ; 10 | 11 | void setup() 12 | { 13 | Serial.begin(9600) ; 14 | Serial.println("NEC IR code reception") ; 15 | ir.begin() ; 16 | } 17 | 18 | void loop() 19 | { 20 | unsigned long ircode ; 21 | 22 | while (ir.available()) { 23 | ircode = ir.read() ; 24 | Serial.print("got code: 0x") ; 25 | Serial.println(ircode,HEX) ; 26 | } 27 | } 28 | 29 | int main(void) 30 | { 31 | init(); 32 | 33 | setup(); 34 | 35 | for (;;) 36 | loop(); 37 | 38 | return 0; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring_analog.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring_analog.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring_digital.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring_digital.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring_pulse.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring_pulse.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring_serial.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring_serial.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring_shift.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/NECIRrcv/examples/printcodes/applet/wiring_shift.c.o -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/libraries/NECIRrcv.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/NECIRrcv/examples/printcodes/libraries/NECIRrcv.o -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/libraries/keywords.txt: -------------------------------------------------------------------------------- 1 | NECIRrcv KEYWORD1 2 | blink13 KEYWORD2 -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/examples/printcodes/printcodes.pde: -------------------------------------------------------------------------------- 1 | // look for IR codes and print them as they are received 2 | 3 | #include 4 | #define IRPIN 4 // pin that IR detector is connected to 5 | 6 | NECIRrcv ir(IRPIN) ; 7 | 8 | void setup() 9 | { 10 | Serial.begin(9600) ; 11 | Serial.println("NEC IR code reception") ; 12 | ir.begin() ; 13 | } 14 | 15 | void loop() 16 | { 17 | unsigned long ircode ; 18 | 19 | while (ir.available()) { 20 | ircode = ir.read() ; 21 | Serial.print("got code: 0x") ; 22 | Serial.println(ircode,HEX) ; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Arduino/022/libraries/NECIRrcv/keywords.txt: -------------------------------------------------------------------------------- 1 | NECIRrcv KEYWORD1 2 | blink13 KEYWORD2 -------------------------------------------------------------------------------- /Arduino/022/libraries/PID_v1/Examples/PID_Basic/PID_Basic.pde: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | * PID Basic Example 3 | * Reading analog input 0 to control analog PWM output 3 4 | ********************************************************/ 5 | 6 | #include 7 | 8 | //Define Variables we'll be connecting to 9 | double Setpoint, Input, Output; 10 | 11 | //Specify the links and initial tuning parameters 12 | PID myPID(&Input, &Output, &Setpoint,2,5,1, DIRECT); 13 | 14 | void setup() 15 | { 16 | //initialize the variables we're linked to 17 | Input = analogRead(0); 18 | Setpoint = 100; 19 | 20 | //turn the PID on 21 | myPID.SetMode(AUTOMATIC); 22 | } 23 | 24 | void loop() 25 | { 26 | Input = analogRead(0); 27 | myPID.Compute(); 28 | analogWrite(3,Output); 29 | } 30 | 31 | 32 | -------------------------------------------------------------------------------- /Arduino/022/libraries/PID_v1/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For PID Library 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | PID KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | SetMode KEYWORD2 16 | Compute KEYWORD2 17 | SetOutputLimits KEYWORD2 18 | SetTunings KEYWORD2 19 | SetControllerDirection KEYWORD2 20 | SetSampleTime KEYWORD2 21 | GetKp KEYWORD2 22 | GetKi KEYWORD2 23 | GetKd KEYWORD2 24 | GetMode KEYWORD2 25 | GetDirection KEYWORD2 26 | 27 | ####################################### 28 | # Constants (LITERAL1) 29 | ####################################### 30 | 31 | AUTOMATIC LITERAL1 32 | MANUAL LITERAL1 33 | DIRECT LITERAL1 34 | REVERSE LITERAL1 -------------------------------------------------------------------------------- /Arduino/022/libraries/Robot/Example/Skybot/Skybot.pde: -------------------------------------------------------------------------------- 1 | //Es necesario tener instalada la librería Rueda para un correcto funcionamiento. 2 | #include 3 | #include 4 | #include 5 | //Declaración objeto tipo Robot. 6 | Robot skybot; 7 | 8 | 9 | void setup() 10 | { 11 | /* 12 | Configuración motores 13 | robot.motores(pin_izq,center_izq,pin_dch,center_dch) 14 | pin_izq: indicamos el pin al que está conectado el motor izquierda. 15 | center_izq: indicamo el valor para el cual el servo se para. 16 | pin_dch: indicamos el pin al que está conectado el motor derecha. 17 | center_dch: indicamo el valor para el cual el servo se para. 18 | */ 19 | skybot.motores(8,1560,9,1345); 20 | 21 | Serial.begin(9600); 22 | 23 | } 24 | 25 | void loop(){ 26 | /* 27 | Accionamiento del motor: 28 | en funcion de la escala del -10 al 10 se con distinta velocidad lineal. 29 | */ 30 | skybot.mover(10,10); 31 | } -------------------------------------------------------------------------------- /Arduino/022/libraries/Robot/README: -------------------------------------------------------------------------------- 1 | //----------------- 2 | //-- Librería Robot V1.0 3 | //-- Santiago López Pina, Junio 2012 4 | // 5 | Librería robot, simplifica el uso de la programación con robots. Ver el ejemplo robot.pde para más información sobre el uso de la librería. 6 | 7 | -------------------------------------------------------------------------------- /Arduino/022/libraries/Rueda/Examples/Rueda/Rueda.pde: -------------------------------------------------------------------------------- 1 | //Es necesario incluir librería servo.h 2 | #include 3 | #include 4 | //Declaración objeto tipo rueda 5 | Rueda izquierda; 6 | 7 | void setup() 8 | { 9 | /* 10 | Configuración rueda izquierda: 11 | nombre.attach(pin,center,tipo) 12 | pin: Pin al que está conectado el servo. 13 | center: Valor númerico para el cual, el servo se detiene. 14 | tipo: Motor a la izquierda (0) o a la derecha (1) del robot. 15 | */ 16 | izquierda.attach(8,1600,1); 17 | Serial.begin(9600); 18 | 19 | } 20 | 21 | void loop(){ 22 | //Valor desde -10 a 10 para indicar la velocidad de movimiento de la rueda. 23 | izquierda.set_move(10); 24 | } 25 | 26 | -------------------------------------------------------------------------------- /Arduino/022/libraries/Rueda/README: -------------------------------------------------------------------------------- 1 | //----------------- 2 | //-- Librería Rueda V1.0 3 | //-- Santiago López Pina, Junio 2012 4 | // 5 | Librería rueda, simplifica el uso de la programación con servos trucados para que giren 360º. Ver el ejemplo Rueda.pde para más información sobre el uso de la librería. 6 | 7 | -------------------------------------------------------------------------------- /Arduino/022/libraries/Rueda/Rueda.h: -------------------------------------------------------------------------------- 1 | #ifndef Rueda_h 2 | #define Rueda_h 3 | #include 4 | #include 5 | 6 | class Rueda 7 | { 8 | 9 | public: 10 | Rueda(){}; 11 | void attach(int pin,unsigned int center,bool type); 12 | void set_move(int dir); 13 | 14 | 15 | private: 16 | Servo _servo; 17 | unsigned int _center; 18 | int _dir; 19 | int _pin; 20 | bool _type; 21 | 22 | }; 23 | #endif -------------------------------------------------------------------------------- /Arduino/022/libraries/SRF02/CHANGELOG.txt: -------------------------------------------------------------------------------- 1 | SRF02 Arduino Library Release Notes 2 | (C) 2008-2011 Dirk Grappendorf (www.grappendorf.net) 3 | ================================================================================ 4 | 5 | 6 | Changes in version 1.0 (2008.11.12) 7 | ----------------------------------- 8 | 9 | - Initial release. 10 | 11 | 12 | Changes in version 1.1 (2009.01.01) 13 | ----------------------------------- 14 | 15 | - Bug fixes. 16 | 17 | 18 | Changes in version 1.2 (2010.01.01) 19 | ----------------------------------- 20 | 21 | - Bug fixes. 22 | 23 | Changes in version 1.3 (2010.01.01) 24 | ----------------------------------- 25 | 26 | - Setting the measurement interval to 0 disables measurement updates. 27 | -------------------------------------------------------------------------------- /Arduino/022/libraries/SRF02/Wire/examples/master_reader/master_reader.pde: -------------------------------------------------------------------------------- 1 | // Wire Master Reader 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Reads data from an I2C/TWI slave device 6 | // Refer to the "Wire Slave Sender" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(); // join i2c bus (address optional for master) 18 | Serial.begin(9600); // start serial for output 19 | } 20 | 21 | void loop() 22 | { 23 | Wire.requestFrom(2, 6); // request 6 bytes from slave device #2 24 | 25 | while(Wire.available()) // slave may send less than requested 26 | { 27 | char c = Wire.receive(); // receive a byte as character 28 | Serial.print(c); // print the character 29 | } 30 | 31 | delay(500); 32 | } 33 | -------------------------------------------------------------------------------- /Arduino/022/libraries/SRF02/Wire/examples/master_writer/master_writer.pde: -------------------------------------------------------------------------------- 1 | // Wire Master Writer 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Writes data to an I2C/TWI slave device 6 | // Refer to the "Wire Slave Receiver" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(); // join i2c bus (address optional for master) 18 | } 19 | 20 | byte x = 0; 21 | 22 | void loop() 23 | { 24 | Wire.beginTransmission(4); // transmit to device #4 25 | Wire.send("x is "); // sends five bytes 26 | Wire.send(x); // sends one byte 27 | Wire.endTransmission(); // stop transmitting 28 | 29 | x++; 30 | delay(500); 31 | } 32 | -------------------------------------------------------------------------------- /Arduino/022/libraries/SRF02/Wire/examples/slave_sender/slave_sender.pde: -------------------------------------------------------------------------------- 1 | // Wire Slave Sender 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Sends data as an I2C/TWI slave device 6 | // Refer to the "Wire Master Reader" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(2); // join i2c bus with address #2 18 | Wire.onRequest(requestEvent); // register event 19 | } 20 | 21 | void loop() 22 | { 23 | delay(100); 24 | } 25 | 26 | // function that executes whenever data is requested by master 27 | // this function is registered as an event, see setup() 28 | void requestEvent() 29 | { 30 | Wire.send("hello "); // respond with message of 6 bytes 31 | // as expected by master 32 | } 33 | -------------------------------------------------------------------------------- /Arduino/022/libraries/SRF02/Wire/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Wire 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ####################################### 10 | # Methods and Functions (KEYWORD2) 11 | ####################################### 12 | 13 | begin KEYWORD2 14 | beginTransmission KEYWORD2 15 | endTransmission KEYWORD2 16 | requestFrom KEYWORD2 17 | send KEYWORD2 18 | receive KEYWORD2 19 | onReceive KEYWORD2 20 | onRequest KEYWORD2 21 | 22 | ####################################### 23 | # Instances (KEYWORD2) 24 | ####################################### 25 | 26 | Wire KEYWORD2 27 | 28 | ####################################### 29 | # Constants (LITERAL1) 30 | ####################################### 31 | 32 | -------------------------------------------------------------------------------- /Arduino/022/libraries/SRF02/keywords.txt: -------------------------------------------------------------------------------- 1 | SRF02 KEYWORD1 2 | update KEYWORD2 3 | read KEYWORD2 4 | setInterval KEYWORD2 5 | configureDeviceId KEYWORD2 6 | -------------------------------------------------------------------------------- /Arduino/022/libraries/SRF02/version.txt: -------------------------------------------------------------------------------- 1 | 1.3 2 | -------------------------------------------------------------------------------- /Arduino/022/libraries/Servo/examples/Knob/Knob.pde: -------------------------------------------------------------------------------- 1 | // Controlling a servo position using a potentiometer (variable resistor) 2 | // by Michal Rinott 3 | 4 | #include 5 | 6 | Servo myservo; // create servo object to control a servo 7 | 8 | int potpin = 0; // analog pin used to connect the potentiometer 9 | int val; // variable to read the value from the analog pin 10 | 11 | void setup() 12 | { 13 | myservo.attach(9); // attaches the servo on pin 9 to the servo object 14 | } 15 | 16 | void loop() 17 | { 18 | val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023) 19 | val = map(val, 0, 1023, 0, 179); // scale it to use it with the servo (value between 0 and 180) 20 | myservo.write(val); // sets the servo position according to the scaled value 21 | delay(15); // waits for the servo to get there 22 | } 23 | -------------------------------------------------------------------------------- /Arduino/022/libraries/Servo/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map Servo 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | Servo KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | attach KEYWORD2 15 | detach KEYWORD2 16 | write KEYWORD2 17 | read KEYWORD2 18 | attached KEYWORD2 19 | writeMicroseconds KEYWORD2 20 | readMicroseconds KEYWORD2 21 | 22 | ####################################### 23 | # Constants (LITERAL1) 24 | ####################################### 25 | -------------------------------------------------------------------------------- /Arduino/022/libraries/Servo8Bit/Readme.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | Version History 4 | --------------- 5 | 0.6 -Added ability to easily select if this driver should use timer0 or 6 | timer1. 7 | -Timer1 is now the default timer used. Used to be timer0. 8 | -Made the timer init happen later to allow this driver to work when 9 | used with an attiny arduino library. 10 | -Fixed bug where a 512 microsecond pulse would not be generated. 11 | 12 | 0.5 -Initial public release 13 | 14 | 15 | 16 | 17 | Short Guide On How To Compile 18 | ------------------------------ 19 | 1) Make sure you have WinAvr installed (http://winavr.sourceforge.net/) 20 | 2) open a CMD window and navigate to the Servo8Bit folder 21 | 3) type in "make" in the CMD window and the code will be compiled 22 | 4) type in "make program" to program your Attiny. This assumes you are using a 23 | usb programmer (such as the AVRISP mkII). -------------------------------------------------------------------------------- /Arduino/022/libraries/ServoTimer1/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map Servo 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | Servo KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | attach KEYWORD2 15 | detach KEYWORD2 16 | write KEYWORD2 17 | read KEYWORD2 18 | attached KEYWORD2 19 | setMinimumPulse KEYWORD2 20 | setMaximumPulse KEYWORD2 21 | refresh KEYWORD2 22 | 23 | ####################################### 24 | # Constants (LITERAL1) 25 | ####################################### 26 | -------------------------------------------------------------------------------- /Arduino/022/libraries/SoftwareSerial/Examples/SoftwareSerialExample/SoftwareSerialExample.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | SoftwareSerial mySerial(2, 3); 4 | 5 | void setup() 6 | { 7 | Serial.begin(57600); 8 | Serial.println("Goodnight moon!"); 9 | 10 | // set the data rate for the SoftwareSerial port 11 | mySerial.begin(4800); 12 | mySerial.println("Hello, world?"); 13 | } 14 | 15 | void loop() // run over and over 16 | { 17 | if (mySerial.available()) 18 | Serial.print((char)mySerial.read()); 19 | if (Serial.available()) 20 | mySerial.print((char)Serial.read()); 21 | } 22 | -------------------------------------------------------------------------------- /Arduino/022/libraries/SoftwareSerial/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map for NewSoftSerial 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | NewSoftSerial KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | begin KEYWORD2 16 | end KEYWORD2 17 | read KEYWORD2 18 | available KEYWORD2 19 | is_listening KEYWORD2 20 | overflow KEYWORD2 21 | library_version KEYWORD2 22 | enable_timer0 KEYWORD2 23 | flush KEYWORD2 24 | listen KEYWORD2 25 | 26 | ####################################### 27 | # Constants (LITERAL1) 28 | ####################################### 29 | 30 | -------------------------------------------------------------------------------- /Arduino/022/libraries/SoftwareServo/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map SoftwareServo 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | SoftwareServo KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | attach KEYWORD2 15 | detach KEYWORD2 16 | write KEYWORD2 17 | read KEYWORD2 18 | attached KEYWORD2 19 | setMinimumPulse KEYWORD2 20 | setMaximumPulse KEYWORD2 21 | refresh KEYWORD2 22 | 23 | ####################################### 24 | # Constants (LITERAL1) 25 | ####################################### 26 | -------------------------------------------------------------------------------- /Arduino/022/libraries/TimerThree/keywords.txt: -------------------------------------------------------------------------------- 1 | Timer3 KEYWORD2 2 | TimerThree KEYWORD1 3 | initialize KEYWORD2 4 | start KEYWORD2 5 | stop KEYWORD2 6 | restart KEYWORD2 7 | pwm KEYWORD2 8 | disablePwm KEYWORD2 9 | attachInterrupt KEYWORD2 10 | detachInterrupt KEYWORD2 11 | setPeriod KEYWORD2 12 | setPwmDuty KEYWORD2 13 | isrCallback KEYWORD2 14 | -------------------------------------------------------------------------------- /Arduino/022/libraries/TinyWireM/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For TinyWireM 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ####################################### 10 | # Methods and Functions (KEYWORD2) 11 | ####################################### 12 | 13 | begin KEYWORD2 14 | beginTransmission KEYWORD2 15 | endTransmission KEYWORD2 16 | requestFrom KEYWORD2 17 | send KEYWORD2 18 | receive KEYWORD2 19 | 20 | ####################################### 21 | # Instances (KEYWORD2) 22 | ####################################### 23 | 24 | TinyWireM KEYWORD2 25 | 26 | ####################################### 27 | # Constants (LITERAL1) 28 | ####################################### 29 | 30 | -------------------------------------------------------------------------------- /Arduino/022/libraries/TinyWireS/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For TinyWireS 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ####################################### 10 | # Methods and Functions (KEYWORD2) 11 | ####################################### 12 | 13 | begin KEYWORD2 14 | send KEYWORD2 15 | available KEYWORD2 16 | receive KEYWORD2 17 | 18 | ####################################### 19 | # Instances (KEYWORD2) 20 | ####################################### 21 | 22 | TinyWireS KEYWORD2 23 | 24 | ####################################### 25 | # Constants (LITERAL1) 26 | ####################################### 27 | 28 | -------------------------------------------------------------------------------- /Arduino/022/libraries/Tone/changelog.txt: -------------------------------------------------------------------------------- 1 | $Id: changelog.txt 120 2010-07-17 19:01:15Z bhagman@roguerobotics.com $ 2 | 3 | Tone Library 4 | 5 | Version Modified By Date Comments 6 | ------- ----------- -------- -------- 7 | 0001 B Hagman 09/08/02 Initial coding 8 | 0002 B Hagman 09/08/18 Fixed: Multiple pins. 9 | 0003 B Hagman 09/08/18 Fixed: Moved initialization from constructor to 10 | begin(). 11 | 0004 B Hagman 09/09/26 Fixed: Problems with ATmega8. 12 | 0005 B Hagman 09/11/23 Fixed: Scanned prescalars for best fit on 8 bit 13 | timers 14 | 09/11/25 Fixed: Pin toggle method to XOR. 15 | 09/11/25 Fixed: timer0 from being excluded. 16 | 0006 B Hagman 10/03/21 Fixed: License updates, minor fixes. 17 | B Hagman 10/07/17 Fixed: (more) problems with ATmega8 (thanks to Pete62) 18 | -------------------------------------------------------------------------------- /Arduino/022/libraries/USB_Host_Shield/README: -------------------------------------------------------------------------------- 1 | This is a library for MAX3421E-based USB Host Shield for Arduino -> http://www.circuitsathome.com/arduino_usb_host_shield_projects 2 | 3 | More information can be found at http://www.circuitsathome.com 4 | 5 | -------------------------------------------------------------------------------- /Arduino/022/libraries/Ultrasonic/Ultrasonic.cpp: -------------------------------------------------------------------------------- 1 | // Ultrasonic - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | #include "WProgram.h" 6 | #include "Ultrasonic.h" 7 | 8 | Ultrasonic::Ultrasonic(int TP, int EP) 9 | { 10 | pinMode(TP,OUTPUT); 11 | pinMode(EP,INPUT); 12 | Trig_pin=TP; 13 | Echo_pin=EP; 14 | } 15 | 16 | long Ultrasonic::Timing() 17 | { 18 | digitalWrite(Trig_pin, LOW); 19 | delayMicroseconds(2); 20 | digitalWrite(Trig_pin, HIGH); 21 | delayMicroseconds(10); 22 | digitalWrite(Trig_pin, LOW); 23 | duration = pulseIn(Echo_pin,HIGH,30000); 24 | if ( duration == 0 ) {duration = 30000;} 25 | return duration; 26 | } 27 | 28 | long Ultrasonic::Ranging(int sys) 29 | { 30 | Timing(); 31 | distacne_cm = duration /29 / 2 ; 32 | distance_inc = duration / 74 / 2; 33 | if (sys) 34 | return distacne_cm; 35 | else 36 | return distance_inc; 37 | } -------------------------------------------------------------------------------- /Arduino/022/libraries/Ultrasonic/Ultrasonic.h: -------------------------------------------------------------------------------- 1 | // Ultrasonic - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | 6 | #ifndef Ultrasonic_h 7 | #define Ultrasonic_h 8 | 9 | #include "WProgram.h" 10 | 11 | #define CM 1 12 | #define INC 0 13 | 14 | class Ultrasonic 15 | { 16 | public: 17 | Ultrasonic(int TP, int EP); 18 | long Timing(); 19 | long Ranging(int sys); 20 | 21 | private: 22 | int Trig_pin; 23 | int Echo_pin; 24 | long duration,distacne_cm,distance_inc; 25 | 26 | }; 27 | 28 | #endif -------------------------------------------------------------------------------- /Arduino/022/libraries/Ultrasonic/examples/LCD/LCD.pde: -------------------------------------------------------------------------------- 1 | // Ultrasonic.h - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | #include 6 | #include 7 | LiquidCrystal lcd(12, 11, 5, 4, 3, 2); 8 | Ultrasonic ultrasonic(9,8); // (Trig PIN,Echo PIN) 9 | 10 | void setup() { 11 | lcd.begin(16, 2); 12 | } 13 | 14 | void loop() 15 | { 16 | lcd.clear(); 17 | lcd.setCursor(0, 0); 18 | lcd.print(ultrasonic.Ranging(CM)); // CM or INC 19 | lcd.print("cm"); 20 | delay(100); 21 | } -------------------------------------------------------------------------------- /Arduino/022/libraries/Ultrasonic/examples/Serial/Serial.pde: -------------------------------------------------------------------------------- 1 | // Ultrasonic.h - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | #include 6 | Ultrasonic ultrasonic(9,8); // (Trig PIN,Echo PIN) 7 | 8 | void setup() { 9 | Serial.begin(9600); 10 | } 11 | 12 | void loop() 13 | { 14 | Serial.print(ultrasonic.Ranging(CM)); // CM or INC 15 | Serial.println(" cm" ); 16 | delay(100); 17 | } -------------------------------------------------------------------------------- /Arduino/022/libraries/ethercard/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.esproj 3 | /html 4 | -------------------------------------------------------------------------------- /Arduino/022/libraries/ethercard/Doxylogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/022/libraries/ethercard/Doxylogo.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Configuracion/capitulo1.tex: -------------------------------------------------------------------------------- 1 | % Les têtes de chapitre sont définies ainsi 2 | \makeatletter 3 | \def\@makechapterhead#1{% 4 | \vspace*{20\p@}% 5 | {\parindent \z@ \raggedright 6 | \normalfont 7 | \ifnum \c@secnumdepth >\m@ne 8 | \if@mainmatter 9 | %\huge\bfseries 10 | \scshape 11 | \@chapapp\space \thechapter 12 | \par\nobreak 13 | % \vskip 20\p@ 14 | \fi 15 | \fi 16 | \interlinepenalty\@M 17 | \Huge \bfseries #1\par\nobreak 18 | \vskip 40\p@ 19 | }} 20 | \def\@schapter#1{\if@twocolumn 21 | \@topnewpage[\@makeschapterhead{#1}]% 22 | \else 23 | \@makeschapterhead{#1}% 24 | \@afterheading 25 | \fi} 26 | \def\@makeschapterhead#1{% 27 | \vspace*{20\p@}% 28 | {\parindent \z@ \raggedright 29 | \normalfont 30 | \scshape 31 | \interlinepenalty\@M 32 | \Huge \bfseries #1\par\nobreak 33 | \vskip 40\p@ 34 | }} -------------------------------------------------------------------------------- /Arduino/Documentacion/Documento.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Documento.idx -------------------------------------------------------------------------------- /Arduino/Documentacion/Documento.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Documento.pdf -------------------------------------------------------------------------------- /Arduino/Documentacion/Documento.synctex.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Documento.synctex.gz -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img01.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img02.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img03.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img04.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img05.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img06.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img07.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img10.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img12.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img13.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img14.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img15.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img16.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Documentos/ArduinoNotebook_img17.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Imagenes/Portada/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Imagenes/Portada/logo.png -------------------------------------------------------------------------------- /Arduino/Documentacion/Portada/portada.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Portada/portada.log -------------------------------------------------------------------------------- /Arduino/Documentacion/Portada/portada.tex: -------------------------------------------------------------------------------- 1 | \begin{center} 2 | \thispagestyle{empty} 3 | \begin{center} 4 | \begin{figure}[h] 5 | \centering 6 | \includegraphics[width=100pt]{./Imagenes/Portada/logo.png} 7 | \end{figure} 8 | \end{center} 9 | \bigskip 10 | \bigskip 11 | \bigskip 12 | \bigskip 13 | \bigskip 14 | %\underline{\large{Documentación}}\\%En esta línea poner qué trabajo es.\\ 15 | \end{center} -------------------------------------------------------------------------------- /Arduino/Documentacion/Textos/capitulo10.tex: -------------------------------------------------------------------------------- 1 | \chapter{Matemática} 2 | \section{min(x, y)} 3 | 4 | Calcula el mínimo de dos números para cualquier tipo de datos devolviendo el menor de ellos. 5 | \begin{lstlisting} 6 | valor = min(valor, 100); // asigna a 'valor' el minimo 7 | // de los dos numeros especificados. 8 | \end{lstlisting} 9 | Si valor es menor que 100, valor recogerá su propio valor. Si valor es mayor que 100, valor pasará a valer 100. 10 | \section{max(x, y)} 11 | 12 | Calcula el máximo de dos números para cualquier tipo de datos devolviendo el número mayor ellos. 13 | \begin{lstlisting} 14 | valor = max(valor, 100); // asigna a 'valor' el mayor de 15 | // los dos numeros 'valor' y 100. 16 | \end{lstlisting} 17 | De esta manera nos aseguramos de que valor será como mínimo 100. -------------------------------------------------------------------------------- /Arduino/Documentacion/Textos/capitulo14.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Textos/capitulo14.log -------------------------------------------------------------------------------- /Arduino/Documentacion/Textos/capitulo9.tex: -------------------------------------------------------------------------------- 1 | \chapter{Tiempo} 2 | \section{delay(ms)} 3 | 4 | Detiene la ejecución del programa la cantidad de tiempo en milisegundos que se indica en la propia instrucción. De tal manera que 1000 equivale a 1 segundo. 5 | \begin{lstlisting} 6 | delay(1000); // espera 1 segundo 7 | \end{lstlisting} 8 | 9 | \section{millis()} 10 | 11 | Devuelve el número de milisegundos transcurrido desde el inicio del programa en Arduino hasta el momento actual. Normalmente será un valor grande (dependiendo del tiempo que este en marcha la aplicación después de cargada o después de la última vez que se pulsó el botón reset de la tarjeta). 12 | \begin{lstlisting} 13 | valor = millis(); // valor recoge el numero de 14 | // milisegundos 15 | \end{lstlisting} 16 | \textbf{Nota}: Este número se desbordará (si no se resetea de nuevo a cero), después de aproximadamente 49 días. -------------------------------------------------------------------------------- /Arduino/Documentacion/Textos/teoria.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/Documentacion/Textos/teoria.log -------------------------------------------------------------------------------- /Arduino/hardware/Gen7/cores/arduino/WConstants.h: -------------------------------------------------------------------------------- 1 | #include "wiring.h" 2 | -------------------------------------------------------------------------------- /Arduino/hardware/Gen7/cores/arduino/WProgram.h: -------------------------------------------------------------------------------- 1 | #ifndef WProgram_h 2 | #define WProgram_h 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | #include 9 | 10 | #include "wiring.h" 11 | 12 | #ifdef __cplusplus 13 | #include "WCharacter.h" 14 | #include "WString.h" 15 | #include "HardwareSerial.h" 16 | 17 | uint16_t makeWord(uint16_t w); 18 | uint16_t makeWord(byte h, byte l); 19 | 20 | #define word(...) makeWord(__VA_ARGS__) 21 | 22 | unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L); 23 | 24 | void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0); 25 | void noTone(uint8_t _pin); 26 | 27 | // WMath prototypes 28 | long random(long); 29 | long random(long, long); 30 | void randomSeed(unsigned int); 31 | long map(long, long, long, long, long); 32 | #endif 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /Arduino/hardware/Gen7/cores/arduino/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | init(); 6 | 7 | setup(); 8 | 9 | for (;;) 10 | loop(); 11 | 12 | return 0; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /Arduino/hardware/Gen7/cores/arduino/main.cxx: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | init(); 4 | 5 | setup(); 6 | 7 | for (;;) 8 | loop(); 9 | 10 | return 0; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /Arduino/hardware/Sanguino/boards.txt: -------------------------------------------------------------------------------- 1 | ############################################################## 2 | 3 | sanguino.name=Sanguino 4 | sanguino.upload.protocol=stk500 5 | sanguino.upload.maximum_size=63488 6 | sanguino.upload.speed=38400 7 | sanguino.bootloader.low_fuses=0xFF 8 | sanguino.bootloader.high_fuses=0xDC 9 | sanguino.bootloader.extended_fuses=0xFD 10 | sanguino.bootloader.path=atmega644p 11 | sanguino.bootloader.file=ATmegaBOOT_644P.hex 12 | sanguino.bootloader.unlock_bits=0x3F 13 | sanguino.bootloader.lock_bits=0x0F 14 | sanguino.build.mcu=atmega644p 15 | sanguino.build.f_cpu=16000000L 16 | sanguino.build.core=arduino 17 | -------------------------------------------------------------------------------- /Arduino/hardware/Sanguino/bootloaders/atmega644p/README.txt: -------------------------------------------------------------------------------- 1 | Note: This bootloader support ATmega644, ATmega644P and ATmega324P. 2 | To build, set PROGRAM and MCU_TARGET in the Makefile according to your target device. 3 | 4 | -------------------------------------------------------------------------------- /Arduino/hardware/Sanguino/cores/arduino/WConstants.h: -------------------------------------------------------------------------------- 1 | #include "wiring.h" 2 | -------------------------------------------------------------------------------- /Arduino/hardware/Sanguino/cores/arduino/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | init(); 6 | 7 | setup(); 8 | 9 | for (;;) 10 | loop(); 11 | 12 | return 0; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /Arduino/hardware/Sanguino/programmers.txt: -------------------------------------------------------------------------------- 1 | avrisp.name=AVR ISP 2 | avrisp.communication=serial 3 | avrisp.protocol=stk500v1 4 | 5 | avrispmkii.name=AVRISP mkII 6 | avrispmkii.communication=usb 7 | avrispmkii.protocol=stk500v2 8 | 9 | usbtinyisp.name=USBtinyISP 10 | usbtinyisp.protocol=usbtiny 11 | 12 | parallel.name=Parallel Programmer 13 | parallel.protocol=dapa 14 | parallel.force=true 15 | # parallel.delay=200 16 | 17 | arduinoisp.name=Arduino as ISP 18 | arduinoisp.communication=serial 19 | arduinoisp.protocol=stk500v1 20 | arduinoisp.speed=19200 21 | -------------------------------------------------------------------------------- /Arduino/hardware/breadboard/boards.txt: -------------------------------------------------------------------------------- 1 | ############################################################## 2 | 3 | atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock) 4 | 5 | atmega328bb.upload.protocol=stk500 6 | atmega328bb.upload.maximum_size=30720 7 | atmega328bb.upload.speed=57600 8 | 9 | atmega328bb.bootloader.low_fuses=0xE2 10 | atmega328bb.bootloader.high_fuses=0xDA 11 | atmega328bb.bootloader.extended_fuses=0x05 12 | atmega328bb.bootloader.path=arduino:atmega 13 | atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex 14 | atmega328bb.bootloader.unlock_bits=0x3F 15 | atmega328bb.bootloader.lock_bits=0x0F 16 | 17 | atmega328bb.build.mcu=atmega328p 18 | atmega328bb.build.f_cpu=8000000L 19 | atmega328bb.build.core=arduino:arduino 20 | 21 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/bootloaders/empty/empty24at16.hex: -------------------------------------------------------------------------------- 1 | :1000000010C015C014C013C012C011C010C00FC062 2 | :100010000EC00DC00CC00BC00AC009C008C007C08C 3 | :1000200006C011241FBECFEDCDBF02D002C0E8CF65 4 | :06003000FFCFF894FFCFA2 5 | :00000001FF 6 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/bootloaders/empty/empty4313at1.hex: -------------------------------------------------------------------------------- 1 | :1000000014C01BC01AC019C018C017C016C015C034 2 | :1000100014C013C012C011C010C00FC00EC00DC05C 3 | :100020000CC00BC00AC009C008C011241FBECFE518 4 | :10003000D1E0DEBFCDBF02D002C0E2CFFFCFF89447 5 | :02004000FFCFF0 6 | :00000001FF 7 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/bootloaders/empty/empty4313at8.hex: -------------------------------------------------------------------------------- 1 | :1000000014C01BC01AC019C018C017C016C015C034 2 | :1000100014C013C012C011C010C00FC00EC00DC05C 3 | :100020000CC00BC00AC009C008C011241FBECFE518 4 | :10003000D1E0DEBFCDBF02D002C0E2CFFFCFF89447 5 | :02004000FFCFF0 6 | :00000001FF 7 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/bootloaders/empty/empty44at1.hex: -------------------------------------------------------------------------------- 1 | :1000000010C017C016C015C014C013C012C011C054 2 | :1000100010C00FC00EC00DC00CC00BC00AC009C07C 3 | :1000200008C011241FBECFE5D1E0DEBFCDBF02D096 4 | :0A00300002C0E6CFFFCFF894FFCF27 5 | :00000001FF 6 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/bootloaders/empty/empty44at8.hex: -------------------------------------------------------------------------------- 1 | :1000000010C017C016C015C014C013C012C011C054 2 | :1000100010C00FC00EC00DC00CC00BC00AC009C07C 3 | :1000200008C011241FBECFE5D1E0DEBFCDBF02D096 4 | :0A00300002C0E6CFFFCFF894FFCF27 5 | :00000001FF 6 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/bootloaders/empty/empty84at16.hex: -------------------------------------------------------------------------------- 1 | :1000000010C01FC01EC01DC01CC01BC01AC019C01C 2 | :1000100018C017C016C01CC014C013C012C011C035 3 | :1000200010C011241FBECFE5D2E0DEBFCDBF10E06F 4 | :10003000A0E6B0E001C01D92A936B107E1F704D0F7 5 | :1000400063C0DECF089508954CD0FCDFFCDFFECF07 6 | :100050001F920F920FB60F9211242F933F938F93FD 7 | :100060009F93AF93BF938091640090916500A0919E 8 | :100070006600B091670030916800232F2D5F2D3707 9 | :1000800028F02D570296A11DB11D03C00196A11D98 10 | :10009000B11D209368008093640090936500A09345 11 | :1000A0006600B09367008091600090916100A0911C 12 | :1000B0006200B09163000196A11DB11D80936000A4 13 | :1000C00090936100A0936200B0936300BF91AF91E1 14 | :1000D0009F918F913F912F910F900FBE0F901F9086 15 | :1000E0001895789480B7836080BF83B7877F83BF7C 16 | :1000F00083B7887F836083BF89B7816089BF86B1FA 17 | :0C010000876086B9379A0895F894FFCF05 18 | :00000001FF 19 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/bootloaders/empty/empty85at16.hex: -------------------------------------------------------------------------------- 1 | :100000000EC01DC01CC01BC021C019C018C017C025 2 | :1000100016C015C014C013C012C011C010C01124E6 3 | :100020001FBECFE5D2E0DEBFCDBF10E0A0E6B0E05E 4 | :1000300001C01D92A936B107E1F704D064C0E0CF3A 5 | :10004000089508954CD0FCDFFCDFFECF1F920F9285 6 | :100050000FB60F9211242F933F938F939F93AF93DB 7 | :10006000BF938091640090916500A0916600B0916B 8 | :10007000670030916800232F2D5F2D3728F02D5712 9 | :100080000296A11DB11D03C00196A11DB11D2093B3 10 | :1000900068008093640090936500A0936600B0931D 11 | :1000A00067008091600090916100A0916200B09122 12 | :1000B00063000196A11DB11D8093600090936100C3 13 | :1000C000A0936200B0936300BF91AF919F918F9115 14 | :1000D0003F912F910F900FBE0F901F90189578941D 15 | :1000E00080B7806880BF80B7806480BF8CB5806433 16 | :1000F0008CBD8FEF8DBD80B7807F876080BF89B753 17 | :0A010000846089BF0895F894FFCFD2 18 | :00000001FF 19 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/cores/empty/Arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Arduino_h 2 | #define Arduino_h 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/cores/empty/WProgram.h: -------------------------------------------------------------------------------- 1 | #ifndef WProgram_h 2 | #define WProgram_h 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/cores/empty/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | set PATH=%PATH%;C:\Arduino\arduino-1.0\hardware\tools\avr\bin 3 | set PATH=%PATH%;C:\arduino\arduino-1.0\hardware\tools\avr\etc 4 | 5 | cd %TEMP% 6 | dir *.hex /s 7 | 8 | cd C:\Users\BRIANC~1.001\AppData\Local\Temp\build5703187254703185841.tmp 9 | 10 | avr-objdump.exe -S sketch_sep22a.cpp.elf > C:\Temp\dump.cpp & C:\Temp\dump.cpp 11 | */ 12 | 13 | int main(void) 14 | { 15 | for (;;); 16 | return 0; 17 | } 18 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/cores/tiny/Arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Arduino_h 2 | #define Arduino_h 3 | 4 | #include 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/cores/tiny/WConstants.h: -------------------------------------------------------------------------------- 1 | #include "wiring.h" 2 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/cores/tiny/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | init(); 6 | 7 | setup(); 8 | 9 | for (;;) 10 | loop(); 11 | 12 | return 0; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /Arduino/hardware/tiny/cores/tiny/pins_arduino.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/hardware/tiny/cores/tiny/pins_arduino.c -------------------------------------------------------------------------------- /Arduino/hardware/tiny/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/hardware/tiny/readme.txt -------------------------------------------------------------------------------- /Arduino/libraries/AFMotor/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map for AFMotor 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | AF_DCMotor KEYWORD1 10 | AF_Stepper KEYWORD1 11 | 12 | ####################################### 13 | # Methods and Functions (KEYWORD2) 14 | ####################################### 15 | 16 | enable KEYWORD2 17 | run KEYWORD2 18 | setSpeed KEYWORD2 19 | step KEYWORD2 20 | onestep KEYWORD2 21 | release KEYWORD2 22 | 23 | ####################################### 24 | # Constants (LITERAL1) 25 | ####################################### 26 | 27 | MICROSTEPPING LITERAL1 28 | FORWARD LITERAL1 29 | BACKWARD LITERAL1 30 | BRAKE LITERAL1 31 | RELEASE LITERAL1 32 | SINGLE LITERAL1 33 | DOUBLE LITERAL1 34 | INTERLEAVE LITERAL1 35 | MICROSTEP LITERAL1 -------------------------------------------------------------------------------- /Arduino/libraries/Button/Examples/Button/Button.pde: -------------------------------------------------------------------------------- 1 | /** 2 | * Button 3 | * by BREVIG http://alexanderbrevig.com 4 | * 5 | * Use a button connected to digital pin 12. 6 | * Digital pin 12 is used as input and connected to a button 7 | * When the button is pressed, the Wiring board LED turn ON, 8 | * the LED turns OFF when the button is released. 9 | * 10 | * This example simulates the switch example 11 | */ 12 | 13 | #include 14 | 15 | /* 16 | Wire like this: 17 | GND -----/ button ------ pin 12 18 | */ 19 | Button button = Button(2,BUTTON_PULLUP_INTERNAL); 20 | 21 | void setup() 22 | { 23 | pinMode(13,OUTPUT); 24 | } 25 | 26 | void loop() 27 | { 28 | if(button.isPressed()) 29 | { 30 | digitalWrite(13,HIGH); 31 | } 32 | else 33 | { 34 | digitalWrite(13,LOW); 35 | } 36 | } -------------------------------------------------------------------------------- /Arduino/libraries/ENC28J60/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.swp 3 | *.~ 4 | -------------------------------------------------------------------------------- /Arduino/libraries/ENC28J60/Client.h: -------------------------------------------------------------------------------- 1 | #ifndef Client_h 2 | #define Client_h 3 | 4 | #include "Print.h" 5 | #include "utility/socket.h" 6 | 7 | class Client : public Print { 8 | private: 9 | static uint16_t _srcport; 10 | uint8_t _sock; 11 | uint8_t *_ip; 12 | uint16_t _port; 13 | #ifdef ETHERSHIELD_DEBUG 14 | char _DEBUG[80]; 15 | #endif 16 | 17 | public: 18 | Client(uint8_t); 19 | Client(uint8_t *, uint16_t); 20 | uint8_t status(); 21 | uint8_t connect(); 22 | virtual void write(uint8_t); 23 | virtual void write(const char *str); 24 | virtual void write(const uint8_t *buf, size_t size); 25 | int available(); 26 | int read(); 27 | void flush(); 28 | void stop(); 29 | #ifdef ETHERSHIELD_DEBUG 30 | char *debug(); 31 | #endif 32 | uint8_t connected(); 33 | uint8_t operator==(int); 34 | uint8_t operator!=(int); 35 | operator bool(); 36 | friend class Server; 37 | }; 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /Arduino/libraries/ENC28J60/Ethernet.h: -------------------------------------------------------------------------------- 1 | #ifndef Ethernet_h 2 | #define Ethernet_h 3 | 4 | #include 5 | #include "Client.h" 6 | #include "Server.h" 7 | extern "C" { 8 | #include "utility/socket.h" 9 | } 10 | 11 | class EthernetClass { 12 | private: 13 | public: 14 | static uint8_t _state[MAX_SOCK_NUM]; 15 | static uint16_t _server_port[MAX_SOCK_NUM]; 16 | void begin(uint8_t *, uint8_t *); 17 | void begin(uint8_t *, uint8_t *, uint8_t *); 18 | void begin(uint8_t *, uint8_t *, uint8_t *, uint8_t *); 19 | #ifdef ETHERSHIELD_DEBUG 20 | uint8_t *returnDebug(); 21 | void clearDebug(); 22 | #endif 23 | friend class Client; 24 | friend class Server; 25 | }; 26 | 27 | extern EthernetClass Ethernet; 28 | 29 | #ifdef ETHERSHIELD_DEBUG 30 | char *debug2str(uint8_t debugCode); 31 | #endif 32 | #endif 33 | -------------------------------------------------------------------------------- /Arduino/libraries/ENC28J60/Server.h: -------------------------------------------------------------------------------- 1 | #ifndef Server_h 2 | #define Server_h 3 | 4 | #include "Print.h" 5 | 6 | class Client; 7 | 8 | class Server : public Print { 9 | private: 10 | uint16_t _port; 11 | void accept(); 12 | public: 13 | Server(uint16_t); 14 | Client available(); 15 | void begin(); 16 | virtual void write(uint8_t); 17 | virtual void write(const char *str); 18 | virtual void write(const uint8_t *buf, size_t size); 19 | }; 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /Arduino/libraries/ENC28J60/ToDo: -------------------------------------------------------------------------------- 1 | - Put license information 2 | - webserver example with debugging not working (without debugging it works) 3 | - correct connect() -- SYN+ACK is not being received/read (maybe the SYN we are sending is not ok) 4 | - send is not working properly: disconnect that is really sending packets 5 | - recv is not working for length > 1 6 | - if we have a packet size greater than BUFFER_SIZE ... ? 7 | - implement send 8 | - implement connect 9 | -------------------------------------------------------------------------------- /Arduino/libraries/ENC28J60/examples/ChatServer/ChatServer.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Chat Server 3 | * 4 | * A simple server that distributes any incoming messages to all 5 | * connected clients. To use telnet to 10.0.0.177 and type! 6 | */ 7 | 8 | #include 9 | 10 | // network configuration. gateway and subnet are optional. 11 | byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; 12 | byte ip[] = { 10, 0, 0, 177 }; 13 | byte gateway[] = { 10, 0, 0, 1 }; 14 | byte subnet[] = { 255, 255, 0, 0 }; 15 | 16 | // telnet defaults to port 23 17 | Server server(23); 18 | 19 | void setup() 20 | { 21 | // initialize the ethernet device 22 | Ethernet.begin(mac, ip, gateway, subnet); 23 | 24 | // start listening for clients 25 | server.begin(); 26 | } 27 | 28 | void loop() 29 | { 30 | Client client = server.available(); 31 | if (client) { 32 | server.write(client.read()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Arduino/libraries/ENC28J60/examples/WebClient/WebClient.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; 4 | byte ip[] = { 192, 168, 42, 42 }; 5 | byte server[] = { 192, 168, 42, 1 }; 6 | 7 | Client client(server, 80); 8 | 9 | void setup() { 10 | Ethernet.begin(mac, ip); 11 | Serial.begin(9600); 12 | 13 | delay(1000); 14 | Serial.println("connecting..."); 15 | 16 | if (client.connect()) { 17 | Serial.println("connected"); 18 | client.println("GET /search?q=arduino HTTP/1.0"); 19 | client.println(); 20 | } 21 | else { 22 | Serial.println("connection failed"); 23 | } 24 | } 25 | 26 | void loop() { 27 | if (client.available()) { 28 | char c = client.read(); 29 | Serial.print(c); 30 | } 31 | 32 | if (!client.connected()) { 33 | Serial.println(); 34 | Serial.println("disconnecting."); 35 | client.stop(); 36 | for(;;) 37 | ; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Arduino/libraries/ENC28J60/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Ethernet 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | Ethernet KEYWORD1 10 | Client KEYWORD1 11 | Server KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | status KEYWORD2 18 | connect KEYWORD2 19 | write KEYWORD2 20 | available KEYWORD2 21 | read KEYWORD2 22 | flush KEYWORD2 23 | stop KEYWORD2 24 | connected KEYWORD2 25 | begin KEYWORD2 26 | 27 | ####################################### 28 | # Constants (LITERAL1) 29 | ####################################### 30 | 31 | -------------------------------------------------------------------------------- /Arduino/libraries/EasyTransfer/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map EasyTransfer 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | EasyTransfer KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | Button KEYWORD2 15 | sendData KEYWORD2 16 | receiveData KEYWORD2 17 | init KEYWORD2 18 | 19 | 20 | ####################################### 21 | # Constants (LITERAL1) 22 | ####################################### 23 | details LITERAL1 24 | -------------------------------------------------------------------------------- /Arduino/libraries/EasyTransferI2C/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map EasyTransfer 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | EasyTransferI2C KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | Button KEYWORD2 15 | sendData KEYWORD2 16 | receiveData KEYWORD2 17 | init KEYWORD2 18 | 19 | 20 | ####################################### 21 | # Constants (LITERAL1) 22 | ####################################### 23 | details LITERAL1 24 | -------------------------------------------------------------------------------- /Arduino/libraries/FSM/LED_FSM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/FSM/LED_FSM.png -------------------------------------------------------------------------------- /Arduino/libraries/FSM/LED_FSM.vsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/FSM/LED_FSM.vsd -------------------------------------------------------------------------------- /Arduino/libraries/FSM/keywords.txt: -------------------------------------------------------------------------------- 1 | FiniteStateMachine KEYWORD1 2 | FSM KEYWORD1 3 | State KEYWORD1 4 | 5 | transitionTo KEYWORD2 6 | immediateTransitionTo KEYWORD2 7 | getCurrentState KEYWORD2 8 | isInState KEYWORD2 9 | timeInCurrentState KEYWORD2 10 | enter KEYWORD2 11 | update KEYWORD2 12 | exit KEYWORD2 13 | 14 | NO_ENTER LITERAL1 15 | NO_UPDATE LITERAL1 16 | NO_EXIT LITERAL1 17 | 18 | 19 | -------------------------------------------------------------------------------- /Arduino/libraries/IRremote/examples/IRrecvDemo/IRrecvDemo.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * IRremote: IRrecvDemo - demonstrates receiving IR codes with IRrecv 3 | * An IR detector/demodulator must be connected to the input RECV_PIN. 4 | * Version 0.1 July, 2009 5 | * Copyright 2009 Ken Shirriff 6 | * http://arcfn.com 7 | */ 8 | 9 | #include 10 | 11 | int RECV_PIN = 11; 12 | 13 | IRrecv irrecv(RECV_PIN); 14 | 15 | decode_results results; 16 | 17 | void setup() 18 | { 19 | Serial.begin(9600); 20 | irrecv.enableIRIn(); // Start the receiver 21 | } 22 | 23 | void loop() { 24 | if (irrecv.decode(&results)) { 25 | Serial.println(results.value, HEX); 26 | irrecv.resume(); // Receive the next value 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Arduino/libraries/IRremote/examples/IRsendDemo/IRsendDemo.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * IRremote: IRsendDemo - demonstrates sending IR codes with IRsend 3 | * An IR LED must be connected to Arduino PWM pin 3. 4 | * Version 0.1 July, 2009 5 | * Copyright 2009 Ken Shirriff 6 | * http://arcfn.com 7 | */ 8 | 9 | #include 10 | 11 | IRsend irsend; 12 | 13 | void setup() 14 | { 15 | Serial.begin(9600); 16 | } 17 | 18 | void loop() { 19 | if (Serial.read() != -1) { 20 | for (int i = 0; i < 3; i++) { 21 | irsend.sendSony(0xa90, 12); // Sony TV power code 22 | delay(100); 23 | } 24 | } 25 | } 26 | 27 | -------------------------------------------------------------------------------- /Arduino/libraries/IRremote/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For IRremote 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | decode_results KEYWORD1 10 | IRrecv KEYWORD1 11 | IRsend KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | blink13 KEYWORD2 18 | decode KEYWORD2 19 | enableIRIn KEYWORD2 20 | resume KEYWORD2 21 | enableIROut KEYWORD2 22 | sendNEC KEYWORD2 23 | sendSony KEYWORD2 24 | sendRaw KEYWORD2 25 | sendRC5 KEYWORD2 26 | sendRC6 KEYWORD2 27 | # 28 | ####################################### 29 | # Constants (LITERAL1) 30 | ####################################### 31 | 32 | NEC LITERAL1 33 | SONY LITERAL1 34 | RC5 LITERAL1 35 | RC6 LITERAL1 36 | UNKNOWN LITERAL1 37 | REPEAT LITERAL1 38 | -------------------------------------------------------------------------------- /Arduino/libraries/LED/Examples/Blink/Blink.pde: -------------------------------------------------------------------------------- 1 | /* 2 | || 3 | || @file Blink.pde 4 | || @version 1.1 5 | || @author Alexander Brevig 6 | || @contact alexanderbrevig@gmail.com 7 | || 8 | || @description 9 | || | Display the intuitive way of blinking an LED when using this Hardware Abstraction Library 10 | || # 11 | || 12 | || @license 13 | || | Copyright (c) 2009 Alexander Brevig. All rights reserved. 14 | || | This code is subject to AlphaLicence.txt 15 | || | alphabeta.alexanderbrevig.com/AlphaLicense.txt 16 | || # 17 | || 18 | */ 19 | 20 | #include 21 | 22 | //create a LED object at digital pin 13 23 | LED led = LED(13); 24 | 25 | void setup(){/*no setup required*/} 26 | 27 | void loop(){ 28 | led.blink(2000);//on a second, off a second 29 | } 30 | -------------------------------------------------------------------------------- /Arduino/libraries/LED/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For LEDs 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | LED KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | getState KEYWORD2 16 | on KEYWORD2 17 | off KEYWORD2 18 | toggle KEYWORD2 19 | blink KEYWORD2 20 | setValue KEYWORD2 21 | fadeIn KEYWORD2 22 | fadeOut KEYWORD2 23 | 24 | ####################################### 25 | # Constants (LITERAL1) 26 | ####################################### 27 | 28 | DEBUG_LED LITERAL1 29 | 30 | 31 | -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For LiquidCrystal 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | LiquidCrystal KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | begin KEYWORD2 16 | clear KEYWORD2 17 | home KEYWORD2 18 | print KEYWORD2 19 | setCursor KEYWORD2 20 | cursor KEYWORD2 21 | noCursor KEYWORD2 22 | blink KEYWORD2 23 | noBlink KEYWORD2 24 | display KEYWORD2 25 | noDisplay KEYWORD2 26 | autoscroll KEYWORD2 27 | noAutoscroll KEYWORD2 28 | leftToRight KEYWORD2 29 | rightToLeft KEYWORD2 30 | scrollDisplayLeft KEYWORD2 31 | scrollDisplayRight KEYWORD2 32 | createChar KEYWORD2 33 | 34 | ####################################### 35 | # Constants (LITERAL1) 36 | ####################################### 37 | 38 | -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/HelloWorld.pde: -------------------------------------------------------------------------------- 1 | //YWROBOT 2 | #include 3 | #include 4 | 5 | LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars and 2 line display 6 | 7 | void setup() 8 | { 9 | lcd.init(); // initialize the lcd 10 | lcd.init(); 11 | // Print a message to the LCD. 12 | lcd.backlight(); 13 | lcd.setCursor(3,0); 14 | lcd.print("Hello, world!"); 15 | lcd.setCursor(2,1); 16 | lcd.print("Ywrobot Arduino!"); 17 | lcd.setCursor(0,2); 18 | lcd.print("Arduino LCM IIC 2004"); 19 | lcd.setCursor(2,3); 20 | lcd.print("Power By Ec-yuan!"); 21 | } 22 | 23 | void loop() 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HardwareSerial.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HardwareSerial.cpp.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp: -------------------------------------------------------------------------------- 1 | //DFRobot.com 2 | #include 3 | #include 4 | 5 | #include "WProgram.h" 6 | void setup(); 7 | void loop(); 8 | LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display 9 | 10 | void setup() 11 | { 12 | lcd.init(); // initialize the lcd 13 | 14 | // Print a message to the LCD. 15 | lcd.backlight(); 16 | lcd.print("Hello, world!"); 17 | } 18 | 19 | void loop() 20 | { 21 | } 22 | 23 | int main(void) 24 | { 25 | init(); 26 | 27 | setup(); 28 | 29 | for (;;) 30 | loop(); 31 | 32 | return 0; 33 | } 34 | 35 | -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp.eep: -------------------------------------------------------------------------------- 1 | :00000001FF 2 | -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp.elf -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/HelloWorld.cpp.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Print.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Print.cpp.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/WInterrupts.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/WInterrupts.c.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/WMath.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/WMath.cpp.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Wire/Wire.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Wire/Wire.cpp.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Wire/utility/twi.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/Wire/utility/twi.c.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/core.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/core.a -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/pins_arduino.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/pins_arduino.c.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring.c.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_analog.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_analog.c.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_digital.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_digital.c.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_pulse.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_pulse.c.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_shift.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/examples/HelloWorld/applet/wiring_shift.c.o -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/examples/SerialDisplay/SerialDisplay.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Displays text sent over the serial port (e.g. from the Serial Monitor) on 3 | * an attached LCD. 4 | */ 5 | #include 6 | #include 7 | 8 | LiquidCrystal_I2C lcd(0x20,16,2); // set the LCD address to 0x20 for a 16 chars and 2 line display 9 | 10 | void setup() 11 | { 12 | lcd.init(); // initialize the lcd 13 | lcd.backlight(); 14 | Serial.begin(9600); 15 | } 16 | 17 | void loop() 18 | { 19 | // when characters arrive over the serial port... 20 | if (Serial.available()) { 21 | // wait a bit for the entire message to arrive 22 | delay(100); 23 | // clear the screen 24 | lcd.clear(); 25 | // read all the available characters 26 | while (Serial.available() > 0) { 27 | // display each character to the LCD 28 | lcd.write(Serial.read()); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/info/Image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/info/Image.jpg -------------------------------------------------------------------------------- /Arduino/libraries/LiquidCrystal_I2C/info/Schematic_diagram.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/LiquidCrystal_I2C/info/Schematic_diagram.jpg -------------------------------------------------------------------------------- /Arduino/libraries/MeetAndroid/examples/SensorGraphTutorial/SensorGraphTutorial.pde: -------------------------------------------------------------------------------- 1 | /* 2 | Sends sensor data to Arduino 3 | (needs SensorGraph and Amarino app installed and running on Android) 4 | */ 5 | 6 | #include 7 | 8 | MeetAndroid meetAndroid; 9 | int sensor = 5; 10 | 11 | void setup() 12 | { 13 | // use the baud rate your bluetooth module is configured to 14 | // not all baud rates are working well, i.e. ATMEGA168 works best with 57600 15 | Serial.begin(57600); 16 | 17 | // we initialize analog pin 5 as an input pin 18 | pinMode(sensor, INPUT); 19 | } 20 | 21 | void loop() 22 | { 23 | meetAndroid.receive(); // you need to keep this in your loop() to receive events 24 | 25 | // read input pin and send result to Android 26 | meetAndroid.send(analogRead(sensor)); 27 | 28 | // add a little delay otherwise the phone is pretty busy 29 | delay(100); 30 | } 31 | 32 | 33 | -------------------------------------------------------------------------------- /Arduino/libraries/MeetAndroid/keywords.txt: -------------------------------------------------------------------------------- 1 | MeetAndroid KEYWORD1 2 | flush KEYWORD2 3 | receive KEYWORD2 4 | registerFunction KEYWORD2 5 | unregisterFunction KEYWORD2 6 | bufferLength KEYWORD2 7 | stringLength KEYWORD2 8 | getBuffer KEYWORD2 9 | getString KEYWORD2 10 | getInt KEYWORD2 11 | getLong KEYWORD2 12 | getFloat KEYWORD2 13 | getDouble KEYWORD2 14 | getIntValues KEYWORD2 15 | getFloatValues KEYWORD2 16 | getDoubleValues KEYWORD2 17 | write KEYWORD2 18 | send KEYWORD2 19 | library_version KEYWORD2 -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/NECIRrcv.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/NECIRrcv/NECIRrcv.o -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/applet/WInterrupts.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/NECIRrcv/examples/printcodes/applet/WInterrupts.c.o -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/applet/pins_arduino.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/NECIRrcv/examples/printcodes/applet/pins_arduino.c.o -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/applet/printcodes.cpp: -------------------------------------------------------------------------------- 1 | #include "WProgram.h" 2 | // look for IR codes and print them as they are received 3 | 4 | #include 5 | #define IRPIN 4 // pin that IR detector is connected to 6 | 7 | void setup(); 8 | void loop(); 9 | NECIRrcv ir(IRPIN) ; 10 | 11 | void setup() 12 | { 13 | Serial.begin(9600) ; 14 | Serial.println("NEC IR code reception") ; 15 | ir.begin() ; 16 | } 17 | 18 | void loop() 19 | { 20 | unsigned long ircode ; 21 | 22 | while (ir.available()) { 23 | ircode = ir.read() ; 24 | Serial.print("got code: 0x") ; 25 | Serial.println(ircode,HEX) ; 26 | } 27 | } 28 | 29 | int main(void) 30 | { 31 | init(); 32 | 33 | setup(); 34 | 35 | for (;;) 36 | loop(); 37 | 38 | return 0; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring.c.o -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring_analog.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring_analog.c.o -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring_digital.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring_digital.c.o -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring_pulse.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring_pulse.c.o -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring_serial.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring_serial.c.o -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring_shift.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/NECIRrcv/examples/printcodes/applet/wiring_shift.c.o -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/libraries/NECIRrcv.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/NECIRrcv/examples/printcodes/libraries/NECIRrcv.o -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/libraries/keywords.txt: -------------------------------------------------------------------------------- 1 | NECIRrcv KEYWORD1 2 | blink13 KEYWORD2 -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/examples/printcodes/printcodes.pde: -------------------------------------------------------------------------------- 1 | // look for IR codes and print them as they are received 2 | 3 | #include 4 | #define IRPIN 4 // pin that IR detector is connected to 5 | 6 | NECIRrcv ir(IRPIN) ; 7 | 8 | void setup() 9 | { 10 | Serial.begin(9600) ; 11 | Serial.println("NEC IR code reception") ; 12 | ir.begin() ; 13 | } 14 | 15 | void loop() 16 | { 17 | unsigned long ircode ; 18 | 19 | while (ir.available()) { 20 | ircode = ir.read() ; 21 | Serial.print("got code: 0x") ; 22 | Serial.println(ircode,HEX) ; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Arduino/libraries/NECIRrcv/keywords.txt: -------------------------------------------------------------------------------- 1 | NECIRrcv KEYWORD1 2 | blink13 KEYWORD2 -------------------------------------------------------------------------------- /Arduino/libraries/PID_v1/Examples/PID_Basic/PID_Basic.pde: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | * PID Basic Example 3 | * Reading analog input 0 to control analog PWM output 3 4 | ********************************************************/ 5 | 6 | #include 7 | 8 | //Define Variables we'll be connecting to 9 | double Setpoint, Input, Output; 10 | 11 | //Specify the links and initial tuning parameters 12 | PID myPID(&Input, &Output, &Setpoint,2,5,1, DIRECT); 13 | 14 | void setup() 15 | { 16 | //initialize the variables we're linked to 17 | Input = analogRead(0); 18 | Setpoint = 100; 19 | 20 | //turn the PID on 21 | myPID.SetMode(AUTOMATIC); 22 | } 23 | 24 | void loop() 25 | { 26 | Input = analogRead(0); 27 | myPID.Compute(); 28 | analogWrite(3,Output); 29 | } 30 | 31 | 32 | -------------------------------------------------------------------------------- /Arduino/libraries/PID_v1/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For PID Library 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | PID KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | SetMode KEYWORD2 16 | Compute KEYWORD2 17 | SetOutputLimits KEYWORD2 18 | SetTunings KEYWORD2 19 | SetControllerDirection KEYWORD2 20 | SetSampleTime KEYWORD2 21 | GetKp KEYWORD2 22 | GetKi KEYWORD2 23 | GetKd KEYWORD2 24 | GetMode KEYWORD2 25 | GetDirection KEYWORD2 26 | 27 | ####################################### 28 | # Constants (LITERAL1) 29 | ####################################### 30 | 31 | AUTOMATIC LITERAL1 32 | MANUAL LITERAL1 33 | DIRECT LITERAL1 34 | REVERSE LITERAL1 -------------------------------------------------------------------------------- /Arduino/libraries/Robot/Example/Skybot/Skybot.pde: -------------------------------------------------------------------------------- 1 | //Es necesario tener instalada la librería Rueda para un correcto funcionamiento. 2 | #include 3 | #include 4 | #include 5 | //Declaración objeto tipo Robot. 6 | Robot skybot; 7 | 8 | 9 | void setup() 10 | { 11 | /* 12 | Configuración motores 13 | robot.motores(pin_izq,center_izq,pin_dch,center_dch) 14 | pin_izq: indicamos el pin al que está conectado el motor izquierda. 15 | center_izq: indicamo el valor para el cual el servo se para. 16 | pin_dch: indicamos el pin al que está conectado el motor derecha. 17 | center_dch: indicamo el valor para el cual el servo se para. 18 | */ 19 | skybot.motores(8,1560,9,1345); 20 | 21 | Serial.begin(9600); 22 | 23 | } 24 | 25 | void loop(){ 26 | /* 27 | Accionamiento del motor: 28 | en funcion de la escala del -10 al 10 se con distinta velocidad lineal. 29 | */ 30 | skybot.mover(10,10); 31 | } -------------------------------------------------------------------------------- /Arduino/libraries/Robot/README: -------------------------------------------------------------------------------- 1 | //----------------- 2 | //-- Librería Robot V1.0 3 | //-- Santiago López Pina, Junio 2012 4 | // 5 | Librería robot, simplifica el uso de la programación con robots. Ver el ejemplo robot.pde para más información sobre el uso de la librería. 6 | 7 | -------------------------------------------------------------------------------- /Arduino/libraries/Rueda/Examples/Rueda/Rueda.pde: -------------------------------------------------------------------------------- 1 | //Es necesario incluir librería servo.h 2 | #include 3 | #include 4 | //Declaración objeto tipo rueda 5 | Rueda izquierda; 6 | 7 | void setup() 8 | { 9 | /* 10 | Configuración rueda izquierda: 11 | nombre.attach(pin,center,tipo) 12 | pin: Pin al que está conectado el servo. 13 | center: Valor númerico para el cual, el servo se detiene. 14 | tipo: Motor a la izquierda (0) o a la derecha (1) del robot. 15 | */ 16 | izquierda.attach(8,1600,1); 17 | Serial.begin(9600); 18 | 19 | } 20 | 21 | void loop(){ 22 | //Valor desde -10 a 10 para indicar la velocidad de movimiento de la rueda. 23 | izquierda.set_move(10); 24 | } 25 | 26 | -------------------------------------------------------------------------------- /Arduino/libraries/Rueda/README: -------------------------------------------------------------------------------- 1 | //----------------- 2 | //-- Librería Rueda V1.0 3 | //-- Santiago López Pina, Junio 2012 4 | // 5 | Librería rueda, simplifica el uso de la programación con servos trucados para que giren 360º. Ver el ejemplo Rueda.pde para más información sobre el uso de la librería. 6 | 7 | -------------------------------------------------------------------------------- /Arduino/libraries/Rueda/Rueda.h: -------------------------------------------------------------------------------- 1 | #ifndef Rueda_h 2 | #define Rueda_h 3 | #include 4 | #include 5 | 6 | class Rueda 7 | { 8 | 9 | public: 10 | Rueda(){}; 11 | void attach(int pin,unsigned int center,bool type); 12 | void set_move(int dir); 13 | 14 | 15 | private: 16 | Servo _servo; 17 | unsigned int _center; 18 | int _dir; 19 | int _pin; 20 | bool _type; 21 | 22 | }; 23 | #endif -------------------------------------------------------------------------------- /Arduino/libraries/SPI/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map SPI 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | SPI KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | begin KEYWORD2 15 | end KEYWORD2 16 | transfer KEYWORD2 17 | setBitOrder KEYWORD2 18 | setDataMode KEYWORD2 19 | setClockDivider KEYWORD2 20 | 21 | 22 | ####################################### 23 | # Constants (LITERAL1) 24 | ####################################### 25 | SPI_CLOCK_DIV4 LITERAL1 26 | SPI_CLOCK_DIV16 LITERAL1 27 | SPI_CLOCK_DIV64 LITERAL1 28 | SPI_CLOCK_DIV128 LITERAL1 29 | SPI_CLOCK_DIV2 LITERAL1 30 | SPI_CLOCK_DIV8 LITERAL1 31 | SPI_CLOCK_DIV32 LITERAL1 32 | SPI_CLOCK_DIV64 LITERAL1 33 | SPI_MODE0 LITERAL1 34 | SPI_MODE1 LITERAL1 35 | SPI_MODE2 LITERAL1 36 | SPI_MODE3 LITERAL1 -------------------------------------------------------------------------------- /Arduino/libraries/SRF02/CHANGELOG.txt: -------------------------------------------------------------------------------- 1 | SRF02 Arduino Library Release Notes 2 | (C) 2008-2011 Dirk Grappendorf (www.grappendorf.net) 3 | ================================================================================ 4 | 5 | 6 | Changes in version 1.0 (2008.11.12) 7 | ----------------------------------- 8 | 9 | - Initial release. 10 | 11 | 12 | Changes in version 1.1 (2009.01.01) 13 | ----------------------------------- 14 | 15 | - Bug fixes. 16 | 17 | 18 | Changes in version 1.2 (2010.01.01) 19 | ----------------------------------- 20 | 21 | - Bug fixes. 22 | 23 | Changes in version 1.3 (2010.01.01) 24 | ----------------------------------- 25 | 26 | - Setting the measurement interval to 0 disables measurement updates. 27 | -------------------------------------------------------------------------------- /Arduino/libraries/SRF02/Wire/examples/master_reader/master_reader.pde: -------------------------------------------------------------------------------- 1 | // Wire Master Reader 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Reads data from an I2C/TWI slave device 6 | // Refer to the "Wire Slave Sender" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(); // join i2c bus (address optional for master) 18 | Serial.begin(9600); // start serial for output 19 | } 20 | 21 | void loop() 22 | { 23 | Wire.requestFrom(2, 6); // request 6 bytes from slave device #2 24 | 25 | while(Wire.available()) // slave may send less than requested 26 | { 27 | char c = Wire.receive(); // receive a byte as character 28 | Serial.print(c); // print the character 29 | } 30 | 31 | delay(500); 32 | } 33 | -------------------------------------------------------------------------------- /Arduino/libraries/SRF02/Wire/examples/master_writer/master_writer.pde: -------------------------------------------------------------------------------- 1 | // Wire Master Writer 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Writes data to an I2C/TWI slave device 6 | // Refer to the "Wire Slave Receiver" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(); // join i2c bus (address optional for master) 18 | } 19 | 20 | byte x = 0; 21 | 22 | void loop() 23 | { 24 | Wire.beginTransmission(4); // transmit to device #4 25 | Wire.send("x is "); // sends five bytes 26 | Wire.send(x); // sends one byte 27 | Wire.endTransmission(); // stop transmitting 28 | 29 | x++; 30 | delay(500); 31 | } 32 | -------------------------------------------------------------------------------- /Arduino/libraries/SRF02/Wire/examples/slave_sender/slave_sender.pde: -------------------------------------------------------------------------------- 1 | // Wire Slave Sender 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Sends data as an I2C/TWI slave device 6 | // Refer to the "Wire Master Reader" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(2); // join i2c bus with address #2 18 | Wire.onRequest(requestEvent); // register event 19 | } 20 | 21 | void loop() 22 | { 23 | delay(100); 24 | } 25 | 26 | // function that executes whenever data is requested by master 27 | // this function is registered as an event, see setup() 28 | void requestEvent() 29 | { 30 | Wire.send("hello "); // respond with message of 6 bytes 31 | // as expected by master 32 | } 33 | -------------------------------------------------------------------------------- /Arduino/libraries/SRF02/Wire/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Wire 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ####################################### 10 | # Methods and Functions (KEYWORD2) 11 | ####################################### 12 | 13 | begin KEYWORD2 14 | beginTransmission KEYWORD2 15 | endTransmission KEYWORD2 16 | requestFrom KEYWORD2 17 | send KEYWORD2 18 | receive KEYWORD2 19 | onReceive KEYWORD2 20 | onRequest KEYWORD2 21 | 22 | ####################################### 23 | # Instances (KEYWORD2) 24 | ####################################### 25 | 26 | Wire KEYWORD2 27 | 28 | ####################################### 29 | # Constants (LITERAL1) 30 | ####################################### 31 | 32 | -------------------------------------------------------------------------------- /Arduino/libraries/SRF02/keywords.txt: -------------------------------------------------------------------------------- 1 | SRF02 KEYWORD1 2 | update KEYWORD2 3 | read KEYWORD2 4 | setInterval KEYWORD2 5 | configureDeviceId KEYWORD2 6 | -------------------------------------------------------------------------------- /Arduino/libraries/SRF02/version.txt: -------------------------------------------------------------------------------- 1 | 1.3 2 | -------------------------------------------------------------------------------- /Arduino/libraries/Servo/examples/Knob/Knob.pde: -------------------------------------------------------------------------------- 1 | // Controlling a servo position using a potentiometer (variable resistor) 2 | // by Michal Rinott 3 | 4 | #include 5 | 6 | Servo myservo; // create servo object to control a servo 7 | 8 | int potpin = 0; // analog pin used to connect the potentiometer 9 | int val; // variable to read the value from the analog pin 10 | 11 | void setup() 12 | { 13 | myservo.attach(9); // attaches the servo on pin 9 to the servo object 14 | } 15 | 16 | void loop() 17 | { 18 | val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023) 19 | val = map(val, 0, 1023, 0, 179); // scale it to use it with the servo (value between 0 and 180) 20 | myservo.write(val); // sets the servo position according to the scaled value 21 | delay(15); // waits for the servo to get there 22 | } 23 | -------------------------------------------------------------------------------- /Arduino/libraries/Servo/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map Servo 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | Servo KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | attach KEYWORD2 15 | detach KEYWORD2 16 | write KEYWORD2 17 | read KEYWORD2 18 | attached KEYWORD2 19 | writeMicroseconds KEYWORD2 20 | readMicroseconds KEYWORD2 21 | 22 | ####################################### 23 | # Constants (LITERAL1) 24 | ####################################### 25 | -------------------------------------------------------------------------------- /Arduino/libraries/Servo8Bit/Readme.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | Version History 4 | --------------- 5 | 0.6 -Added ability to easily select if this driver should use timer0 or 6 | timer1. 7 | -Timer1 is now the default timer used. Used to be timer0. 8 | -Made the timer init happen later to allow this driver to work when 9 | used with an attiny arduino library. 10 | -Fixed bug where a 512 microsecond pulse would not be generated. 11 | 12 | 0.5 -Initial public release 13 | 14 | 15 | 16 | 17 | Short Guide On How To Compile 18 | ------------------------------ 19 | 1) Make sure you have WinAvr installed (http://winavr.sourceforge.net/) 20 | 2) open a CMD window and navigate to the Servo8Bit folder 21 | 3) type in "make" in the CMD window and the code will be compiled 22 | 4) type in "make program" to program your Attiny. This assumes you are using a 23 | usb programmer (such as the AVRISP mkII). -------------------------------------------------------------------------------- /Arduino/libraries/ServoTimer1/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map Servo 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | Servo KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | attach KEYWORD2 15 | detach KEYWORD2 16 | write KEYWORD2 17 | read KEYWORD2 18 | attached KEYWORD2 19 | setMinimumPulse KEYWORD2 20 | setMaximumPulse KEYWORD2 21 | refresh KEYWORD2 22 | 23 | ####################################### 24 | # Constants (LITERAL1) 25 | ####################################### 26 | -------------------------------------------------------------------------------- /Arduino/libraries/SoftwareSerial/Examples/SoftwareSerialExample/SoftwareSerialExample.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | SoftwareSerial mySerial(2, 3); 4 | 5 | void setup() 6 | { 7 | Serial.begin(57600); 8 | Serial.println("Goodnight moon!"); 9 | 10 | // set the data rate for the SoftwareSerial port 11 | mySerial.begin(4800); 12 | mySerial.println("Hello, world?"); 13 | } 14 | 15 | void loop() // run over and over 16 | { 17 | if (mySerial.available()) 18 | Serial.print((char)mySerial.read()); 19 | if (Serial.available()) 20 | mySerial.print((char)Serial.read()); 21 | } 22 | -------------------------------------------------------------------------------- /Arduino/libraries/SoftwareSerial/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map for NewSoftSerial 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | NewSoftSerial KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | begin KEYWORD2 16 | end KEYWORD2 17 | read KEYWORD2 18 | available KEYWORD2 19 | is_listening KEYWORD2 20 | overflow KEYWORD2 21 | library_version KEYWORD2 22 | enable_timer0 KEYWORD2 23 | flush KEYWORD2 24 | listen KEYWORD2 25 | 26 | ####################################### 27 | # Constants (LITERAL1) 28 | ####################################### 29 | 30 | -------------------------------------------------------------------------------- /Arduino/libraries/SoftwareServo/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map SoftwareServo 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | SoftwareServo KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | attach KEYWORD2 15 | detach KEYWORD2 16 | write KEYWORD2 17 | read KEYWORD2 18 | attached KEYWORD2 19 | setMinimumPulse KEYWORD2 20 | setMaximumPulse KEYWORD2 21 | refresh KEYWORD2 22 | 23 | ####################################### 24 | # Constants (LITERAL1) 25 | ####################################### 26 | -------------------------------------------------------------------------------- /Arduino/libraries/TimerThree/keywords.txt: -------------------------------------------------------------------------------- 1 | Timer3 KEYWORD2 2 | TimerThree KEYWORD1 3 | initialize KEYWORD2 4 | start KEYWORD2 5 | stop KEYWORD2 6 | restart KEYWORD2 7 | pwm KEYWORD2 8 | disablePwm KEYWORD2 9 | attachInterrupt KEYWORD2 10 | detachInterrupt KEYWORD2 11 | setPeriod KEYWORD2 12 | setPwmDuty KEYWORD2 13 | isrCallback KEYWORD2 14 | -------------------------------------------------------------------------------- /Arduino/libraries/TinyWireM/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For TinyWireM 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ####################################### 10 | # Methods and Functions (KEYWORD2) 11 | ####################################### 12 | 13 | begin KEYWORD2 14 | beginTransmission KEYWORD2 15 | endTransmission KEYWORD2 16 | requestFrom KEYWORD2 17 | send KEYWORD2 18 | receive KEYWORD2 19 | 20 | ####################################### 21 | # Instances (KEYWORD2) 22 | ####################################### 23 | 24 | TinyWireM KEYWORD2 25 | 26 | ####################################### 27 | # Constants (LITERAL1) 28 | ####################################### 29 | 30 | -------------------------------------------------------------------------------- /Arduino/libraries/TinyWireS/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For TinyWireS 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ####################################### 10 | # Methods and Functions (KEYWORD2) 11 | ####################################### 12 | 13 | begin KEYWORD2 14 | send KEYWORD2 15 | available KEYWORD2 16 | receive KEYWORD2 17 | 18 | ####################################### 19 | # Instances (KEYWORD2) 20 | ####################################### 21 | 22 | TinyWireS KEYWORD2 23 | 24 | ####################################### 25 | # Constants (LITERAL1) 26 | ####################################### 27 | 28 | -------------------------------------------------------------------------------- /Arduino/libraries/Tone/changelog.txt: -------------------------------------------------------------------------------- 1 | $Id: changelog.txt 120 2010-07-17 19:01:15Z bhagman@roguerobotics.com $ 2 | 3 | Tone Library 4 | 5 | Version Modified By Date Comments 6 | ------- ----------- -------- -------- 7 | 0001 B Hagman 09/08/02 Initial coding 8 | 0002 B Hagman 09/08/18 Fixed: Multiple pins. 9 | 0003 B Hagman 09/08/18 Fixed: Moved initialization from constructor to 10 | begin(). 11 | 0004 B Hagman 09/09/26 Fixed: Problems with ATmega8. 12 | 0005 B Hagman 09/11/23 Fixed: Scanned prescalars for best fit on 8 bit 13 | timers 14 | 09/11/25 Fixed: Pin toggle method to XOR. 15 | 09/11/25 Fixed: timer0 from being excluded. 16 | 0006 B Hagman 10/03/21 Fixed: License updates, minor fixes. 17 | B Hagman 10/07/17 Fixed: (more) problems with ATmega8 (thanks to Pete62) 18 | -------------------------------------------------------------------------------- /Arduino/libraries/USB_Host_Shield/README: -------------------------------------------------------------------------------- 1 | This is a library for MAX3421E-based USB Host Shield for Arduino -> http://www.circuitsathome.com/arduino_usb_host_shield_projects 2 | 3 | More information can be found at http://www.circuitsathome.com 4 | 5 | -------------------------------------------------------------------------------- /Arduino/libraries/Ultrasonic/Ultrasonic.cpp: -------------------------------------------------------------------------------- 1 | // Ultrasonic - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | #include "WProgram.h" 6 | #include "Ultrasonic.h" 7 | 8 | Ultrasonic::Ultrasonic(int TP, int EP) 9 | { 10 | pinMode(TP,OUTPUT); 11 | pinMode(EP,INPUT); 12 | Trig_pin=TP; 13 | Echo_pin=EP; 14 | } 15 | 16 | long Ultrasonic::Timing() 17 | { 18 | digitalWrite(Trig_pin, LOW); 19 | delayMicroseconds(2); 20 | digitalWrite(Trig_pin, HIGH); 21 | delayMicroseconds(10); 22 | digitalWrite(Trig_pin, LOW); 23 | duration = pulseIn(Echo_pin,HIGH,30000); 24 | if ( duration == 0 ) {duration = 30000;} 25 | return duration; 26 | } 27 | 28 | long Ultrasonic::Ranging(int sys) 29 | { 30 | Timing(); 31 | distacne_cm = duration /29 / 2 ; 32 | distance_inc = duration / 74 / 2; 33 | if (sys) 34 | return distacne_cm; 35 | else 36 | return distance_inc; 37 | } -------------------------------------------------------------------------------- /Arduino/libraries/Ultrasonic/Ultrasonic.h: -------------------------------------------------------------------------------- 1 | // Ultrasonic - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | 6 | #ifndef Ultrasonic_h 7 | #define Ultrasonic_h 8 | 9 | #include "WProgram.h" 10 | 11 | #define CM 1 12 | #define INC 0 13 | 14 | class Ultrasonic 15 | { 16 | public: 17 | Ultrasonic(int TP, int EP); 18 | long Timing(); 19 | long Ranging(int sys); 20 | 21 | private: 22 | int Trig_pin; 23 | int Echo_pin; 24 | long duration,distacne_cm,distance_inc; 25 | 26 | }; 27 | 28 | #endif -------------------------------------------------------------------------------- /Arduino/libraries/Ultrasonic/examples/LCD/LCD.pde: -------------------------------------------------------------------------------- 1 | // Ultrasonic.h - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | #include 6 | #include 7 | LiquidCrystal lcd(12, 11, 5, 4, 3, 2); 8 | Ultrasonic ultrasonic(9,8); // (Trig PIN,Echo PIN) 9 | 10 | void setup() { 11 | lcd.begin(16, 2); 12 | } 13 | 14 | void loop() 15 | { 16 | lcd.clear(); 17 | lcd.setCursor(0, 0); 18 | lcd.print(ultrasonic.Ranging(CM)); // CM or INC 19 | lcd.print("cm"); 20 | delay(100); 21 | } -------------------------------------------------------------------------------- /Arduino/libraries/Ultrasonic/examples/Serial/Serial.pde: -------------------------------------------------------------------------------- 1 | // Ultrasonic.h - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | #include 6 | Ultrasonic ultrasonic(9,8); // (Trig PIN,Echo PIN) 7 | 8 | void setup() { 9 | Serial.begin(9600); 10 | } 11 | 12 | void loop() 13 | { 14 | Serial.print(ultrasonic.Ranging(CM)); // CM or INC 15 | Serial.println(" cm" ); 16 | delay(100); 17 | } -------------------------------------------------------------------------------- /Arduino/libraries/ethercard/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.esproj 3 | /html 4 | -------------------------------------------------------------------------------- /Arduino/libraries/ethercard/Doxylogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino/libraries/ethercard/Doxylogo.png -------------------------------------------------------------------------------- /Arduino_022.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Arduino_022.zip -------------------------------------------------------------------------------- /Calibracion_s3003/Calibracion_s3003.pde: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include 4 | 5 | Servo motor1; 6 | Servo motor2; 7 | 8 | void setup() 9 | { 10 | motor1.attach(9); 11 | motor2.attach(8); 12 | 13 | } 14 | void loop() 15 | { 16 | motor1.write(180); 17 | motor2.write(0); 18 | //motor1.writeMicroseconds(1500); 19 | //motor2.writeMicroseconds(1500); 20 | } 21 | 22 | -------------------------------------------------------------------------------- /Comunicaciones/Arduino/arduino/arduino.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | SoftwareServo servo1; 4 | SoftwareServo servo2; 5 | 6 | void setup() 7 | { 8 | Serial.begin(9600); 9 | Serial.print("Ready"); 10 | } 11 | 12 | void loop() 13 | { 14 | if ( Serial.available()) { 15 | char ch = Serial.read(); 16 | switch(ch) { 17 | case 'A': 18 | 19 | digitalWrite(13,LOW); 20 | break; 21 | case 'B': 22 | 23 | digitalWrite(13,HIGH); 24 | break; 25 | 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Comunicaciones/Arduino/arduino/skybot.pde: -------------------------------------------------------------------------------- 1 | int distancia; 2 | int sp = 10; 3 | int loop_cnt=0; 4 | int orden; 5 | #define SERVO1 9 6 | #define SERVO2 10 7 | #define CEN 0 8 | #include 9 | Ultrasonic ultrasonic(7,6); // (Trig PIN,Echo PIN) 10 | 11 | void setup() 12 | { 13 | Serial.begin(9600); 14 | } 15 | 16 | void loop() 17 | { 18 | if( loop_cnt > 100 ) { // every 100 msecs get new data 19 | loop_cnt = 0; 20 | distancia = ultrasonic.Ranging(CM); 21 | Serial.println(distancia); 22 | } 23 | loop_cnt++; 24 | if (distancia > sp ) 25 | { 26 | throttle(-100,-100); 27 | }else{ 28 | throttle(0,-100); 29 | } 30 | 31 | } 32 | 33 | // Maneja el avance o retroceso, recibe la velocidad desde -100 a 100 % 34 | void throttle(int Mot1, int Mot2) 35 | { 36 | analogWrite(SERVO1,(Mot1> CEN || Mot1<-CEN) ? map(-Mot1,-100,100,135,225):0); 37 | //Giro al contrario 38 | analogWrite(SERVO2,(-Mot2> CEN || -Mot2<-CEN) ? map(Mot2,-100,100,135,225):0); 39 | } 40 | 41 | 42 | -------------------------------------------------------------------------------- /Comunicaciones/Python/escribir.py: -------------------------------------------------------------------------------- 1 | import serial 2 | ser = serial.Serial('/dev/tty.usbserial-A600IP3Q', 9600) 3 | cadena = '' 4 | print('Introduzca una letra, escriba exit para salir') 5 | while (cadena != "exit"): 6 | cadena = raw_input() 7 | ser.write(cadena) -------------------------------------------------------------------------------- /Comunicaciones/Python/leer.py: -------------------------------------------------------------------------------- 1 | import serial 2 | ser = serial.Serial('/dev/tty.usbserial-A8008qpV', 9600) 3 | dato = ser.readline() 4 | if dato == 'on\r\n' : 5 | print("encendido") 6 | if dato == 'off\r\n' : 7 | print("apagado") 8 | -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/DS1307/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/DS1307/ToDo: -------------------------------------------------------------------------------- 1 | - Does DS1307 has calendar capabilities such ignoring "31 Feb" or ignoring/correcting a wrong day of week? 2 | - Verify if it is really 24-hour 3 | - Use a structure instead of int array to get/set date/time data? 4 | -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/DS1307/keywords.txt: -------------------------------------------------------------------------------- 1 | ########################################## 2 | # Syntax Coloring Map For DS1307 library # 3 | ########################################## 4 | 5 | ########################################## 6 | # Datatypes (KEYWORD1) # 7 | ########################################## 8 | 9 | DS1307 KEYWORD1 10 | 11 | ########################################## 12 | # Methods and Functions (KEYWORD2) # 13 | ########################################## 14 | 15 | ########################################## 16 | # Constants (LITERAL1) # 17 | ########################################## 18 | DS1307_ADDRESS LITERAL1 19 | -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/DS1307/photos/DS1307-Arduino.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Ejemplos/Codigo Proyecto + Librerias/DS1307/photos/DS1307-Arduino.jpg -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/DS1307/photos/DS1307-front-back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Ejemplos/Codigo Proyecto + Librerias/DS1307/photos/DS1307-front-back.jpg -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/DS1307/photos/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Ejemplos/Codigo Proyecto + Librerias/DS1307/photos/Thumbs.db -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/EEPROM/examples/eeprom_clear/eeprom_clear.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * EEPROM Clear 3 | * 4 | * Sets all of the bytes of the EEPROM to 0. 5 | * This example code is in the public domain. 6 | 7 | */ 8 | 9 | #include 10 | 11 | void setup() 12 | { 13 | // write a 0 to all 512 bytes of the EEPROM 14 | for (int i = 0; i < 512; i++) 15 | EEPROM.write(i, 0); 16 | 17 | // turn the LED on when we're done 18 | digitalWrite(13, HIGH); 19 | } 20 | 21 | void loop() 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/EEPROM/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Ultrasound 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | EEPROM KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | ####################################### 16 | # Constants (LITERAL1) 17 | ####################################### 18 | 19 | -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/Wire/examples/master_reader/master_reader.pde: -------------------------------------------------------------------------------- 1 | // Wire Master Reader 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Reads data from an I2C/TWI slave device 6 | // Refer to the "Wire Slave Sender" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(); // join i2c bus (address optional for master) 18 | Serial.begin(9600); // start serial for output 19 | } 20 | 21 | void loop() 22 | { 23 | Wire.requestFrom(2, 6); // request 6 bytes from slave device #2 24 | 25 | while(Wire.available()) // slave may send less than requested 26 | { 27 | char c = Wire.receive(); // receive a byte as character 28 | Serial.print(c); // print the character 29 | } 30 | 31 | delay(500); 32 | } 33 | -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/Wire/examples/master_writer/master_writer.pde: -------------------------------------------------------------------------------- 1 | // Wire Master Writer 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Writes data to an I2C/TWI slave device 6 | // Refer to the "Wire Slave Receiver" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(); // join i2c bus (address optional for master) 18 | } 19 | 20 | byte x = 0; 21 | 22 | void loop() 23 | { 24 | Wire.beginTransmission(4); // transmit to device #4 25 | Wire.send("x is "); // sends five bytes 26 | Wire.send(x); // sends one byte 27 | Wire.endTransmission(); // stop transmitting 28 | 29 | x++; 30 | delay(500); 31 | } 32 | -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/Wire/examples/slave_sender/slave_sender.pde: -------------------------------------------------------------------------------- 1 | // Wire Slave Sender 2 | // by Nicholas Zambetti 3 | 4 | // Demonstrates use of the Wire library 5 | // Sends data as an I2C/TWI slave device 6 | // Refer to the "Wire Master Reader" example for use with this 7 | 8 | // Created 29 March 2006 9 | 10 | // This example code is in the public domain. 11 | 12 | 13 | #include 14 | 15 | void setup() 16 | { 17 | Wire.begin(2); // join i2c bus with address #2 18 | Wire.onRequest(requestEvent); // register event 19 | } 20 | 21 | void loop() 22 | { 23 | delay(100); 24 | } 25 | 26 | // function that executes whenever data is requested by master 27 | // this function is registered as an event, see setup() 28 | void requestEvent() 29 | { 30 | Wire.send("hello "); // respond with message of 6 bytes 31 | // as expected by master 32 | } 33 | -------------------------------------------------------------------------------- /Ejemplos/Codigo Proyecto + Librerias/Wire/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Wire 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ####################################### 10 | # Methods and Functions (KEYWORD2) 11 | ####################################### 12 | 13 | begin KEYWORD2 14 | beginTransmission KEYWORD2 15 | endTransmission KEYWORD2 16 | requestFrom KEYWORD2 17 | send KEYWORD2 18 | receive KEYWORD2 19 | onReceive KEYWORD2 20 | onRequest KEYWORD2 21 | 22 | ####################################### 23 | # Instances (KEYWORD2) 24 | ####################################### 25 | 26 | Wire KEYWORD2 27 | 28 | ####################################### 29 | # Constants (LITERAL1) 30 | ####################################### 31 | 32 | -------------------------------------------------------------------------------- /Ejemplos/GPS/LiquidCrystal_I2C/LiquidCrystal_I2C.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Ejemplos/GPS/LiquidCrystal_I2C/LiquidCrystal_I2C.o -------------------------------------------------------------------------------- /Ejemplos/GPS/LiquidCrystal_I2C/examples/HelloWorld/HelloWorld.pde: -------------------------------------------------------------------------------- 1 | //DFRobot.com 2 | #include 3 | #include 4 | 5 | LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display 6 | 7 | void setup() 8 | { 9 | lcd.init(); // initialize the lcd 10 | 11 | // Print a message to the LCD. 12 | lcd.backlight(); 13 | lcd.print("Hello, world!"); 14 | } 15 | 16 | void loop() 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /Ejemplos/GPS/LiquidCrystal_I2C/examples/SerialDisplay/SerialDisplay.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Displays text sent over the serial port (e.g. from the Serial Monitor) on 3 | * an attached LCD. 4 | * DFRobot.com 5 | */ 6 | #include 7 | #include 8 | 9 | LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display 10 | 11 | void setup() 12 | { 13 | lcd.init(); // initialize the lcd 14 | lcd.backlight(); 15 | Serial.begin(9600); 16 | } 17 | 18 | void loop() 19 | { 20 | // when characters arrive over the serial port... 21 | if (Serial.available()) { 22 | // wait a bit for the entire message to arrive 23 | delay(100); 24 | // clear the screen 25 | lcd.clear(); 26 | // read all the available characters 27 | while (Serial.available() > 0) { 28 | // display each character to the LCD 29 | lcd.write(Serial.read()); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Ejemplos/Reloj_Interrupciones1/Reloj_Interrupciones1.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int segundos = 0; 4 | int minutos = 0; 5 | int horas = 0; 6 | 7 | void setup() 8 | { 9 | Serial.begin(9600); 10 | Timer1.initialize(1000000); // inicializamos el timer1, y lo configuramos para conseguir un segundo 11 | Timer1.attachInterrupt(interrupcion_por_tiempo); // El desbordamiento del timer lo conectamos con interrupcion_por_tiempo () 12 | } 13 | 14 | void interrupcion_por_tiempo() 15 | { 16 | segundos++; 17 | if(segundos > 59) { minutos++; segundos = 0; } 18 | if(minutos > 59) { horas++; minutos = 0; } 19 | } 20 | 21 | void loop() 22 | { 23 | Serial.print(horas); Serial.print(":"); Serial.print(minutos); Serial.print(":"); Serial.println(segundos); 24 | } 25 | -------------------------------------------------------------------------------- /Ejemplos/SensorParking.webarchive: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Ejemplos/SensorParking.webarchive -------------------------------------------------------------------------------- /Ejemplos/Servo_continuo/Servo_continuo.ino: -------------------------------------------------------------------------------- 1 | #define SERVO1 9 2 | #define SERVO2 10 3 | #define CEN 0 4 | 5 | void setup() 6 | { 7 | } 8 | 9 | void loop() 10 | { 11 | throttle(100,-100); 12 | } 13 | 14 | // Maneja el avance o retroceso, recibe la velocidad desde -100 a 100 % 15 | void throttle(int Mot1, int Mot2) 16 | { 17 | analogWrite(SERVO1,(Mot1> CEN || Mot1<-CEN) ? map(-Mot1,-100,100,135,225):0); 18 | //Giro al contrario 19 | analogWrite(SERVO2,(-Mot2> CEN || -Mot2<-CEN) ? map(Mot2,-100,100,135,225):0); 20 | } 21 | -------------------------------------------------------------------------------- /Ejemplos/Sonar.pde: -------------------------------------------------------------------------------- 1 | 2 | const int Trig = 3; 3 | const int Echo = 2; 4 | 5 | void setup() 6 | { 7 | pinMode(Trig, OUTPUT); 8 | pinMode(Echo, INPUT); 9 | Serial.begin(9600); 10 | } 11 | 12 | unsigned int time_us=0; 13 | unsigned int distance_sm=0; 14 | 15 | void loop() 16 | { 17 | digitalWrite(Trig, HIGH); 18 | delayMicroseconds(10); 19 | digitalWrite(Trig, LOW); 20 | time_us=pulseIn(Echo, HIGH); 21 | distance_sm=time_us/58; 22 | Serial.print(distance_sm); 23 | Serial.print(" "); 24 | delay(500); 25 | } 26 | 27 | -------------------------------------------------------------------------------- /Ejemplos/jdorweiler-BalancingRobot-afa319b/BalancingRobot/PID.pde: -------------------------------------------------------------------------------- 1 | // KasBot V1 - PID module 2 | 3 | #define GUARD_GAIN 20.0 4 | 5 | int last_error = 0; 6 | int integrated_error = 0; 7 | int pTerm = 0, iTerm = 0, dTerm = 0; 8 | 9 | int updatePid(int targetPosition, int currentPosition, float K, int Kp, int Ki, int Kd) { 10 | error = targetPosition - currentPosition; 11 | pTerm = Kp * error; 12 | integrated_error += error; 13 | iTerm = Ki * constrain(integrated_error, -GUARD_GAIN, GUARD_GAIN); 14 | dTerm = Kd * (error - last_error); 15 | last_error = error; 16 | return -constrain(K*(pTerm + iTerm + dTerm), -255, 255); 17 | } 18 | -------------------------------------------------------------------------------- /Ejemplos/jdorweiler-BalancingRobot-afa319b/BalancingRobot/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Ejemplos/jdorweiler-BalancingRobot-afa319b/BalancingRobot/README -------------------------------------------------------------------------------- /Ejemplos/jdorweiler-BalancingRobot-afa319b/BalancingRobot/motors.pde: -------------------------------------------------------------------------------- 1 | int Drive_Motor(int torque) { 2 | 3 | 4 | torque2 = map(torque, -255, 255, 0, 180); // scale it to use it with the servo (value between 0 and 180) 5 | servo1.write(torque1); 6 | torque1 = map(torque, -255, 255, 180, 0 ); 7 | servo2.write(torque2); 8 | 9 | 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Ejemplos/jdorweiler-BalancingRobot-afa319b/README: -------------------------------------------------------------------------------- 1 | Balancing robot Arduino code and Fritzing file for PCB motor shield. 2 | 3 | More on this project at 4 | www.jddorweiler.appspot.com/electronics.html#robot 5 | and 6 | http://www.thingiverse.com/thing:25531 7 | 8 | I found a lot of the code and good information to build this robot from 9 | http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1284738418/all 10 | and 11 | http://www.kerrywong.com/2012/03/08/a-self-balancing-robot-i 12 | 13 | -------------------------------------------------------------------------------- /Ejemplos/jdorweiler-BalancingRobot-afa319b/Servo Mount.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Ejemplos/jdorweiler-BalancingRobot-afa319b/Servo Mount.stl -------------------------------------------------------------------------------- /Ejemplos/jdorweiler-BalancingRobot-afa319b/arduino_motor_servo_shield.fzz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Ejemplos/jdorweiler-BalancingRobot-afa319b/arduino_motor_servo_shield.fzz -------------------------------------------------------------------------------- /Fotografia/transistor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Fotografia/transistor.gif -------------------------------------------------------------------------------- /Fotografia/transistor2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Fotografia/transistor2.png -------------------------------------------------------------------------------- /IR_AppleRemote/applet/HardwareSerial.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/HardwareSerial.cpp.o -------------------------------------------------------------------------------- /IR_AppleRemote/applet/IR_AppleRemote.cpp.eep: -------------------------------------------------------------------------------- 1 | :00000001FF 2 | -------------------------------------------------------------------------------- /IR_AppleRemote/applet/IR_AppleRemote.cpp.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/IR_AppleRemote.cpp.elf -------------------------------------------------------------------------------- /IR_AppleRemote/applet/IR_AppleRemote.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/IR_AppleRemote.cpp.o -------------------------------------------------------------------------------- /IR_AppleRemote/applet/IRremote/IRremote.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/IRremote/IRremote.cpp.o -------------------------------------------------------------------------------- /IR_AppleRemote/applet/Print.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/Print.cpp.o -------------------------------------------------------------------------------- /IR_AppleRemote/applet/WInterrupts.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/WInterrupts.c.o -------------------------------------------------------------------------------- /IR_AppleRemote/applet/WMath.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/WMath.cpp.o -------------------------------------------------------------------------------- /IR_AppleRemote/applet/core.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/core.a -------------------------------------------------------------------------------- /IR_AppleRemote/applet/pins_arduino.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/pins_arduino.c.o -------------------------------------------------------------------------------- /IR_AppleRemote/applet/wiring.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/wiring.c.o -------------------------------------------------------------------------------- /IR_AppleRemote/applet/wiring_analog.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/wiring_analog.c.o -------------------------------------------------------------------------------- /IR_AppleRemote/applet/wiring_digital.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/wiring_digital.c.o -------------------------------------------------------------------------------- /IR_AppleRemote/applet/wiring_pulse.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/wiring_pulse.c.o -------------------------------------------------------------------------------- /IR_AppleRemote/applet/wiring_shift.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/IR_AppleRemote/applet/wiring_shift.c.o -------------------------------------------------------------------------------- /IR_recibir/IR_recibir.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int RECV_PIN = 11; 4 | int valor; 5 | IRrecv irrecv(RECV_PIN); 6 | decode_results results; 7 | 8 | void setup() 9 | { 10 | Serial.begin(9600); 11 | irrecv.enableIRIn(); // Start the receiver 12 | } 13 | 14 | void loop() { 15 | if (irrecv.decode(&results)) { 16 | valor = results.value; 17 | Serial.println(valor); 18 | irrecv.resume(); // Receive the next value 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Insoladora/readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Insoladora/readme -------------------------------------------------------------------------------- /Miniskybot/README: -------------------------------------------------------------------------------- 1 | Miniskybot 2 | ---------- 3 | 4 | 5 | An open source 3D printable mobile robot 6 | 7 | In this repository you can find the Miniskybot 2 or later 8 | For the miniskybot 1 go to the following links: 9 | 10 | * http://www.iearobotics.com/wiki/index.php?title=Mini-Skybot_v1.0 (spanish) 11 | * Thingiverse: http://www.thingiverse.com/thing:7989 12 | * SVN repo: http://svn.iearobotics.com/Mini_Skybot/v1.0/ 13 | 14 | 15 | CREDITS 16 | ------- 17 | 18 | 19 | -------------------------------------------------------------------------------- /Miniskybot/parts/Freecad/Mini-skybot-v2.fcstd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Miniskybot/parts/Freecad/Mini-skybot-v2.fcstd -------------------------------------------------------------------------------- /Miniskybot/parts/Freecad/non-printable/bolt.scad: -------------------------------------------------------------------------------- 1 | drill=2; 2 | length=5; 3 | head_thickness=1.5; 4 | head_diameter=4; 5 | 6 | 7 | union() { 8 | translate([0,0,-length/2-head_thickness/2]) 9 | cylinder(h=length, r=drill/2,center=true, $fn=20); 10 | 11 | difference() { 12 | cylinder(h=head_thickness, r=head_diameter/2, $fn=20, center=true); 13 | 14 | translate([0,0,5]) 15 | cube([head_diameter+2, 1,10],center=true); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Miniskybot/parts/Freecad/non-printable/marbel.scad: -------------------------------------------------------------------------------- 1 | sphere(r=16/2); -------------------------------------------------------------------------------- /Miniskybot/parts/Freecad/non-printable/nut.scad: -------------------------------------------------------------------------------- 1 | //-- Nut 2 | nut_h = 2.5; 3 | nut_radius = 6.4/2; 4 | nut_drill = 3.1; 5 | 6 | difference() { 7 | cylinder(r=nut_radius, h = nut_h, $fn=6,center=true); 8 | cylinder(r=nut_drill/2, h=10,center=true, $fn=20); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Miniskybot/parts/Freecad/non-printable/o-ring.scad: -------------------------------------------------------------------------------- 1 | oring_diameter = 15; //-- Interior diameter 2 | oring_width=3; 3 | 4 | rotate_extrude(convexity = 10, $fn=50) 5 | translate([oring_diameter/2 + oring_width/2, 0, 0]) 6 | circle(r = oring_width/2, $fn = 50); 7 | -------------------------------------------------------------------------------- /Miniskybot/parts/futaba3003/futaba_plate.scad: -------------------------------------------------------------------------------- 1 | module futaba_plate() 2 | { 3 | dxf_rotate_extrude(file="futaba-plate.dxf", layer="section"); 4 | 5 | } 6 | 7 | 8 | futaba_plate(); 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Miniskybot/simulation/octave-matlab/@miniskybot/display.m: -------------------------------------------------------------------------------- 1 | %%-------------------------------------------------------------------- 2 | %%-- Miniskybot Class 3 | %%-- (c) Juan Gonzalez-Gomez (Obijuan) juan@iearobotics.com 4 | %%-- May, 2012. Robotics and Cybernetics group. UPM 5 | %%---------------------------------------------------------------------- 6 | %%-- Released under the GPL license 7 | %%---------------------------------------------------------------------- 8 | 9 | %%--------------------------------- 10 | %%-- Method: display 11 | %%-- Inputs: 12 | %%-- r: A Miniskybot object 13 | %%-- Print information about the robot object 14 | %%--------------------------------- 15 | 16 | function display (r) 17 | fprintf('%s = \n', inputname(1)); 18 | fprintf(' Pose: '); disp(r.pose); 19 | fprintf(' v: '); disp(r.v); 20 | fprintf(' w: '); disp(r.w); 21 | end 22 | 23 | -------------------------------------------------------------------------------- /Miniskybot/simulation/octave-matlab/@miniskybot/get.m: -------------------------------------------------------------------------------- 1 | %%-------------------------------------------------------------------- 2 | %%-- Miniskybot Class 3 | %%-- (c) Juan Gonzalez-Gomez (Obijuan) juan@iearobotics.com 4 | %%-- May, 2012. Robotics and Cybernetics group. UPM 5 | %%---------------------------------------------------------------------- 6 | %%-- Released under the GPL license 7 | %%---------------------------------------------------------------------- 8 | 9 | %%--------------------------------- 10 | %%-- Method: get 11 | %%-- Inputs: 12 | %%-- r: A Miniskybot object 13 | %%-- f: a string with the name of the attribute to get 14 | %%--------------------------------- 15 | function s = get (r, f) 16 | switch(f) 17 | case 'pose' 18 | s = r.pose; 19 | case 'v' 20 | s = r.v; 21 | case 'w' 22 | s= r.w; 23 | case 'vmax' 24 | s= r.vmax; 25 | case 'wmax' 26 | s= r.wmax; 27 | end 28 | end 29 | 30 | 31 | -------------------------------------------------------------------------------- /Miniskybot/simulation/octave-matlab/deg2rad.m: -------------------------------------------------------------------------------- 1 | %%-------------------------------------- 2 | %%-- Conversion from degrees to radians 3 | %%-------------------------------------- 4 | function rad=deg2rad(deg) 5 | rad= deg*pi/180; 6 | end 7 | -------------------------------------------------------------------------------- /Miniskybot/simulation/octave-matlab/set_axis.m: -------------------------------------------------------------------------------- 1 | %%--------------------------------------------- 2 | %%-- Help function for seting the axis scale 3 | %%--------------------------------------------- 4 | function set_axis(l) 5 | axis([-l/2 l/2 -l/2 l/2]); 6 | grid on; 7 | end 8 | -------------------------------------------------------------------------------- /Miniskybot/software/README: -------------------------------------------------------------------------------- 1 | This is the software that can be used to control the Miniskybot robot. 2 | -------------------------------------------------------------------------------- /PRUEBA_BLUETOOTH/PRUEBA_BLUETOOTH.pde: -------------------------------------------------------------------------------- 1 | char val; // variable to receive data from the serial port 2 | int ledpin = 13; // LED connected to pin 48 (on-board LED) 3 | void setup() { 4 | pinMode(ledpin, OUTPUT); // pin 48 (on-board LED) as OUTPUT 5 | Serial.begin(57600); // start serial communication at 9600bps 6 | } 7 | void loop() { 8 | if( Serial.available() ) // if data is available to read 9 | { 10 | val = Serial.read(); // read it and store it in 'val' 11 | } 12 | if( val == 'H' ) // if 'H' was received 13 | { 14 | digitalWrite(ledpin, HIGH); // turn ON the LED 15 | } else { 16 | digitalWrite(ledpin, LOW); // otherwise turn it OFF 17 | } 18 | delay(100); // wait 100ms for next reading 19 | } 20 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | Projects I do in Arduino. 2 | 3 | -------------------------------------------------------------------------------- /Robot/Example/Skybot/Skybot.pde: -------------------------------------------------------------------------------- 1 | //Es necesario tener instalada la librería Rueda para un correcto funcionamiento. 2 | #include 3 | #include 4 | #include 5 | //Declaración objeto tipo Robot. 6 | Robot skybot; 7 | 8 | 9 | void setup() 10 | { 11 | /* 12 | Configuración motores 13 | robot.motores(pin_izq,center_izq,pin_dch,center_dch) 14 | pin_izq: indicamos el pin al que está conectado el motor izquierda. 15 | center_izq: indicamo el valor para el cual el servo se para. 16 | pin_dch: indicamos el pin al que está conectado el motor derecha. 17 | center_dch: indicamo el valor para el cual el servo se para. 18 | */ 19 | skybot.motores(8,1560,9,1345); 20 | 21 | Serial.begin(9600); 22 | 23 | } 24 | 25 | void loop(){ 26 | /* 27 | Accionamiento del motor: 28 | en funcion de la escala del -10 al 10 se con distinta velocidad lineal. 29 | */ 30 | // mover(velocidad_lineal,velocidad_angular) 31 | skybot.mover(10,0); 32 | } -------------------------------------------------------------------------------- /Robot/README: -------------------------------------------------------------------------------- 1 | //----------------- 2 | //-- Librería Robot V1.0 3 | //-- Santiago López Pina, Junio 2012 4 | // 5 | Librería robot, simplifica el uso de la programación con robots. Ver el ejemplo robot.pde para más información sobre el uso de la librería. 6 | 7 | -------------------------------------------------------------------------------- /Robot/Robot.h: -------------------------------------------------------------------------------- 1 | //------------------------------------- 2 | //-- Robot.h 3 | //-- Santiago López Pina (darkomen), Junio 2012 4 | 5 | 6 | #ifndef Robot_h 7 | #define Robot_h 8 | #include 9 | #include 10 | #include 11 | //-- Constantes usadas para facilitar la sintaxis del programa 12 | class Robot 13 | { 14 | 15 | public: 16 | //Robot nombre; 17 | Robot(){}; 18 | // nombre.motores(pin_iz, center_iz, pin_dch, center_dch); 19 | // - parametros de los motores 20 | void motores(int pin_iz, int center_iz,int pin_dch,int center_dch); 21 | // nomber.mover(x); 22 | // - mandamos mover al motor. 23 | void mover(int lineal, int angular); 24 | 25 | //Variables internas de la librería. 26 | private: 27 | Rueda _izquierda; 28 | Rueda _derecha; 29 | int _center_iz; 30 | int _pin_iz; 31 | int _center_dch; 32 | int _pin_dch; 33 | int _lineal; 34 | int _angular; 35 | int v_right; 36 | int v_left; 37 | }; 38 | #endif -------------------------------------------------------------------------------- /Rueda/Examples/Rueda/Rueda.pde: -------------------------------------------------------------------------------- 1 | //Es necesario incluir librería servo.h 2 | #include 3 | #include 4 | //Declaración objeto tipo rueda 5 | Rueda izquierda; 6 | 7 | void setup() 8 | { 9 | /* 10 | Configuración rueda izquierda: 11 | nombre.attach(pin,center,tipo) 12 | pin: Pin al que está conectado el servo. 13 | center: Valor númerico para el cual, el servo se detiene. 14 | tipo: Motor a la izquierda (0) o a la derecha (1) del robot. 15 | */ 16 | izquierda.attach(8,1600,1); 17 | Serial.begin(9600); 18 | 19 | } 20 | 21 | void loop(){ 22 | //Valor desde -10 a 10 para indicar la velocidad de movimiento de la rueda. 23 | izquierda.set_move(10); 24 | } 25 | 26 | -------------------------------------------------------------------------------- /Rueda/README: -------------------------------------------------------------------------------- 1 | //----------------- 2 | //-- Librería Rueda V1.0 3 | //-- Santiago López Pina, Junio 2012 4 | // 5 | Librería rueda, simplifica el uso de la programación con servos trucados para que giren 360º. Ver el ejemplo Rueda.pde para más información sobre el uso de la librería. 6 | 7 | -------------------------------------------------------------------------------- /Rueda/Rueda.h: -------------------------------------------------------------------------------- 1 | #ifndef Rueda_h 2 | #define Rueda_h 3 | #include 4 | #include 5 | 6 | class Rueda 7 | { 8 | 9 | public: 10 | Rueda(){}; 11 | void attach(int pin,unsigned int center,bool type); 12 | void set_move(int dir); 13 | 14 | 15 | private: 16 | Servo _servo; 17 | unsigned int _center; 18 | int _dir; 19 | int _pin; 20 | bool _type; 21 | 22 | }; 23 | #endif -------------------------------------------------------------------------------- /Sensor_aparcar/Sensor_aparcar.pde: -------------------------------------------------------------------------------- 1 | // Ultrasonic.h - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | #include 6 | #include 7 | long tiempo=0; 8 | Ultrasonic ultrasonic(9,8); // (Trig PIN,Echo PIN) 9 | Tone tone1; 10 | 11 | void setup() { 12 | Serial.begin(9600); 13 | tone1.begin(12); 14 | } 15 | 16 | void loop() 17 | { 18 | Serial.println(ultrasonic.Ranging(CM)); 19 | if (ultrasonic.Ranging(CM) > 60){ // CM or INC{ 20 | tone1.stop(); 21 | } 22 | else if (ultrasonic.Ranging(CM) <= 30 && ultrasonic.Ranging(CM) > 10){ 23 | tiempo=200; 24 | tone1.play(NOTE_A7, tiempo); 25 | delay(tiempo*2); 26 | } 27 | else if(ultrasonic.Ranging(CM) <= 10 && ultrasonic.Ranging(CM) > 5){ 28 | tiempo=100; 29 | tone1.play(NOTE_A7, tiempo); 30 | delay(tiempo*2); 31 | } 32 | else if(ultrasonic.Ranging(CM) <= 5){ 33 | tone1.play(NOTE_A7); 34 | } 35 | 36 | 37 | } 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /Skybot/README: -------------------------------------------------------------------------------- 1 | Para que el programa funcione es necesario instalar la libreria Ultrasonic. 2 | Para instalarla es necesario ver la carpeta de Sketcbox que está configurada en arduino (Archivo>Preferencias) -------------------------------------------------------------------------------- /Skybot/Ultrasonic/Ultrasonic.cpp: -------------------------------------------------------------------------------- 1 | // Ultrasonic - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | #include "WProgram.h" 6 | #include "Ultrasonic.h" 7 | 8 | Ultrasonic::Ultrasonic(int TP, int EP) 9 | { 10 | pinMode(TP,OUTPUT); 11 | pinMode(EP,INPUT); 12 | Trig_pin=TP; 13 | Echo_pin=EP; 14 | } 15 | 16 | long Ultrasonic::Timing() 17 | { 18 | digitalWrite(Trig_pin, LOW); 19 | delayMicroseconds(2); 20 | digitalWrite(Trig_pin, HIGH); 21 | delayMicroseconds(10); 22 | digitalWrite(Trig_pin, LOW); 23 | duration = pulseIn(Echo_pin,HIGH,30000); 24 | if ( duration == 0 ) {duration = 30000;} 25 | return duration; 26 | } 27 | 28 | long Ultrasonic::Ranging(int sys) 29 | { 30 | Timing(); 31 | distacne_cm = duration /29 / 2 ; 32 | distance_inc = duration / 74 / 2; 33 | if (sys) 34 | return distacne_cm; 35 | else 36 | return distance_inc; 37 | } -------------------------------------------------------------------------------- /Skybot/Ultrasonic/Ultrasonic.h: -------------------------------------------------------------------------------- 1 | // Ultrasonic - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | 6 | #ifndef Ultrasonic_h 7 | #define Ultrasonic_h 8 | 9 | #include "WProgram.h" 10 | 11 | #define CM 1 12 | #define INC 0 13 | 14 | class Ultrasonic 15 | { 16 | public: 17 | Ultrasonic(int TP, int EP); 18 | long Timing(); 19 | long Ranging(int sys); 20 | 21 | private: 22 | int Trig_pin; 23 | int Echo_pin; 24 | long duration,distacne_cm,distance_inc; 25 | 26 | }; 27 | 28 | #endif -------------------------------------------------------------------------------- /Skybot/Ultrasonic/examples/LCD/LCD.pde: -------------------------------------------------------------------------------- 1 | // Ultrasonic.h - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | #include 6 | #include 7 | LiquidCrystal lcd(12, 11, 5, 4, 3, 2); 8 | Ultrasonic ultrasonic(9,8); // (Trig PIN,Echo PIN) 9 | 10 | void setup() { 11 | lcd.begin(16, 2); 12 | } 13 | 14 | void loop() 15 | { 16 | lcd.clear(); 17 | lcd.setCursor(0, 0); 18 | lcd.print(ultrasonic.Ranging(CM)); // CM or INC 19 | lcd.print("cm"); 20 | delay(100); 21 | } -------------------------------------------------------------------------------- /Skybot/Ultrasonic/examples/Serial/Serial.pde: -------------------------------------------------------------------------------- 1 | // Ultrasonic.h - Library for HR-SC04 Ultrasonic Ranging Module. 2 | // Rev. 2 (06/2011) 3 | // www.arduino.com.es 4 | 5 | #include 6 | Ultrasonic ultrasonic(9,8); // (Trig PIN,Echo PIN) 7 | 8 | void setup() { 9 | Serial.begin(9600); 10 | } 11 | 12 | void loop() 13 | { 14 | Serial.print(ultrasonic.Ranging(CM)); // CM or INC 15 | Serial.println(" cm" ); 16 | delay(100); 17 | } -------------------------------------------------------------------------------- /Skybot/skybot/skybot.pde: -------------------------------------------------------------------------------- 1 | int distancia; 2 | int sp = 10; 3 | int loop_cnt=0; 4 | int orden; 5 | #define SERVO1 9 6 | #define SERVO2 10 7 | #define CEN 0 8 | #include 9 | Ultrasonic ultrasonic(7,6); // (Trig PIN,Echo PIN) 10 | 11 | void setup() 12 | { 13 | Serial.begin(9600); 14 | } 15 | 16 | void loop() 17 | { 18 | if( loop_cnt > 100 ) { // every 100 msecs get new data 19 | loop_cnt = 0; 20 | distancia = ultrasonic.Ranging(CM); 21 | Serial.println(distancia); 22 | } 23 | loop_cnt++; 24 | if (distancia >= sp ) 25 | { 26 | throttle(-100,-100); 27 | 28 | }else { 29 | throttle(-100,0); 30 | 31 | } 32 | 33 | 34 | } 35 | 36 | // Maneja el avance o retroceso, recibe la velocidad desde -100 a 100 % 37 | void throttle(int Mot1, int Mot2) 38 | { 39 | analogWrite(SERVO1,(Mot1> CEN || Mot1<-CEN) ? map(-Mot1,-100,100,135,225):0); 40 | //Giro al contrario 41 | analogWrite(SERVO2,(-Mot2> CEN || -Mot2<-CEN) ? map(Mot2,-100,100,135,225):0); 42 | } 43 | 44 | 45 | -------------------------------------------------------------------------------- /Termometro/applet/HardwareSerial.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/HardwareSerial.cpp.o -------------------------------------------------------------------------------- /Termometro/applet/Print.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/Print.cpp.o -------------------------------------------------------------------------------- /Termometro/applet/WInterrupts.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/WInterrupts.c.o -------------------------------------------------------------------------------- /Termometro/applet/WMath.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/WMath.cpp.o -------------------------------------------------------------------------------- /Termometro/applet/core.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/core.a -------------------------------------------------------------------------------- /Termometro/applet/pins_arduino.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/pins_arduino.c.o -------------------------------------------------------------------------------- /Termometro/applet/temp_lm35.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include "WProgram.h" 4 | void setup(); 5 | void loop(); 6 | int sensorPin = 0; 7 | int valor = 0; 8 | 9 | void setup() 10 | { 11 | Serial.begin(9600); 12 | } 13 | 14 | void loop() { 15 | 16 | valor = analogRead(sensorPin); 17 | Serial.print("Temperatura en habitacion: "); 18 | Serial.print(valor*500/1024,DEC); 19 | Serial.println(" C"); 20 | delay(1000); 21 | 22 | } 23 | 24 | int main(void) 25 | { 26 | init(); 27 | 28 | setup(); 29 | 30 | for (;;) 31 | loop(); 32 | 33 | return 0; 34 | } 35 | 36 | -------------------------------------------------------------------------------- /Termometro/applet/temp_lm35.cpp.eep: -------------------------------------------------------------------------------- 1 | :00000001FF 2 | -------------------------------------------------------------------------------- /Termometro/applet/temp_lm35.cpp.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/temp_lm35.cpp.elf -------------------------------------------------------------------------------- /Termometro/applet/temp_lm35.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/temp_lm35.cpp.o -------------------------------------------------------------------------------- /Termometro/applet/wiring.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/wiring.c.o -------------------------------------------------------------------------------- /Termometro/applet/wiring_analog.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/wiring_analog.c.o -------------------------------------------------------------------------------- /Termometro/applet/wiring_digital.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/wiring_digital.c.o -------------------------------------------------------------------------------- /Termometro/applet/wiring_pulse.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/wiring_pulse.c.o -------------------------------------------------------------------------------- /Termometro/applet/wiring_shift.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/Termometro/applet/wiring_shift.c.o -------------------------------------------------------------------------------- /Termometro/temp_lm35/temp_lm35.pde: -------------------------------------------------------------------------------- 1 | //http://www.adafruit.com/products/165 2 | float tempC; 3 | int reading; 4 | int tempPin = 0; 5 | 6 | void setup() 7 | { 8 | analogReference(INTERNAL); 9 | Serial.begin(9600); 10 | } 11 | 12 | float temperatura() 13 | { 14 | reading = analogRead(tempPin); 15 | return reading / 9.31; 16 | } 17 | 18 | void loop() 19 | { 20 | sendMessage(temperatura()); 21 | delay(1000); 22 | } 23 | 24 | 25 | void sendMessage(float temp){ 26 | Serial.flush(); 27 | // send the given tag and value to the serial port 28 | Serial.println("HEADER"); 29 | //Serial.print(":"); 30 | Serial.println(temp); 31 | } 32 | 33 | -------------------------------------------------------------------------------- /Ultrasonido/Ultrasonido.ino: -------------------------------------------------------------------------------- 1 | #include 2 | int distancia; 3 | #define TRIGER 6 4 | #define ECHO 7 5 | 6 | Ultrasonic ultrasonic(TRIGER,ECHO); // (Trig PIN,Echo PIN) 7 | 8 | void setup() { 9 | pinMode(TRIGER,OUTPUT); 10 | pinMode(ECHO,INPUT); 11 | Serial.begin(9600); 12 | } 13 | 14 | void loop() 15 | { 16 | distancia = ultrasonic.Ranging(CM); 17 | Serial.print(distancia); // CM or INC 18 | Serial.println(" cm" ); 19 | delay(100); 20 | } 21 | -------------------------------------------------------------------------------- /arduino-0022.dmg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/arduino-0022.dmg -------------------------------------------------------------------------------- /control_servo_continuo/Button/Examples/Button/Button.pde: -------------------------------------------------------------------------------- 1 | /** 2 | * Button 3 | * by BREVIG http://alexanderbrevig.com 4 | * 5 | * Use a button connected to digital pin 12. 6 | * Digital pin 12 is used as input and connected to a button 7 | * When the button is pressed, the Wiring board LED turn ON, 8 | * the LED turns OFF when the button is released. 9 | * 10 | * This example simulates the switch example 11 | */ 12 | 13 | #include 14 | 15 | /* 16 | Wire like this: 17 | GND -----/ button ------ pin 12 18 | */ 19 | Button button = Button(12,BUTTON_PULLUP_INTERNAL); 20 | 21 | void setup() 22 | { 23 | pinMode(48,OUTPUT); 24 | } 25 | 26 | void loop() 27 | { 28 | if(button.isPressed()) 29 | { 30 | digitalWrite(48,HIGH); 31 | } 32 | else 33 | { 34 | digitalWrite(48,LOW); 35 | } 36 | } -------------------------------------------------------------------------------- /control_servo_continuo/Serial/Serial.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | Servo servo1; 4 | 5 | void setup() 6 | { 7 | pinMode(13,OUTPUT); 8 | servo1.attach(9); 9 | Serial.begin(57600); 10 | } 11 | 12 | void loop() 13 | { 14 | if ( Serial.available()){ 15 | servo1.write(Serial.read()); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /control_servo_continuo/Serial/velocidad.app/Contents/MacOS/JavaApplicationStub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/control_servo_continuo/Serial/velocidad.app/Contents/MacOS/JavaApplicationStub -------------------------------------------------------------------------------- /control_servo_continuo/Serial/velocidad.app/Contents/MacOS/JavaApplicationStub64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/control_servo_continuo/Serial/velocidad.app/Contents/MacOS/JavaApplicationStub64 -------------------------------------------------------------------------------- /control_servo_continuo/Serial/velocidad.app/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPL???? -------------------------------------------------------------------------------- /control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/RXTXcomm.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/RXTXcomm.jar -------------------------------------------------------------------------------- /control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/controlP5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/controlP5.jar -------------------------------------------------------------------------------- /control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/core.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/core.jar -------------------------------------------------------------------------------- /control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/librxtxSerial.jnilib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/librxtxSerial.jnilib -------------------------------------------------------------------------------- /control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/serial.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/serial.jar -------------------------------------------------------------------------------- /control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/velocidad.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/control_servo_continuo/Serial/velocidad.app/Contents/Resources/Java/velocidad.jar -------------------------------------------------------------------------------- /control_servo_continuo/Serial/velocidad.app/Contents/Resources/sketch.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/control_servo_continuo/Serial/velocidad.app/Contents/Resources/sketch.icns -------------------------------------------------------------------------------- /control_servo_continuo/potenciometro/potenciometro.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | Servo servo1; 4 | 5 | int potpin = 0; // analog pin used to connect the potentiometer 6 | int val; // variable to read the value from the analog pin 7 | void setup() 8 | { 9 | pinMode(13,OUTPUT); 10 | servo1.attach(9); 11 | Serial.begin(9600); 12 | } 13 | 14 | void loop() 15 | { 16 | val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023) 17 | val = map(val, 0, 1023, 0, 300); // scale it to use it with the servo (value between 0 and 180) 18 | servo1.write(val); 19 | Serial.println(val); 20 | } 21 | 22 | -------------------------------------------------------------------------------- /skybot2/Android/Skybot/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /skybot2/Android/Skybot/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Skybot 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /skybot2/Android/Skybot/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/Skybot.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/Skybot.apk -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes.dex -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/BuildConfig.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R$attr.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R$drawable.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R$id.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R$layout.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R$string.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/R.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity$1.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity$2.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity$3.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity$4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity$4.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity$5.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity$5.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/classes/skybot/bluetooth/SkybotActivity.class -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependecy. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /skybot2/Android/Skybot/bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/bin/resources.ap_ -------------------------------------------------------------------------------- /skybot2/Android/Skybot/gen/skybot/bluetooth/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package skybot.bluetooth; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /skybot2/Android/Skybot/libs/AmarinoLibrary.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/libs/AmarinoLibrary.jar -------------------------------------------------------------------------------- /skybot2/Android/Skybot/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /skybot2/Android/Skybot/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-10 15 | -------------------------------------------------------------------------------- /skybot2/Android/Skybot/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /skybot2/Android/Skybot/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /skybot2/Android/Skybot/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /skybot2/Android/Skybot/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/skybot2/Android/Skybot/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /skybot2/Android/Skybot/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hello World, SkybotActivity! 5 | Skybot 6 | Adelante 7 | Detras 8 | Izquierda 9 | Derecha 10 | paro 11 | 12 | -------------------------------------------------------------------------------- /skybot2/arduino/rueda/rueda.h: -------------------------------------------------------------------------------- 1 | #ifndef Rueda_h 2 | #define Rueda_h 3 | 4 | 5 | class Rueda 6 | { 7 | public: 8 | 9 | //-- Constructor 10 | Rueda(); 11 | 12 | //-- Add a new servo to the worm. It should be done 13 | //-- during the Setup 14 | void add_servo(int pin, bool rev=false); 15 | 16 | //-- Set the amplitude (deg) 17 | void set_stop(unsigned int D, int servo = -1); 18 | 19 | 20 | 21 | //-- Update the worm state. This method should be 22 | //-- called periodically from the main loop() function 23 | void refresh(); 24 | 25 | 26 | private: 27 | //-- Number of servos in the robot 28 | int _nservo 29 | //-- Current initial phase 30 | int _stop; 31 | 32 | //-- Current phase difference 33 | int _direction; 34 | }; 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /skybot2/arduino/skybot2/skybot2.pde: -------------------------------------------------------------------------------- 1 | class rueda 2 | { 3 | public: 4 | 5 | //-- Constructor 6 | rueda(); 7 | 8 | //-- Add a new servo to the worm. It should be done 9 | //-- during the Setup 10 | void add_servo(int pin, bool rev=false); 11 | 12 | //-- Assign a "wave" to the worm 13 | void set_stop(Wave w, int servo = -1); 14 | 15 | //-- Set the amplitude (deg) 16 | void set_dir(unsigned int D, int servo = -1); 17 | 18 | 19 | //-- Update the worm state. This method should be 20 | //-- called periodically from the main loop() function 21 | void refresh(); 22 | 23 | }; 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /skybot2/processing/Keyboard/Keyboard.pde: -------------------------------------------------------------------------------- 1 | /** 2 | * Keyboard. 3 | * 4 | * Click on the image to give it focus and press the letter keys 5 | * to create forms in time and space. Each key has a unique identifying 6 | * number called its ASCII value. These numbers can be used to position 7 | * shapes in space. 8 | */ 9 | 10 | import controlP5.*; 11 | import processing.serial.*; 12 | 13 | Serial arduino; //Creamos un objeto tipo serial y lo llamamos arduino 14 | ControlP5 controlP5; 15 | 16 | int rectWidth; 17 | 18 | void setup() { 19 | String portName = Serial.list()[0]; 20 | arduino = new Serial(this, portName, 9600); 21 | size(200, 200); 22 | noStroke(); 23 | background(0); 24 | rectWidth = width/4; 25 | } 26 | 27 | void draw() { 28 | // keep draw() here to continue looping while waiting for keys 29 | } 30 | 31 | void keyPressed() { 32 | arduino.write(key); 33 | println(key); 34 | } 35 | -------------------------------------------------------------------------------- /velocidad/.sconsign.dblite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darkomen/Arduino/2a60696747b4aa360dabec4f0acaafcef7f83e9d/velocidad/.sconsign.dblite --------------------------------------------------------------------------------