├── digistump-sam ├── programmers.txt ├── cores │ └── digix │ │ ├── avr │ │ └── interrupt.h │ │ ├── Server.h │ │ └── Client.h ├── system │ └── CMSIS │ │ ├── Version 2.10 │ │ ├── ATMEL Version 2.10.107 │ │ ├── Examples │ │ └── cmsis_example │ │ │ ├── gcc │ │ │ ├── build.bat │ │ │ ├── build_debug.bat │ │ │ ├── sam4s_ek_sram.gdb │ │ │ ├── sam3u_ek_sram.gdb │ │ │ ├── sam3n_ek_sram.gdb │ │ │ ├── sam3s_ek2_sram.gdb │ │ │ ├── sam3s_ek_sram.gdb │ │ │ ├── sam3x_ek_sram.gdb │ │ │ ├── sam4s_ek_flash.gdb │ │ │ ├── sam3u_ek_flash.gdb │ │ │ ├── sam3x_ek_flash.gdb │ │ │ ├── sam3s_ek2_flash.gdb │ │ │ ├── sam3s_ek_flash.gdb │ │ │ └── sam3n_ek_flash.gdb │ │ │ ├── gcc_arm │ │ │ ├── build.bat │ │ │ ├── build_debug.bat │ │ │ ├── rm.exe │ │ │ ├── make.exe │ │ │ ├── libintl3.dll │ │ │ ├── libiconv2.dll │ │ │ ├── sam4s_ek_sram.gdb │ │ │ ├── sam3u_ek_sram.gdb │ │ │ ├── sam3n_ek_sram.gdb │ │ │ ├── sam3s_ek2_sram.gdb │ │ │ ├── sam3s_ek_sram.gdb │ │ │ ├── sam3x_ek_sram.gdb │ │ │ ├── sam4s_ek_flash.gdb │ │ │ ├── sam3u_ek_flash.gdb │ │ │ ├── sam3x_ek_flash.gdb │ │ │ ├── sam3s_ek2_flash.gdb │ │ │ ├── sam3s_ek_flash.gdb │ │ │ └── sam3n_ek_flash.gdb │ │ │ └── gcc_atmel │ │ │ ├── build.bat │ │ │ ├── build_debug.bat │ │ │ ├── make.exe │ │ │ ├── rm.exe │ │ │ ├── libiconv2.dll │ │ │ ├── libintl3.dll │ │ │ ├── sam4s_ek_sram.gdb │ │ │ ├── sam3u_ek_sram.gdb │ │ │ ├── sam3n_ek_sram.gdb │ │ │ ├── sam3s_ek2_sram.gdb │ │ │ ├── sam3s_ek_sram.gdb │ │ │ ├── sam3x_ek_sram.gdb │ │ │ ├── sam3u_ek_flash.gdb │ │ │ ├── sam3x_ek_flash.gdb │ │ │ ├── sam4s_ek_flash.gdb │ │ │ ├── sam3s_ek2_flash.gdb │ │ │ ├── sam3s_ek_flash.gdb │ │ │ └── sam3n_ek_flash.gdb │ │ └── CMSIS │ │ ├── index.htm │ │ ├── Documentation │ │ ├── DSP_Lib │ │ │ ├── README.txt │ │ │ └── html │ │ │ │ ├── CFFT.gif │ │ │ │ ├── DCT4.gif │ │ │ │ ├── FIR.gif │ │ │ │ ├── LMS.gif │ │ │ │ ├── PID.gif │ │ │ │ ├── RFFT.gif │ │ │ │ ├── bc_s.png │ │ │ │ ├── open.png │ │ │ │ ├── park.gif │ │ │ │ ├── Biquad.gif │ │ │ │ ├── FFTBin.gif │ │ │ │ ├── RIFFT.gif │ │ │ │ ├── clarke.gif │ │ │ │ ├── closed.png │ │ │ │ ├── nav_f.png │ │ │ │ ├── nav_h.png │ │ │ │ ├── sinCos.gif │ │ │ │ ├── tab_a.png │ │ │ │ ├── tab_b.png │ │ │ │ ├── tab_h.png │ │ │ │ ├── tab_s.png │ │ │ │ ├── CFFTQ15.gif │ │ │ │ ├── CFFTQ31.gif │ │ │ │ ├── CIFFTQ15.gif │ │ │ │ ├── CIFFTQ31.gif │ │ │ │ ├── FIRSparse.gif │ │ │ │ ├── RFFTQ15.gif │ │ │ │ ├── RFFTQ31.gif │ │ │ │ ├── RIFFTQ15.gif │ │ │ │ ├── RIFFTQ31.gif │ │ │ │ ├── Variance.gif │ │ │ │ ├── doxygen.png │ │ │ │ ├── Convolution.gif │ │ │ │ ├── FFTBinInput.gif │ │ │ │ ├── FIRLattice.gif │ │ │ │ ├── IIRLattice.gif │ │ │ │ ├── MatrixScale.gif │ │ │ │ ├── SignalFlow.gif │ │ │ │ ├── dotProduct.gif │ │ │ │ ├── parkFormula.gif │ │ │ │ ├── BiquadCascade.gif │ │ │ │ ├── DCT4Equation.gif │ │ │ │ ├── FFTBinOutput.gif │ │ │ │ ├── FIRDecimator.gif │ │ │ │ ├── FIRLPF_coeffs.gif │ │ │ │ ├── FIRLPF_input.gif │ │ │ │ ├── FIRLPF_output.gif │ │ │ │ ├── GEQ_inputchirp.gif │ │ │ │ ├── GEQ_signalflow.gif │ │ │ │ ├── IDCT4Equation.gif │ │ │ │ ├── LinearInterp.gif │ │ │ │ ├── MatrixAddition.gif │ │ │ │ ├── MatrixInverse.gif │ │ │ │ ├── clarkeFormula.gif │ │ │ │ ├── matrixExample.gif │ │ │ │ ├── parkInvFormula.gif │ │ │ │ ├── search │ │ │ │ ├── close.png │ │ │ │ ├── mag_sel.png │ │ │ │ ├── search_l.png │ │ │ │ ├── search_m.png │ │ │ │ ├── search_r.png │ │ │ │ └── nomatches.html │ │ │ │ ├── BiquadPostshift.gif │ │ │ │ ├── FIRInterpolator.gif │ │ │ │ ├── FIRLPF_response.gif │ │ │ │ ├── GEQ_bandresponse.gif │ │ │ │ ├── GEQ_outputchirp.gif │ │ │ │ ├── MatrixTranspose.gif │ │ │ │ ├── clarkeInvFormula.gif │ │ │ │ ├── BiquadDF2Transposed.gif │ │ │ │ ├── ConvolutionEquation.gif │ │ │ │ ├── CorrelateEquation.gif │ │ │ │ ├── FIRLPF_signalflow.gif │ │ │ │ ├── GEQ_allbandresponse.gif │ │ │ │ ├── MatrixSubtraction.gif │ │ │ │ ├── dct4FormatsQ15Table.gif │ │ │ │ ├── dct4FormatsQ31Table.gif │ │ │ │ ├── MatrixMultiplication.gif │ │ │ │ ├── dct4NormalizingF32Table.gif │ │ │ │ ├── dct4NormalizingQ15Table.gif │ │ │ │ ├── dct4NormalizingQ31Table.gif │ │ │ │ ├── linearInterpExampleMethod1.gif │ │ │ │ └── linearInterpExampleMethod2.gif │ │ ├── CMSIS_Core.htm │ │ ├── CMSIS_CM4_SIMD.htm │ │ ├── CMSIS_History.htm │ │ ├── CMSIS_Logo_Final.jpg │ │ ├── CMSIS_DebugSupport.htm │ │ └── CMSIS_System_View_Description.htm │ │ ├── Lib │ │ ├── ARM │ │ │ ├── arm_cortexM3b_math.lib │ │ │ └── arm_cortexM3l_math.lib │ │ └── GCC │ │ │ └── libarm_cortexM3l_math.a │ │ ├── CMSIS END USER LICENCE AGREEMENT.pdf │ │ └── DSP_Lib │ │ ├── Source │ │ ├── GCC │ │ │ └── arm_cortexMx_math_Build.bat │ │ ├── iar │ │ │ └── iar_cortexM_math.eww │ │ └── ARM │ │ │ └── arm_cortexMx_math_Build.bat │ │ └── Examples │ │ ├── arm_fir_example │ │ └── ARM │ │ │ └── arm_fir_example.ini │ │ ├── arm_fft_bin_example │ │ └── ARM │ │ │ └── arm_fft_bin_example.ini │ │ ├── arm_dotproduct_example │ │ └── ARM │ │ │ └── arm_dotproduct_example.ini │ │ ├── arm_matrix_example │ │ └── ARM │ │ │ └── arm_matrix_example.ini │ │ ├── arm_sin_cos_example │ │ └── ARM │ │ │ └── arm_sin_cos_example.ini │ │ ├── arm_variance_example │ │ └── ARM │ │ │ └── arm_variance_example.ini │ │ ├── arm_class_marks_example │ │ ├── ARM │ │ │ └── arm_class_marks_example.ini │ │ └── GCC │ │ │ └── arm_class_marks_example.ini │ │ ├── arm_convolution_example │ │ ├── ARM │ │ │ └── arm_convolution_example.ini │ │ └── GCC │ │ │ └── arm_convolution_example.ini │ │ ├── arm_linear_interp_example │ │ └── ARM │ │ │ └── arm_linear_interp_example.ini │ │ ├── arm_graphic_equalizer_example │ │ └── ARM │ │ │ └── arm_graphic_equalizer_example.ini │ │ └── arm_signal_converge_example │ │ └── ARM │ │ └── arm_signal_converge_example.ini ├── libraries │ ├── RF24Network │ │ ├── .gitignore │ │ ├── examples │ │ │ ├── meshping │ │ │ │ ├── .gitignore │ │ │ │ ├── Jamfile │ │ │ │ ├── nodeconfig.h │ │ │ │ └── printf.h │ │ │ ├── sensornet │ │ │ │ ├── .gitignore │ │ │ │ ├── duinode1.sh │ │ │ │ ├── duinode5.sh │ │ │ │ ├── Jamfile │ │ │ │ ├── duinode3.sh │ │ │ │ ├── DuinodeV1.h │ │ │ │ ├── DuinodeV3.h │ │ │ │ ├── DuinodeV5.h │ │ │ │ ├── S_message.h │ │ │ │ └── printf.h │ │ │ ├── helloworld_rx │ │ │ │ ├── .gitignore │ │ │ │ └── Jamfile │ │ │ ├── helloworld_tx │ │ │ │ ├── .gitignore │ │ │ │ └── Jamfile │ │ │ ├── Jamfile │ │ │ └── maple │ │ │ │ └── Jamfile │ │ ├── README.md │ │ └── tests │ │ │ ├── unit │ │ │ ├── Jamfile │ │ │ ├── README │ │ │ ├── Globals.h │ │ │ └── Globals.cpp │ │ │ ├── unit_rx │ │ │ ├── printf.h │ │ │ └── README │ │ │ └── README │ ├── DigiFi │ │ ├── README.md │ │ └── examples │ │ │ └── ping │ │ │ └── ping.ino │ ├── RTC │ │ ├── README.md │ │ ├── rtc_clock.cpp │ │ ├── .gitignore │ │ └── examples │ │ │ └── Due_RTC_Alarm_Sample │ │ │ └── Due_RTC_Alarm_Sample.ino │ ├── UTFT │ │ ├── UTFT.pdf │ │ ├── Tools │ │ │ ├── ImgConv.exe │ │ │ ├── ImageConverter565.exe │ │ │ ├── UTFT Image Converters.pdf │ │ │ └── Online-tool - ImageConverter 565.url │ │ ├── UTFT_Requirements.pdf │ │ ├── hardware │ │ │ ├── avr │ │ │ │ └── HW_AVR.h │ │ │ ├── arm │ │ │ │ └── HW_ARM.h │ │ │ └── pic32 │ │ │ │ └── HW_PIC32.h │ │ ├── License - CC BY-NC-SA 3.0 - Legal.pdf │ │ ├── License - CC BY-NC-SA 3.0 - Summary.pdf │ │ ├── UTFT_Supported_display_modules_&_controllers.pdf │ │ ├── tft_drivers │ │ │ ├── pcf8833 │ │ │ │ ├── setxy.h │ │ │ │ └── initlcd.h │ │ │ ├── s6d1121 │ │ │ │ └── setxy.h │ │ │ ├── ili9325c │ │ │ │ └── setxy.h │ │ │ ├── s6d0164 │ │ │ │ └── setxy.h │ │ │ ├── ili9325d │ │ │ │ ├── alt │ │ │ │ │ └── setxy.h │ │ │ │ └── default │ │ │ │ │ └── setxy.h │ │ │ ├── ssd1289 │ │ │ │ └── setxy.h │ │ │ ├── ili9320 │ │ │ │ └── setxy.h │ │ │ ├── ili9481 │ │ │ │ └── setxy.h │ │ │ ├── ili9341 │ │ │ │ ├── s5p │ │ │ │ │ └── setxy.h │ │ │ │ └── s4p │ │ │ │ │ └── setxy.h │ │ │ ├── st7735 │ │ │ │ └── setxy.h │ │ │ ├── hx8340b │ │ │ │ ├── 8 │ │ │ │ │ └── setxy.h │ │ │ │ └── s │ │ │ │ │ └── setxy.h │ │ │ ├── s1d19122 │ │ │ │ └── setxy.h │ │ │ ├── st7735s │ │ │ │ └── setxy.h │ │ │ ├── hx8347a │ │ │ │ └── setxy.h │ │ │ ├── hx8352a │ │ │ │ └── setxy.h │ │ │ ├── ili9327 │ │ │ │ └── setxy.h │ │ │ └── ssd1963 │ │ │ │ ├── 480 │ │ │ │ └── setxy.h │ │ │ │ ├── 800 │ │ │ │ └── setxy.h │ │ │ │ └── 800alt │ │ │ │ └── setxy.h │ │ └── examples │ │ │ └── Arduino (ARM) │ │ │ └── UTFT_Rotate_Bitmap │ │ │ └── UTFT_Rotate_Bitmap.ino │ ├── UTouch │ │ ├── UTouch.pdf │ │ ├── License - CC BY-NC-SA 3.0 - Legal.pdf │ │ ├── UTouch_Supported_display_modules.pdf │ │ ├── License - CC BY-NC-SA 3.0 - Summary.pdf │ │ ├── version.txt │ │ └── keywords.txt │ ├── DigiXLCD │ │ └── info │ │ │ ├── BC557.pdf │ │ │ ├── Image.jpg │ │ │ ├── PCF8574P.pdf │ │ │ └── Schematic_diagram.jpg │ ├── RF24 │ │ ├── tests │ │ │ ├── pingpair_blocking │ │ │ │ ├── runtests.sh │ │ │ │ ├── test.ex │ │ │ │ ├── runtest.py │ │ │ │ └── printf.h │ │ │ ├── pingpair_test │ │ │ │ ├── test.ex │ │ │ │ ├── runtest.py │ │ │ │ ├── runtests.sh │ │ │ │ └── printf.h │ │ │ ├── README │ │ │ └── native │ │ │ │ └── printf.h │ │ ├── librf24-rpi │ │ │ ├── librf24 │ │ │ │ ├── librf24.so.1.0 │ │ │ │ ├── compatibility.h │ │ │ │ └── readme.txt │ │ │ └── readme.txt │ │ ├── .gitignore │ │ ├── keywords.txt │ │ └── examples │ │ │ ├── rpi_hub_arduino │ │ │ └── printf.h │ │ │ ├── led_remote │ │ │ └── printf.h │ │ │ ├── nordic_fob │ │ │ └── printf.h │ │ │ ├── pingpair │ │ │ └── printf.h │ │ │ ├── scanner │ │ │ └── printf.h │ │ │ ├── starping │ │ │ └── printf.h │ │ │ ├── GettingStarted │ │ │ └── printf.h │ │ │ ├── pingpair_dyn │ │ │ └── printf.h │ │ │ ├── pingpair_irq │ │ │ └── printf.h │ │ │ ├── pingpair_pl │ │ │ └── printf.h │ │ │ └── pingpair_sleepy │ │ │ └── printf.h │ ├── DigiXBetaBonus │ │ ├── DigiXBetaBonus.h │ │ ├── Bonus_RGB │ │ │ └── Bonus_RGB.ino │ │ └── Bonus_IR_rec │ │ │ └── Bonus_IR_rec.ino │ ├── Wire │ │ ├── examples │ │ │ ├── master_writer │ │ │ │ └── master_writer.pde │ │ │ ├── slave_sender │ │ │ │ └── slave_sender.pde │ │ │ └── master_reader │ │ │ │ └── master_reader.pde │ │ └── keywords.txt │ └── SPI │ │ └── keywords.txt ├── variants │ └── digix │ │ ├── libsam_sam3x8e_gcc_rel.a │ │ └── debug_scripts │ │ └── gcc │ │ ├── arduino_due_x_flash.gdb │ │ └── arduino_due_x_sram.gdb ├── sam.bat └── boards.txt ├── digistump-avr ├── cores │ ├── tiny │ │ ├── WConstants.h │ │ ├── Arduino.h │ │ ├── pins_arduino.c │ │ ├── main.cpp │ │ ├── new.cpp │ │ └── new.h │ └── pro │ │ ├── WProgram.h │ │ ├── main.cpp │ │ ├── new.cpp │ │ └── new.h ├── libraries │ ├── VirtualWire │ │ ├── keywords.txt │ │ ├── CHANGES │ │ ├── README │ │ ├── MANIFEST │ │ └── Makefile │ ├── DigisparkUSB │ │ ├── keywords.txt │ │ ├── DigisparkReadme.txt │ │ ├── osccal.o │ │ ├── libs-device │ │ │ └── osccal.o │ │ ├── rx_buffer.h │ │ ├── usbdrvasm.asm │ │ └── examples │ │ │ ├── Echo │ │ │ └── Echo.ino │ │ │ └── DigiScope │ │ │ └── DigiScope.ino │ ├── Nunchuk │ │ ├── keywords.txt │ │ ├── LICENSE.txt │ │ └── README.txt │ ├── DigisparkOLED │ │ ├── TODO.txt │ │ ├── RESEARCH.txt │ │ └── README.txt │ ├── DigisparkJoystick │ │ ├── keywords.txt │ │ ├── osccal.o │ │ ├── DigiJoystick.h │ │ ├── JoystickReadme.txt │ │ └── usbdrvasm.asm │ ├── DigisparkKeyboard │ │ ├── keywords.txt │ │ ├── osccal.o │ │ ├── usbdrvasm.asm │ │ └── examples │ │ │ └── Keyboard │ │ │ └── Keyboard.ino │ ├── DigisparkRGB │ │ ├── keywords.txt │ │ └── DigisparkRGB.h │ ├── DigisparkIRLib │ │ ├── IRLib.cpp │ │ ├── LICENSE.txt │ │ ├── README.txt │ │ ├── CHANGELOG.txt │ │ ├── IRLibMatch.h │ │ ├── IRLibTimer.h │ │ ├── examples │ │ │ ├── IRserial_remote │ │ │ │ ├── click.wav │ │ │ │ └── remotebg.png │ │ │ └── IRsendDemo │ │ │ │ └── IRsendDemo.ino │ │ └── .gitattributes │ ├── DigisparkMouse │ │ ├── osccal.o │ │ ├── DigiMouse.h │ │ ├── MouseReadme.txt │ │ ├── keywords.txt │ │ └── usbdrvasm.asm │ ├── DigisparkLCD │ │ └── info │ │ │ ├── BC557.pdf │ │ │ ├── Image.jpg │ │ │ ├── PCF8574P.pdf │ │ │ └── Schematic_diagram.jpg │ ├── RF24 │ │ ├── tests │ │ │ ├── pingpair_blocking │ │ │ │ ├── runtests.sh │ │ │ │ ├── test.ex │ │ │ │ ├── runtest.py │ │ │ │ └── printf.h │ │ │ ├── pingpair_test │ │ │ │ ├── test.ex │ │ │ │ ├── runtest.py │ │ │ │ ├── runtests.sh │ │ │ │ └── printf.h │ │ │ ├── README │ │ │ └── native │ │ │ │ └── printf.h │ │ ├── .gitignore │ │ ├── keywords.txt │ │ └── examples │ │ │ ├── scanner │ │ │ └── printf.h │ │ │ ├── pingpair │ │ │ └── printf.h │ │ │ ├── starping │ │ │ └── printf.h │ │ │ ├── GettingStarted │ │ │ └── printf.h │ │ │ ├── led_remote │ │ │ └── printf.h │ │ │ ├── nordic_fob │ │ │ └── printf.h │ │ │ ├── pingpair_dyn │ │ │ └── printf.h │ │ │ ├── pingpair_irq │ │ │ └── printf.h │ │ │ ├── pingpair_pl │ │ │ └── printf.h │ │ │ └── pingpair_sleepy │ │ │ └── printf.h │ ├── DigisparkSimpleServo │ │ ├── .DS_Store │ │ ├── examples │ │ │ └── .DS_Store │ │ └── keywords.txt │ ├── Digispark_Examples │ │ ├── Digispark_Examples.h │ │ ├── BT_BLE_Echo │ │ │ └── BT_BLE_Echo.ino │ │ ├── Infrared │ │ │ └── Infrared.ino │ │ ├── Start │ │ │ └── Start.ino │ │ └── Expander │ │ │ └── Expander.ino │ ├── EEPROM │ │ ├── library.properties │ │ └── keywords.txt │ ├── SPI │ │ └── library.properties │ ├── TinyWireM │ │ ├── library.properties │ │ ├── README.md │ │ └── keywords.txt │ ├── WS2811 │ │ └── examples │ │ │ └── digispark │ │ │ └── digispark.ino │ ├── TinyRTClib │ │ ├── README.md │ │ └── keywords.txt │ ├── DigisparkTinySoftPwm │ │ └── keywords.txt │ ├── DigisparkCDC │ │ ├── examples │ │ │ ├── CDC_LED │ │ │ │ └── CDC_LED.ino │ │ │ └── Echo │ │ │ │ └── Echo.ino │ │ └── usbdrvasm.asm │ ├── LedControl │ │ └── keywords.txt │ ├── DigisparkSoftSerial │ │ └── keywords.txt │ ├── LPD8806 │ │ └── README.md │ ├── Adafruit_NeoPixel │ │ ├── keywords.txt │ │ └── README.md │ ├── DigisparkSoftRcPulseIn │ │ └── keywords.txt │ └── Wire │ │ └── keywords.txt ├── variants │ └── digispark │ │ └── pins_arduino.c └── programmers.txt ├── tools ├── micronucleus-2.0a4-win.zip ├── micronucleus-2.0a4-osx.tar.gz ├── micronucleus-2.0a4-linux32.tar.gz └── micronucleus-2.0a4-linux64.tar.gz └── README.md /digistump-sam/programmers.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /digistump-sam/cores/digix/avr/interrupt.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Version 2.10: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/ATMEL Version 2.10.107: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /digistump-avr/cores/tiny/WConstants.h: -------------------------------------------------------------------------------- 1 | #include "wiring.h" 2 | -------------------------------------------------------------------------------- /digistump-avr/libraries/VirtualWire/keywords.txt: -------------------------------------------------------------------------------- 1 | VirtualWire KEYWORD1 2 | 3 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkUSB/keywords.txt: -------------------------------------------------------------------------------- 1 | DigiUSB KEYWORD1 2 | refresh KEYWORD2 -------------------------------------------------------------------------------- /digistump-avr/libraries/VirtualWire/CHANGES: -------------------------------------------------------------------------------- 1 | See VirtulWire.h for latest change log 2 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/.gitignore: -------------------------------------------------------------------------------- 1 | version.h 2 | output/ 3 | ojam/ 4 | .*.swp 5 | -------------------------------------------------------------------------------- /digistump-avr/cores/pro/WProgram.h: -------------------------------------------------------------------------------- 1 | //For compatibility with older programs 2 | #include "Arduino.h" -------------------------------------------------------------------------------- /digistump-avr/libraries/Nunchuk/keywords.txt: -------------------------------------------------------------------------------- 1 | ArduinoNunchuk KEYWORD1 2 | init KEYWORD2 3 | update KEYWORD2 -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkOLED/TODO.txt: -------------------------------------------------------------------------------- 1 | TODO 2 | 3 | 4 | - Implement power saving mode 5 | 6 | 7 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/meshping/.gitignore: -------------------------------------------------------------------------------- 1 | version.h 2 | output/ 3 | ojam/ 4 | .*.swp 5 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/sensornet/.gitignore: -------------------------------------------------------------------------------- 1 | version.h 2 | output/ 3 | ojam/ 4 | .*.swp 5 | -------------------------------------------------------------------------------- /digistump-sam/libraries/DigiFi/README.md: -------------------------------------------------------------------------------- 1 | DigiFi 2 | ====== 3 | 4 | DigiX WiFi Library for the WIFI232-G Module 5 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/helloworld_rx/.gitignore: -------------------------------------------------------------------------------- 1 | version.h 2 | output/ 3 | ojam/ 4 | .*.swp 5 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/helloworld_tx/.gitignore: -------------------------------------------------------------------------------- 1 | version.h 2 | output/ 3 | ojam/ 4 | .*.swp 5 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkJoystick/keywords.txt: -------------------------------------------------------------------------------- 1 | DigiKeyboard KEYWORD1 2 | update KEYWORD2 3 | sendKeyStroke KEYWORD2 -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkKeyboard/keywords.txt: -------------------------------------------------------------------------------- 1 | DigiKeyboard KEYWORD1 2 | update KEYWORD2 3 | sendKeyStroke KEYWORD2 -------------------------------------------------------------------------------- /digistump-avr/cores/tiny/Arduino.h: -------------------------------------------------------------------------------- 1 | #ifndef Arduino_h 2 | #define Arduino_h 3 | 4 | #include 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /tools/micronucleus-2.0a4-win.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/tools/micronucleus-2.0a4-win.zip -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkRGB/keywords.txt: -------------------------------------------------------------------------------- 1 | DigisparkRGBBegin KEYWORD2 2 | DigisparkRGB KEYWORD2 3 | DigisparkRGBDelay KEYWORD2 -------------------------------------------------------------------------------- /digistump-sam/libraries/RTC/README.md: -------------------------------------------------------------------------------- 1 | Arduino-Due-RTC-Library 2 | ======================= 3 | 4 | RTC Library for the Arduino Due -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/build.bat: -------------------------------------------------------------------------------- 1 | @cs-make --no-builtin-rules --no-builtin-variables >log.txt 2>&1 2 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/build.bat: -------------------------------------------------------------------------------- 1 | @make --no-builtin-rules --no-builtin-variables >log.txt 2>&1 2 | -------------------------------------------------------------------------------- /tools/micronucleus-2.0a4-osx.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/tools/micronucleus-2.0a4-osx.tar.gz -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/UTFT.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTFT/UTFT.pdf -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/build.bat: -------------------------------------------------------------------------------- 1 | @make --no-builtin-rules --no-builtin-variables >log.txt 2>&1 2 | -------------------------------------------------------------------------------- /digistump-avr/cores/tiny/pins_arduino.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/cores/tiny/pins_arduino.c -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkUSB/DigisparkReadme.txt: -------------------------------------------------------------------------------- 1 | Modified for use with an Attiny85 running at 16.5Mhz by Digistump for the Digispark MCU -------------------------------------------------------------------------------- /tools/micronucleus-2.0a4-linux32.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/tools/micronucleus-2.0a4-linux32.tar.gz -------------------------------------------------------------------------------- /tools/micronucleus-2.0a4-linux64.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/tools/micronucleus-2.0a4-linux64.tar.gz -------------------------------------------------------------------------------- /digistump-sam/libraries/RTC/rtc_clock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/RTC/rtc_clock.cpp -------------------------------------------------------------------------------- /digistump-sam/libraries/UTouch/UTouch.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTouch/UTouch.pdf -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/index.htm -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/build_debug.bat: -------------------------------------------------------------------------------- 1 | @cs-make --no-builtin-rules --no-builtin-variables -d >log_debug.txt 2>&1 2 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/build_debug.bat: -------------------------------------------------------------------------------- 1 | @make --no-builtin-rules --no-builtin-variables -d >log_debug.txt 2>&1 2 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkUSB/osccal.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkUSB/osccal.o -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/build_debug.bat: -------------------------------------------------------------------------------- 1 | @make --no-builtin-rules --no-builtin-variables -d >log_debug.txt 2>&1 2 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkIRLib/IRLib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkIRLib/IRLib.cpp -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkMouse/osccal.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkMouse/osccal.o -------------------------------------------------------------------------------- /digistump-avr/variants/digispark/pins_arduino.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/variants/digispark/pins_arduino.c -------------------------------------------------------------------------------- /digistump-sam/libraries/DigiXLCD/info/BC557.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/DigiXLCD/info/BC557.pdf -------------------------------------------------------------------------------- /digistump-sam/libraries/DigiXLCD/info/Image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/DigiXLCD/info/Image.jpg -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/Tools/ImgConv.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTFT/Tools/ImgConv.exe -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkIRLib/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkIRLib/LICENSE.txt -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkIRLib/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkIRLib/README.txt -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkJoystick/osccal.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkJoystick/osccal.o -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkKeyboard/osccal.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkKeyboard/osccal.o -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkMouse/DigiMouse.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkMouse/DigiMouse.h -------------------------------------------------------------------------------- /digistump-sam/libraries/DigiXLCD/info/PCF8574P.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/DigiXLCD/info/PCF8574P.pdf -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/UTFT_Requirements.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTFT/UTFT_Requirements.pdf -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkIRLib/CHANGELOG.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkIRLib/CHANGELOG.txt -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkIRLib/IRLibMatch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkIRLib/IRLibMatch.h -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkIRLib/IRLibTimer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkIRLib/IRLibTimer.h -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkLCD/info/BC557.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkLCD/info/BC557.pdf -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkLCD/info/Image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkLCD/info/Image.jpg -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/tests/pingpair_blocking/runtests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Connect u0 to receiver, u1 to sender 4 | 5 | jam u0 u1 && expect test.ex 6 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/tests/pingpair_blocking/runtests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Connect u0 to receiver, u1 to sender 4 | 5 | jam u0 u1 && expect test.ex 6 | -------------------------------------------------------------------------------- /digistump-sam/variants/digix/libsam_sam3x8e_gcc_rel.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/variants/digix/libsam_sam3x8e_gcc_rel.a -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkLCD/info/PCF8574P.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkLCD/info/PCF8574P.pdf -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkMouse/MouseReadme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkMouse/MouseReadme.txt -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkSimpleServo/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkSimpleServo/.DS_Store -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkJoystick/DigiJoystick.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkJoystick/DigiJoystick.h -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkUSB/libs-device/osccal.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkUSB/libs-device/osccal.o -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/sensornet/duinode1.sh: -------------------------------------------------------------------------------- 1 | jam F_CPU=16000000 "CCFLAGS=-include DuinodeV1.h" -dx UPLOAD_SPEED=115200 u1 && screen /dev/ttyUSB1 57600 2 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/sensornet/duinode5.sh: -------------------------------------------------------------------------------- 1 | jam F_CPU=8000000 "CCFLAGS=-include DuinodeV5.h" -dx UPLOAD_SPEED=57600 u0 && picocom -b 57600 /dev/ttyUSB0 2 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/Tools/ImageConverter565.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTFT/Tools/ImageConverter565.exe -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/hardware/avr/HW_AVR.h: -------------------------------------------------------------------------------- 1 | void UTFT::_convert_float(char *buf, double num, int width, byte prec) 2 | { 3 | dtostrf(num, width, prec, buf); 4 | } 5 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkJoystick/JoystickReadme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkJoystick/JoystickReadme.txt -------------------------------------------------------------------------------- /digistump-sam/libraries/DigiXLCD/info/Schematic_diagram.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/DigiXLCD/info/Schematic_diagram.jpg -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/Tools/UTFT Image Converters.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTFT/Tools/UTFT Image Converters.pdf -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/README.txt: -------------------------------------------------------------------------------- 1 | 2 | NOTE - Open the index.html file inside the html directory to access CMSIS DSP Library documentation 3 | 4 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkLCD/info/Schematic_diagram.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkLCD/info/Schematic_diagram.jpg -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkSimpleServo/examples/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkSimpleServo/examples/.DS_Store -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/librf24-rpi/librf24/librf24.so.1.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/RF24/librf24-rpi/librf24/librf24.so.1.0 -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/README.md: -------------------------------------------------------------------------------- 1 | # Network Layer for nRF24L01(+) radios 2 | 3 | Please see the full documentation at http://maniacbug.github.com/RF24Network/index.html 4 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_Core.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_Core.htm -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Lib/ARM/arm_cortexM3b_math.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Lib/ARM/arm_cortexM3b_math.lib -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Lib/ARM/arm_cortexM3l_math.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Lib/ARM/arm_cortexM3l_math.lib -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkMouse/keywords.txt: -------------------------------------------------------------------------------- 1 | DigiMouse KEYWORD1 2 | update KEYWORD2 3 | moveX KEYWORD2 4 | moveY KEYWORD2 5 | scroll KEYWORD2 6 | move KEYWORD2 7 | setButtons KEYWORD2 -------------------------------------------------------------------------------- /digistump-sam/cores/digix/Server.h: -------------------------------------------------------------------------------- 1 | #ifndef server_h 2 | #define server_h 3 | 4 | class Server : public Print { 5 | public: 6 | virtual void begin() =0; 7 | }; 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_CM4_SIMD.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_CM4_SIMD.htm -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_History.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_History.htm -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Lib/GCC/libarm_cortexM3l_math.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Lib/GCC/libarm_cortexM3l_math.a -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/rm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/rm.exe -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/License - CC BY-NC-SA 3.0 - Legal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTFT/License - CC BY-NC-SA 3.0 - Legal.pdf -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/License - CC BY-NC-SA 3.0 - Summary.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTFT/License - CC BY-NC-SA 3.0 - Summary.pdf -------------------------------------------------------------------------------- /digistump-sam/libraries/UTouch/License - CC BY-NC-SA 3.0 - Legal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTouch/License - CC BY-NC-SA 3.0 - Legal.pdf -------------------------------------------------------------------------------- /digistump-sam/libraries/UTouch/UTouch_Supported_display_modules.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTouch/UTouch_Supported_display_modules.pdf -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_Logo_Final.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_Logo_Final.jpg -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CFFT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CFFT.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/DCT4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/DCT4.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIR.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIR.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/LMS.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/LMS.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/PID.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/PID.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RFFT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RFFT.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/bc_s.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/open.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/park.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/park.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/make.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/make.exe -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/make.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/make.exe -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/rm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/rm.exe -------------------------------------------------------------------------------- /digistump-sam/libraries/UTouch/License - CC BY-NC-SA 3.0 - Summary.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTouch/License - CC BY-NC-SA 3.0 - Summary.pdf -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/CMSIS END USER LICENCE AGREEMENT.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/CMSIS END USER LICENCE AGREEMENT.pdf -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_DebugSupport.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_DebugSupport.htm -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/Biquad.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/Biquad.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FFTBin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FFTBin.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RIFFT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RIFFT.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/clarke.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/clarke.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/closed.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/nav_f.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/nav_h.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/sinCos.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/sinCos.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/tab_a.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/tab_b.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/tab_h.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/tab_s.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/libintl3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/libintl3.dll -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkIRLib/examples/IRserial_remote/click.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkIRLib/examples/IRserial_remote/click.wav -------------------------------------------------------------------------------- /digistump-avr/libraries/Digispark_Examples/Digispark_Examples.h: -------------------------------------------------------------------------------- 1 | //This file allows the Digispark_Examples to appear in the File > Examples menu and fixes the Invalid library warning in Arduino IDE 1.6.6+ 2 | -------------------------------------------------------------------------------- /digistump-sam/libraries/DigiXBetaBonus/DigiXBetaBonus.h: -------------------------------------------------------------------------------- 1 | //This file allows the DigiXBetaBonus sketches to appear in the File > Examples menu and fixes the Invalid library warning in Arduino IDE 1.6.6+ 2 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CFFTQ15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CFFTQ15.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CFFTQ31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CFFTQ31.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CIFFTQ15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CIFFTQ15.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CIFFTQ31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CIFFTQ31.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRSparse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRSparse.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RFFTQ15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RFFTQ15.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RFFTQ31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RFFTQ31.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RIFFTQ15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RIFFTQ15.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RIFFTQ31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/RIFFTQ31.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/Variance.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/Variance.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/doxygen.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/libiconv2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/libiconv2.dll -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/libiconv2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/libiconv2.dll -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/libintl3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/libintl3.dll -------------------------------------------------------------------------------- /digistump-avr/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 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/Convolution.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/Convolution.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FFTBinInput.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FFTBinInput.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLattice.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLattice.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/IIRLattice.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/IIRLattice.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixScale.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixScale.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/SignalFlow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/SignalFlow.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dotProduct.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dotProduct.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/parkFormula.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/parkFormula.gif -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkIRLib/examples/IRserial_remote/remotebg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-avr/libraries/DigisparkIRLib/examples/IRserial_remote/remotebg.png -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/.gitignore: -------------------------------------------------------------------------------- 1 | *.bak 2 | *.o 3 | .*.swp 4 | *.orig 5 | .swp 6 | docs/ 7 | output/ 8 | ojam/ 9 | out/ 10 | 16000000/ 11 | 8000000/ 12 | out_native/ 13 | version.h 14 | Session.vim 15 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/.gitignore: -------------------------------------------------------------------------------- 1 | *.bak 2 | *.o 3 | .*.swp 4 | *.orig 5 | .swp 6 | docs/ 7 | output/ 8 | ojam/ 9 | out/ 10 | 16000000/ 11 | 8000000/ 12 | out_native/ 13 | version.h 14 | Session.vim 15 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/UTFT_Supported_display_modules_&_controllers.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/libraries/UTFT/UTFT_Supported_display_modules_&_controllers.pdf -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/BiquadCascade.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/BiquadCascade.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/DCT4Equation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/DCT4Equation.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FFTBinOutput.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FFTBinOutput.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRDecimator.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRDecimator.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLPF_coeffs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLPF_coeffs.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLPF_input.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLPF_input.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLPF_output.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLPF_output.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/GEQ_inputchirp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/GEQ_inputchirp.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/GEQ_signalflow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/GEQ_signalflow.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/IDCT4Equation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/IDCT4Equation.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/LinearInterp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/LinearInterp.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixAddition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixAddition.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixInverse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixInverse.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/clarkeFormula.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/clarkeFormula.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/matrixExample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/matrixExample.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/parkInvFormula.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/parkInvFormula.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/search/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/search/close.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/search/mag_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/search/mag_sel.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_System_View_Description.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/CMSIS_System_View_Description.htm -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/BiquadPostshift.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/BiquadPostshift.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRInterpolator.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRInterpolator.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLPF_response.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLPF_response.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/GEQ_bandresponse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/GEQ_bandresponse.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/GEQ_outputchirp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/GEQ_outputchirp.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixTranspose.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixTranspose.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/clarkeInvFormula.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/clarkeInvFormula.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/search/search_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/search/search_l.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/search/search_m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/search/search_m.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/search/search_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/search/search_r.png -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/BiquadDF2Transposed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/BiquadDF2Transposed.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/ConvolutionEquation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/ConvolutionEquation.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CorrelateEquation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/CorrelateEquation.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLPF_signalflow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/FIRLPF_signalflow.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/GEQ_allbandresponse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/GEQ_allbandresponse.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixSubtraction.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixSubtraction.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dct4FormatsQ15Table.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dct4FormatsQ15Table.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dct4FormatsQ31Table.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dct4FormatsQ31Table.gif -------------------------------------------------------------------------------- /digistump-sam/libraries/RTC/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files 2 | *.slo 3 | *.lo 4 | *.o 5 | 6 | # Compiled Dynamic libraries 7 | *.so 8 | *.dylib 9 | 10 | # Compiled Static libraries 11 | *.lai 12 | *.la 13 | *.a 14 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixMultiplication.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/MatrixMultiplication.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dct4NormalizingF32Table.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dct4NormalizingF32Table.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dct4NormalizingQ15Table.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dct4NormalizingQ15Table.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dct4NormalizingQ31Table.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/dct4NormalizingQ31Table.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/linearInterpExampleMethod1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/linearInterpExampleMethod1.gif -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/linearInterpExampleMethod2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digistump/DigistumpArduino/HEAD/digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/linearInterpExampleMethod2.gif -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/hardware/arm/HW_ARM.h: -------------------------------------------------------------------------------- 1 | void UTFT::_convert_float(char *buf, double num, int width, byte prec) 2 | { 3 | char format[10]; 4 | 5 | sprintf(format, "%%%i.%if", width, prec); 6 | sprintf(buf, format, num); 7 | } 8 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/hardware/pic32/HW_PIC32.h: -------------------------------------------------------------------------------- 1 | void UTFT::_convert_float(char *buf, double num, int width, byte prec) 2 | { 3 | char format[10]; 4 | 5 | sprintf(format, "%%%i.%if", width, prec); 6 | sprintf(buf, format, num); 7 | } 8 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/Jamfile: -------------------------------------------------------------------------------- 1 | SubDir TOP libraries RF24Network examples sensornet ; 2 | 3 | LOCATE_SOURCE = $(SUBDIR)/$(PINS) ; 4 | LOCATE_TARGET = $(SUBDIR)/$(PINS) ; 5 | 6 | ArduinoWithLibs Main : RF24Network RF24 Tictocs SPI ; 7 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/meshping/Jamfile: -------------------------------------------------------------------------------- 1 | SubDir TOP libraries RF24Network examples meshping ; 2 | 3 | LOCATE_SOURCE = $(SUBDIR)/$(PINS) ; 4 | LOCATE_TARGET = $(SUBDIR)/$(PINS) ; 5 | 6 | ArduinoWithLibs Main : RF24Network RF24 Tictocs SPI ; 7 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/sensornet/Jamfile: -------------------------------------------------------------------------------- 1 | SubDir TOP libraries RF24Network examples sensornet ; 2 | 3 | LOCATE_SOURCE = $(SUBDIR)/$(PINS) ; 4 | LOCATE_TARGET = $(SUBDIR)/$(PINS) ; 5 | 6 | ArduinoWithLibs Main : RF24Network RF24 Tictocs SPI ; 7 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/helloworld_rx/Jamfile: -------------------------------------------------------------------------------- 1 | SubDir TOP libraries RF24Network examples helloworld_rx ; 2 | 3 | LOCATE_SOURCE = $(SUBDIR)/$(PINS) ; 4 | LOCATE_TARGET = $(SUBDIR)/$(PINS) ; 5 | 6 | ArduinoWithLibs Main : RF24Network RF24 Tictocs SPI ; 7 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/helloworld_tx/Jamfile: -------------------------------------------------------------------------------- 1 | SubDir TOP libraries RF24Network examples helloworld_tx ; 2 | 3 | LOCATE_SOURCE = $(SUBDIR)/$(PINS) ; 4 | LOCATE_TARGET = $(SUBDIR)/$(PINS) ; 5 | 6 | ArduinoWithLibs Main : RF24Network RF24 Tictocs SPI ; 7 | -------------------------------------------------------------------------------- /digistump-avr/programmers.txt: -------------------------------------------------------------------------------- 1 | micronucleusprog.name=Micronucleus 2 | micronucleusprog.communication=usb 3 | micronucleusprog.protocol=micronucleus 4 | micronucleusprog.program.tool={runtime.tools.micronucleus.path}/micronucleus 5 | micronucleusprog.program.extra_params=-Pusb 6 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/pcf8833/setxy.h: -------------------------------------------------------------------------------- 1 | case PCF8833: 2 | LCD_Write_COM(0x2a); 3 | LCD_Write_DATA(x1); 4 | LCD_Write_DATA(x2); 5 | LCD_Write_COM(0x2b); 6 | LCD_Write_DATA(y1); 7 | LCD_Write_DATA(y2); 8 | LCD_Write_COM(0x2c); 9 | break; 10 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/tests/pingpair_blocking/test.ex: -------------------------------------------------------------------------------- 1 | #/usr/bin/expect 2 | 3 | set timeout 100 4 | spawn picocom -b 57600 /dev/ttyUSB0 5 | expect "+READY" 6 | send "1" 7 | expect "+OK" 8 | spawn picocom -b 57600 /dev/ttyUSB1 9 | expect "+READY" 10 | send "1" 11 | expect "+OK" 12 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/tests/pingpair_blocking/test.ex: -------------------------------------------------------------------------------- 1 | #/usr/bin/expect 2 | 3 | set timeout 100 4 | spawn picocom -b 57600 /dev/ttyUSB0 5 | expect "+READY" 6 | send "1" 7 | expect "+OK" 8 | spawn picocom -b 57600 /dev/ttyUSB1 9 | expect "+READY" 10 | send "1" 11 | expect "+OK" 12 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTouch/version.txt: -------------------------------------------------------------------------------- 1 | Version: 2 | 1.0 1 Dec 2012 - initial release 3 | 1.1 23 May 2013 - added support for more display modules 4 | modified calibration to try to compensate for slight flaws in some (larger) touchscreens 5 | changed license to CC BY-NC-SA 3.0 6 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/Tools/Online-tool - ImageConverter 565.url: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=http://www.henningkarlsen.com/electronics/t_imageconverter565.php 3 | IDList= 4 | IconFile=http://www.henningkarlsen.com/favicon.ico 5 | IconIndex=1 6 | [{000214A0-0000-0000-C000-000000000046}] 7 | Prop3=19,2 8 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/tests/pingpair_test/test.ex: -------------------------------------------------------------------------------- 1 | #/usr/bin/expect 2 | 3 | set timeout 100 4 | spawn picocom -b 57600 /dev/ttyUSB0 5 | expect "+READY" 6 | send [lindex $argv 0] 7 | expect "+OK" 8 | spawn picocom -b 57600 /dev/ttyUSB1 9 | expect "+READY" 10 | send [lindex $argv 0] 11 | expect "+OK" 12 | -------------------------------------------------------------------------------- /digistump-avr/libraries/VirtualWire/README: -------------------------------------------------------------------------------- 1 | Virtual Wire 2 | 3 | This is the VirtualWire library for Arduino 4 | It provides a simple message passing protocol for a range of inexpensive 5 | transmitter and receiver modules. 6 | 7 | See http://www.open.com.au/mikem/arduino/VirtualWire.pdf for full documentation. 8 | 9 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/tests/pingpair_test/test.ex: -------------------------------------------------------------------------------- 1 | #/usr/bin/expect 2 | 3 | set timeout 100 4 | spawn picocom -b 57600 /dev/ttyUSB0 5 | expect "+READY" 6 | send [lindex $argv 0] 7 | expect "+OK" 8 | spawn picocom -b 57600 /dev/ttyUSB1 9 | expect "+READY" 10 | send [lindex $argv 0] 11 | expect "+OK" 12 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/s6d1121/setxy.h: -------------------------------------------------------------------------------- 1 | case S6D1121_8: 2 | case S6D1121_16: 3 | LCD_Write_COM_DATA(0x46,(x2 << 8) | x1); 4 | LCD_Write_COM_DATA(0x47,y2); 5 | LCD_Write_COM_DATA(0x48,y1); 6 | LCD_Write_COM_DATA(0x20,x1); 7 | LCD_Write_COM_DATA(0x21,y1); 8 | LCD_Write_COM(0x22); 9 | break; 10 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ili9325c/setxy.h: -------------------------------------------------------------------------------- 1 | case ILI9325C: 2 | LCD_Write_COM_DATA(0x20,x1); 3 | LCD_Write_COM_DATA(0x21,y1); 4 | LCD_Write_COM_DATA(0x50,x1); 5 | LCD_Write_COM_DATA(0x52,y1); 6 | LCD_Write_COM_DATA(0x51,x2); 7 | LCD_Write_COM_DATA(0x53,y2); 8 | LCD_Write_COM(0x22); 9 | break; 10 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/s6d0164/setxy.h: -------------------------------------------------------------------------------- 1 | case S6D0164: 2 | LCD_Write_COM_DATA(0x36,x2); 3 | LCD_Write_COM_DATA(0x37,x1); 4 | LCD_Write_COM_DATA(0x38,y2); 5 | LCD_Write_COM_DATA(0x39,y1); 6 | LCD_Write_COM_DATA(0x20,x1); 7 | LCD_Write_COM_DATA(0x21,y1); 8 | LCD_Write_COM(0x22); 9 | break; 10 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/sensornet/duinode3.sh: -------------------------------------------------------------------------------- 1 | AVR_BIN=/usr/local/avr/bin AVR_ETC=/usr/local/avr/etc jam F_CPU=8000000 sensornet.elf 2 | touch sensornet.pde 3 | AVR_BIN=/usr/local/avr/bin AVR_ETC=/usr/local/avr/etc jam F_CPU=8000000 "CCFLAGS=-include DuinodeV3.h" -dx UPLOAD_SPEED=57600 u1 && screen /dev/ttyUSB1 57600 4 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ili9325d/alt/setxy.h: -------------------------------------------------------------------------------- 1 | case ILI9325D_16ALT: 2 | LCD_Write_COM_DATA(0x20,x1); 3 | LCD_Write_COM_DATA(0x21,y1); 4 | LCD_Write_COM_DATA(0x50,x1); 5 | LCD_Write_COM_DATA(0x52,y1); 6 | LCD_Write_COM_DATA(0x51,x2); 7 | LCD_Write_COM_DATA(0x53,y2); 8 | LCD_Write_COM(0x22); 9 | break; 10 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/tests/README: -------------------------------------------------------------------------------- 1 | The sketches in this directory are intended to be checkin tests. 2 | No code should be pushed to github without these tests passing. 3 | 4 | See "runtests.sh" script inside each sketch dir. This script is fully compatible with 5 | git bisest. 6 | 7 | Note that this requires python and py-serial 8 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/tests/README: -------------------------------------------------------------------------------- 1 | The sketches in this directory are intended to be checkin tests. 2 | No code should be pushed to github without these tests passing. 3 | 4 | See "runtests.sh" script inside each sketch dir. This script is fully compatible with 5 | git bisest. 6 | 7 | Note that this requires python and py-serial 8 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ssd1289/setxy.h: -------------------------------------------------------------------------------- 1 | case SSD1289: 2 | case SSD1289_8: 3 | case SSD1289LATCHED: 4 | LCD_Write_COM_DATA(0x44,(x2<<8)+x1); 5 | LCD_Write_COM_DATA(0x45,y1); 6 | LCD_Write_COM_DATA(0x46,y2); 7 | LCD_Write_COM_DATA(0x4e,x1); 8 | LCD_Write_COM_DATA(0x4f,y1); 9 | LCD_Write_COM(0x22); 10 | break; 11 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ili9320/setxy.h: -------------------------------------------------------------------------------- 1 | case ILI9320_8: 2 | case ILI9320_16: 3 | LCD_Write_COM_DATA(0x20,x1); 4 | LCD_Write_COM_DATA(0x21,y1); 5 | LCD_Write_COM_DATA(0x50,x1); 6 | LCD_Write_COM_DATA(0x52,y1); 7 | LCD_Write_COM_DATA(0x51,x2); 8 | LCD_Write_COM_DATA(0x53,y2); 9 | LCD_Write_COM(0x22); 10 | break; 11 | -------------------------------------------------------------------------------- /digistump-avr/libraries/Nunchuk/LICENSE.txt: -------------------------------------------------------------------------------- 1 | LICENSE 2 | 3 | This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ili9325d/default/setxy.h: -------------------------------------------------------------------------------- 1 | case ILI9325D_8: 2 | case ILI9325D_16: 3 | LCD_Write_COM_DATA(0x20,x1); 4 | LCD_Write_COM_DATA(0x21,y1); 5 | LCD_Write_COM_DATA(0x50,x1); 6 | LCD_Write_COM_DATA(0x52,y1); 7 | LCD_Write_COM_DATA(0x51,x2); 8 | LCD_Write_COM_DATA(0x53,y2); 9 | LCD_Write_COM(0x22); 10 | break; 11 | -------------------------------------------------------------------------------- /digistump-avr/libraries/EEPROM/library.properties: -------------------------------------------------------------------------------- 1 | name=EEPROM 2 | version=2.0 3 | author=Arduino, Christopher Andrews 4 | maintainer=Arduino 5 | sentence=Enables reading and writing to the permanent board storage. For all Arduino boards BUT Arduino DUE. 6 | paragraph= 7 | url=http://www.arduino.cc/en/Reference/EEPROM 8 | architectures=avr 9 | 10 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkRGB/DigisparkRGB.h: -------------------------------------------------------------------------------- 1 | /* 2 | DigisparkPWM.h - Library for pwm on PB2 on ATTINY85. 3 | Created by Digistump 4 | Released into the public domain. 5 | */ 6 | #ifndef DigisparkRGB_h 7 | #define DigisparkRGB_h 8 | 9 | 10 | void DigisparkRGBBegin(); 11 | void DigisparkRGBDelay(int ms); 12 | void DigisparkRGB(int pin,int value); 13 | 14 | #endif -------------------------------------------------------------------------------- /digistump-avr/libraries/Digispark_Examples/BT_BLE_Echo/BT_BLE_Echo.ino: -------------------------------------------------------------------------------- 1 | 2 | void setup() { 3 | //If prompted for a pairing code it is 1234, 12345, or 000000 4 | Serial.begin(9600); 5 | } 6 | 7 | // the loop routine runs over and over again forever: 8 | void loop() { 9 | if (Serial.available()) { 10 | Serial.write(Serial.read()); 11 | } 12 | 13 | } -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkUSB/rx_buffer.h: -------------------------------------------------------------------------------- 1 | #ifndef __rx_buffer_h__ 2 | #define __rx_buffer_h__ 3 | 4 | #ifdef __cplusplus 5 | extern "C"{ 6 | #endif 7 | uchar rx_buffer[8]; // Buffer 8 bytes 8 | extern int rx_read_offset; // = -1; 9 | extern int rx_write_offset; // = 0; 10 | #ifdef __cplusplus 11 | } // extern "C" 12 | #endif 13 | 14 | #endif // __rx_buffer_h__ 15 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/keywords.txt: -------------------------------------------------------------------------------- 1 | RF24 KEYWORD1 2 | begin KEYWORD2 3 | setChannel KEYWORD2 4 | setPayloadSize KEYWORD2 5 | getPayloadSize KEYWORD2 6 | print_details KEYWORD2 7 | startListening KEYWORD2 8 | stopListening KEYWORD2 9 | write KEYWORD2 10 | available KEYWORD2 11 | read KEYWORD2 12 | openWritingPipe KEYWORD2 13 | openReadingPipe KEYWORD2 -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/keywords.txt: -------------------------------------------------------------------------------- 1 | RF24 KEYWORD1 2 | begin KEYWORD2 3 | setChannel KEYWORD2 4 | setPayloadSize KEYWORD2 5 | getPayloadSize KEYWORD2 6 | print_details KEYWORD2 7 | startListening KEYWORD2 8 | stopListening KEYWORD2 9 | write KEYWORD2 10 | available KEYWORD2 11 | read KEYWORD2 12 | openWritingPipe KEYWORD2 13 | openReadingPipe KEYWORD2 -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ili9481/setxy.h: -------------------------------------------------------------------------------- 1 | case ILI9481: 2 | LCD_Write_COM(0x2a); 3 | LCD_Write_DATA(x1>>8); 4 | LCD_Write_DATA(x1); 5 | LCD_Write_DATA(x2>>8); 6 | LCD_Write_DATA(x2); 7 | LCD_Write_COM(0x2b); 8 | LCD_Write_DATA(y1>>8); 9 | LCD_Write_DATA(y1); 10 | LCD_Write_DATA(y2>>8); 11 | LCD_Write_DATA(y2); 12 | LCD_Write_COM(0x2c); 13 | break; 14 | -------------------------------------------------------------------------------- /digistump-avr/cores/pro/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) 4 | { 5 | //OSCCAL = TUNED_OSCCAL_VALUE; //set the oscillator calibration value based on the pins_arduino.h file. If this is not set, it will be optimised away - it would boil down to 1 = 1; 6 | init(); 7 | 8 | setup(); 9 | 10 | for (;;) 11 | loop(); 12 | 13 | return 0; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTouch/keywords.txt: -------------------------------------------------------------------------------- 1 | UTouch KEYWORD1 2 | 3 | InitTouch KEYWORD2 4 | read KEYWORD2 5 | dataAvailable KEYWORD2 6 | getX KEYWORD2 7 | getY KEYWORD2 8 | setPrecision KEYWORD2 9 | 10 | PREC_LOW LITERAL1 11 | PREC_MEDIUM LITERAL1 12 | PREC_HI LITERAL1 13 | PREC_EXTREME LITERAL1 14 | PORTRAIT LITERAL1 15 | LANDSCAPE LITERAL1 16 | TP_X LITERAL1 17 | TP_Y LITERAL1 18 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ili9341/s5p/setxy.h: -------------------------------------------------------------------------------- 1 | case ILI9341_S5P: 2 | LCD_Write_COM(0x2a); 3 | LCD_Write_DATA(x1>>8); 4 | LCD_Write_DATA(x1); 5 | LCD_Write_DATA(x2>>8); 6 | LCD_Write_DATA(x2); 7 | LCD_Write_COM(0x2b); 8 | LCD_Write_DATA(y1>>8); 9 | LCD_Write_DATA(y1); 10 | LCD_Write_DATA(y2>>8); 11 | LCD_Write_DATA(y2); 12 | LCD_Write_COM(0x2c); 13 | break; 14 | -------------------------------------------------------------------------------- /digistump-avr/libraries/SPI/library.properties: -------------------------------------------------------------------------------- 1 | name=SPI 2 | version=1.0 3 | author=Arduino 4 | maintainer=Arduino 5 | sentence=Enables the communication with devices that use the Serial Peripheral Interface (SPI) Bus. For all Arduino boards, BUT Arduino DUE. 6 | paragraph= 7 | category=Communication 8 | url=http://www.arduino.cc/en/Reference/SPI 9 | architectures=avr 10 | 11 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/st7735/setxy.h: -------------------------------------------------------------------------------- 1 | case ST7735: 2 | LCD_Write_COM(0x2a); 3 | LCD_Write_DATA(x1>>8); 4 | LCD_Write_DATA(x1); 5 | LCD_Write_DATA(x2>>8); 6 | LCD_Write_DATA(x2); 7 | LCD_Write_COM(0x2b); 8 | LCD_Write_DATA(y1>>8); 9 | LCD_Write_DATA(y1); 10 | LCD_Write_DATA(y2>>8); 11 | LCD_Write_DATA(y2); 12 | LCD_Write_COM(0x2c); 13 | break; 14 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/hx8340b/s/setxy.h: -------------------------------------------------------------------------------- 1 | case HX8340B_S: 2 | LCD_Write_COM(0x2a); 3 | LCD_Write_DATA(x1>>8); 4 | LCD_Write_DATA(x1); 5 | LCD_Write_DATA(x2>>8); 6 | LCD_Write_DATA(x2); 7 | LCD_Write_COM(0x2b); 8 | LCD_Write_DATA(y1>>8); 9 | LCD_Write_DATA(y1); 10 | LCD_Write_DATA(y2>>8); 11 | LCD_Write_DATA(y2); 12 | LCD_Write_COM(0x2c); 13 | break; 14 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/s1d19122/setxy.h: -------------------------------------------------------------------------------- 1 | case S1D19122: 2 | LCD_Write_COM(0x2a); 3 | LCD_Write_DATA(x1>>8); 4 | LCD_Write_DATA(x1); 5 | LCD_Write_DATA(x2>>8); 6 | LCD_Write_DATA(x2); 7 | LCD_Write_COM(0x2b); 8 | LCD_Write_DATA(y1>>8); 9 | LCD_Write_DATA(y1); 10 | LCD_Write_DATA(y2>>8); 11 | LCD_Write_DATA(y2); 12 | LCD_Write_COM(0x2c); 13 | break; 14 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/st7735s/setxy.h: -------------------------------------------------------------------------------- 1 | case ST7735S: 2 | LCD_Write_COM(0x2a); 3 | LCD_Write_DATA(x1>>8); 4 | LCD_Write_DATA(x1); 5 | LCD_Write_DATA(x2>>8); 6 | LCD_Write_DATA(x2); 7 | LCD_Write_COM(0x2b); 8 | LCD_Write_DATA(y1>>8); 9 | LCD_Write_DATA(y1); 10 | LCD_Write_DATA(y2>>8); 11 | LCD_Write_DATA(y2); 12 | LCD_Write_COM(0x2c); 13 | break; 14 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/hx8347a/setxy.h: -------------------------------------------------------------------------------- 1 | case HX8347A: 2 | LCD_Write_COM_DATA(0x02,x1>>8); 3 | LCD_Write_COM_DATA(0x03,x1); 4 | LCD_Write_COM_DATA(0x04,x2>>8); 5 | LCD_Write_COM_DATA(0x05,x2); 6 | LCD_Write_COM_DATA(0x06,y1>>8); 7 | LCD_Write_COM_DATA(0x07,y1); 8 | LCD_Write_COM_DATA(0x08,y2>>8); 9 | LCD_Write_COM_DATA(0x09,y2); 10 | LCD_Write_COM(0x22); 11 | break; 12 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/hx8352a/setxy.h: -------------------------------------------------------------------------------- 1 | case HX8352A: 2 | LCD_Write_COM_DATA(0x02,x1>>8); 3 | LCD_Write_COM_DATA(0x03,x1); 4 | LCD_Write_COM_DATA(0x04,x2>>8); 5 | LCD_Write_COM_DATA(0x05,x2); 6 | LCD_Write_COM_DATA(0x06,y1>>8); 7 | LCD_Write_COM_DATA(0x07,y1); 8 | LCD_Write_COM_DATA(0x08,y2>>8); 9 | LCD_Write_COM_DATA(0x09,y2); 10 | LCD_Write_COM(0x22); 11 | break; 12 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/hx8340b/8/setxy.h: -------------------------------------------------------------------------------- 1 | case HX8340B_8: 2 | LCD_Write_COM_DATA(0x02,0x0000); 3 | LCD_Write_COM_DATA(0x03,x1); 4 | LCD_Write_COM_DATA(0x04,0x0000); 5 | LCD_Write_COM_DATA(0x05,x2); 6 | LCD_Write_COM_DATA(0x06,0x0000); 7 | LCD_Write_COM_DATA(0x07,y1); 8 | LCD_Write_COM_DATA(0x08,0x0000); 9 | LCD_Write_COM_DATA(0x09,y2); 10 | LCD_Write_COM(0x22); 11 | break; 12 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ili9341/s4p/setxy.h: -------------------------------------------------------------------------------- 1 | case ILI9341_S4P: 2 | LCD_Write_COM(0x2A); //column 3 | LCD_Write_DATA(x1>>8); 4 | LCD_Write_DATA(x1); 5 | LCD_Write_DATA(x2>>8); 6 | LCD_Write_DATA(x2); 7 | LCD_Write_COM(0x2B); //page 8 | LCD_Write_DATA(y1>>8); 9 | LCD_Write_DATA(y1); 10 | LCD_Write_DATA(y2>>8); 11 | LCD_Write_DATA(y2); 12 | LCD_Write_COM(0x2C); //write 13 | break; 14 | -------------------------------------------------------------------------------- /digistump-avr/cores/pro/new.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void * operator new(size_t size) 4 | { 5 | return malloc(size); 6 | } 7 | 8 | void operator delete(void * ptr) 9 | { 10 | free(ptr); 11 | } 12 | 13 | int __cxa_guard_acquire(__guard *g) {return !*(char *)(g);}; 14 | void __cxa_guard_release (__guard *g) {*(char *)g = 1;}; 15 | void __cxa_guard_abort (__guard *) {}; 16 | 17 | void __cxa_pure_virtual(void) {}; 18 | 19 | -------------------------------------------------------------------------------- /digistump-avr/cores/tiny/new.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void * operator new(size_t size) 4 | { 5 | return malloc(size); 6 | } 7 | 8 | void operator delete(void * ptr) 9 | { 10 | free(ptr); 11 | } 12 | 13 | int __cxa_guard_acquire(__guard *g) {return !*(char *)(g);}; 14 | void __cxa_guard_release (__guard *g) {*(char *)g = 1;}; 15 | void __cxa_guard_abort (__guard *) {}; 16 | 17 | void __cxa_pure_virtual(void) {}; 18 | 19 | -------------------------------------------------------------------------------- /digistump-avr/libraries/TinyWireM/library.properties: -------------------------------------------------------------------------------- 1 | name=TinyWireM 2 | version=1.0.0 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=I2C library for Trinket and Gemma, adapted from BroHogan's code on Arduino Playground 6 | paragraph=I2C library for Trinket and Gemma, adapted from BroHogan's code on Arduino Playground 7 | category=Signal Input/Output 8 | url=https://github.com/adafruit/TinyWireM 9 | architectures=* 10 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ili9327/setxy.h: -------------------------------------------------------------------------------- 1 | case ILI9327: 2 | LCD_Write_COM(0x2a); 3 | LCD_Write_DATA(0x00,x1>>8); 4 | LCD_Write_DATA(0x00,x1); 5 | LCD_Write_DATA(0x00,x2>>8); 6 | LCD_Write_DATA(0x00,x2); 7 | LCD_Write_COM(0x2b); 8 | LCD_Write_DATA(0x00,y1>>8); 9 | LCD_Write_DATA(0x00,y1); 10 | LCD_Write_DATA(0x00,y2>>8); 11 | LCD_Write_DATA(0x00,y2); 12 | LCD_Write_COM(0x2c); 13 | break; 14 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ssd1963/480/setxy.h: -------------------------------------------------------------------------------- 1 | case SSD1963_480: 2 | swap(word, x1, y1); 3 | swap(word, x2, y2); 4 | LCD_Write_COM(0x2a); 5 | LCD_Write_DATA(x1>>8); 6 | LCD_Write_DATA(x1); 7 | LCD_Write_DATA(x2>>8); 8 | LCD_Write_DATA(x2); 9 | LCD_Write_COM(0x2b); 10 | LCD_Write_DATA(y1>>8); 11 | LCD_Write_DATA(y1); 12 | LCD_Write_DATA(y2>>8); 13 | LCD_Write_DATA(y2); 14 | LCD_Write_COM(0x2c); 15 | break; 16 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ssd1963/800/setxy.h: -------------------------------------------------------------------------------- 1 | case SSD1963_800: 2 | swap(word, x1, y1); 3 | swap(word, x2, y2); 4 | LCD_Write_COM(0x2a); 5 | LCD_Write_DATA(x1>>8); 6 | LCD_Write_DATA(x1); 7 | LCD_Write_DATA(x2>>8); 8 | LCD_Write_DATA(x2); 9 | LCD_Write_COM(0x2b); 10 | LCD_Write_DATA(y1>>8); 11 | LCD_Write_DATA(y1); 12 | LCD_Write_DATA(y2>>8); 13 | LCD_Write_DATA(y2); 14 | LCD_Write_COM(0x2c); 15 | break; 16 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/ssd1963/800alt/setxy.h: -------------------------------------------------------------------------------- 1 | case SSD1963_800ALT: 2 | swap(word, x1, y1); 3 | swap(word, x2, y2); 4 | LCD_Write_COM(0x2a); 5 | LCD_Write_DATA(x1>>8); 6 | LCD_Write_DATA(x1); 7 | LCD_Write_DATA(x2>>8); 8 | LCD_Write_DATA(x2); 9 | LCD_Write_COM(0x2b); 10 | LCD_Write_DATA(y1>>8); 11 | LCD_Write_DATA(y1); 12 | LCD_Write_DATA(y2>>8); 13 | LCD_Write_DATA(y2); 14 | LCD_Write_COM(0x2c); 15 | break; 16 | -------------------------------------------------------------------------------- /digistump-avr/libraries/TinyWireM/README.md: -------------------------------------------------------------------------------- 1 | TinyWireM 2 | ========= 3 | 4 | ATtiny (e.g. Adafruit Trinket, Gemma) I2C library, adapted from BroHogan's code on Arduino Playground: http://playground.arduino.cc/Code/USIi2c 5 | 6 | Minor changes for consistency with the Arduino 1.0 Wire library (e.g. uses write() instead of send()). Buffer size slightly increased for Adafruit_LEDBackpack use. 7 | 8 | On the Trinket boards, pin #0 is SDA (I2C data), pin #2 is SCK (I2C clock). 9 | -------------------------------------------------------------------------------- /digistump-avr/libraries/VirtualWire/MANIFEST: -------------------------------------------------------------------------------- 1 | VirtualWire/doc 2 | VirtualWire/LICENSE 3 | VirtualWire/README 4 | VirtualWire/Makefile 5 | VirtualWire/VirtualWire.cpp 6 | VirtualWire/VirtualWire.h 7 | VirtualWire/CHANGES 8 | VirtualWire/MANIFEST 9 | VirtualWire/keywords.txt 10 | VirtualWire/util/crc16.h 11 | VirtualWire/examples/client/client.pde 12 | VirtualWire/examples/transmitter/transmitter.pde 13 | VirtualWire/examples/receiver/receiver.pde 14 | VirtualWire/examples/server/server.pde 15 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/tests/unit/Jamfile: -------------------------------------------------------------------------------- 1 | SubDir TOP ; 2 | 3 | # Set up output directories 4 | LOCATE_TARGET = $(SEARCH_SOURCE)/out/$(TOOLSET) ; 5 | LOCATE_SOURCE = $(LOCATE_TARGET) ; 6 | 7 | # Pull in local libraries 8 | SKETCH_LIBS += RF24Network RF24 ; 9 | HDRS += $(HOME)/Source/Arduino/libraries/$(SKETCH_LIBS) ; 10 | 11 | # Main output executable 12 | Maple $(SEARCH_SOURCE:B).elf : [ GLOB $(SEARCH_SOURCE) $(HOME)/Source/Arduino/libraries/$(SKETCH_LIBS) : $(MODULE_EXT) ] ; 13 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/maple/Jamfile: -------------------------------------------------------------------------------- 1 | SubDir TOP ; 2 | 3 | # Set up output directories 4 | LOCATE_TARGET = $(SEARCH_SOURCE)/out/$(TOOLSET) ; 5 | LOCATE_SOURCE = $(LOCATE_TARGET) ; 6 | 7 | # Pull in local libraries 8 | SKETCH_LIBS += RF24Network RF24 ; 9 | HDRS += $(HOME)/Source/Arduino/libraries/$(SKETCH_LIBS) ; 10 | 11 | # Main output executable 12 | Maple $(SEARCH_SOURCE:B).elf : [ GLOB $(SEARCH_SOURCE) $(HOME)/Source/Arduino/libraries/$(SKETCH_LIBS) : $(MODULE_EXT) ] ; 13 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Source/GCC/arm_cortexMx_math_Build.bat: -------------------------------------------------------------------------------- 1 | 2 | SET TMP=C:\Temp 3 | SET TEMP=C:\Temp 4 | 5 | SET UVEXE=C:\Keil\UV4\UV4.EXE 6 | 7 | %UVEXE% -rb arm_cortexM0x_math.uvproj -t"DSP_Lib CM0 LE" -o"DSP_Lib CM0 LE.txt" 8 | %UVEXE% -rb arm_cortexM3x_math.uvproj -t"DSP_Lib CM3 LE" -o"DSP_Lib CM3 LE.txt" 9 | %UVEXE% -rb arm_cortexM4x_math.uvproj -t"DSP_Lib CM4 LE" -o"DSP_Lib CM4 LE.txt" 10 | %UVEXE% -rb arm_cortexM4x_math.uvproj -t"DSP_Lib CM4 LE FPU" -o"DSP_Lib CM4 LE FPU.txt" 11 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Source/iar/iar_cortexM_math.eww: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $WS_DIR$\iar_cortexM0_math.ewp 6 | 7 | 8 | $WS_DIR$\iar_cortexM3_math.ewp 9 | 10 | 11 | $WS_DIR$\iar_cortexM4_math.ewp 12 | 13 | 14 | $WS_DIR$\iar_cortexM4F_math.ewp 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/meshping/nodeconfig.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 James Coliz, Jr. 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | #ifndef __NODECONFIG_H__ 10 | #define __NODECONFIG_H__ 11 | 12 | uint8_t nodeconfig_read(void); 13 | void nodeconfig_listen(void); 14 | 15 | #endif // __NODECONFIG_H__ 16 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_fir_example/ARM/arm_fir_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_fir_lpf_example.ini 7 | 8 | */ 9 | 10 | // usual initialisation for target setup 11 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 12 | 13 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_fft_bin_example/ARM/arm_fft_bin_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_fft_bin_example.ini 7 | 8 | */ 9 | 10 | // usual initialisation for target setup 11 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 12 | 13 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_dotproduct_example/ARM/arm_dotproduct_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_dotproduct_example.ini 7 | 8 | */ 9 | 10 | // usual initialisation for target setup 11 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 12 | 13 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_matrix_example/ARM/arm_matrix_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_matrix_example.ini 7 | 8 | */ 9 | 10 | 11 | // usual initialisation for target setup 12 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 13 | 14 | 15 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_sin_cos_example/ARM/arm_sin_cos_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_sin_cos_example.ini 7 | 8 | */ 9 | 10 | 11 | // usual initialisation for target setup 12 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 13 | 14 | 15 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_variance_example/ARM/arm_variance_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_variance_example.ini 7 | 8 | */ 9 | 10 | 11 | // usual initialisation for target setup 12 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 13 | 14 | 15 | -------------------------------------------------------------------------------- /digistump-avr/libraries/WS2811/examples/digispark/digispark.ino: -------------------------------------------------------------------------------- 1 | #include 2 | DEFINE_WS2811_FN(WS2811RGB, PORTB, 1) 3 | RGB_t rgb[1]; //1 for 1 pixel 4 | 5 | void setup() { 6 | 7 | pinMode(1,OUTPUT); 8 | 9 | } 10 | 11 | void loop() { 12 | setPixel(0,255,0,0); //set first pixel (zero indexed) to red 13 | updatePixels(); //show the change 14 | } 15 | 16 | void setPixel(i,r,g,b){ 17 | rgb[r].r=r; 18 | rgb[g].g=g; 19 | rgb[b].b=b; 20 | } 21 | 22 | void updatePixels(){ 23 | WS2811RGB(rgb, ARRAYLEN(rgb)); 24 | } -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_class_marks_example/ARM/arm_class_marks_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_class_marks_example.ini 7 | 8 | */ 9 | 10 | 11 | // usual initialisation for target setup 12 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 13 | 14 | 15 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_class_marks_example/GCC/arm_class_marks_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_class_marks_example.ini 7 | 8 | */ 9 | 10 | 11 | // usual initialisation for target setup 12 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 13 | 14 | 15 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_convolution_example/ARM/arm_convolution_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_convolution_example.ini 7 | 8 | */ 9 | 10 | 11 | // usual initialisation for target setup 12 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 13 | 14 | 15 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_convolution_example/GCC/arm_convolution_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_convolution_example.ini 7 | 8 | */ 9 | 10 | 11 | // usual initialisation for target setup 12 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 13 | 14 | 15 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_linear_interp_example/ARM/arm_linear_interp_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_linear_interp_example.ini 7 | 8 | */ 9 | 10 | 11 | // usual initialisation for target setup 12 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 13 | 14 | 15 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_graphic_equalizer_example/ARM/arm_graphic_equalizer_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_geq_5band_example.ini 7 | 8 | */ 9 | 10 | 11 | // usual initialisation for target setup 12 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 13 | 14 | 15 | -------------------------------------------------------------------------------- /digistump-sam/libraries/DigiXBetaBonus/Bonus_RGB/Bonus_RGB.ino: -------------------------------------------------------------------------------- 1 | int RedPin = 5; 2 | int GreenPin = 6; 3 | int BluePin = 7; 4 | 5 | void setup() { 6 | // put your setup code here, to run once: 7 | pinMode(RedPin, OUTPUT); 8 | pinMode(GreenPin, OUTPUT); 9 | pinMode(BluePin, OUTPUT); 10 | } 11 | 12 | void loop() { 13 | randomSeed(analogRead(0)); 14 | // put your main code here, to run repeatedly: 15 | analogWrite(RedPin,random(255)); 16 | analogWrite(GreenPin,random(255)); 17 | analogWrite(BluePin,random(255)); 18 | 19 | delay(500); 20 | } 21 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Examples/arm_signal_converge_example/ARM/arm_signal_converge_example.ini: -------------------------------------------------------------------------------- 1 | 2 | /* This file demonstrates how to Map memory ranges, specify read, write, and execute permissions 3 | 4 | The file can be executed in the following way: 5 | 1) manually from uVision command window (in debug mode) using command: 6 | INCLUIDE arm_signal_converge_example.ini 7 | 8 | */ 9 | 10 | 11 | // usual initialisation for target setup 12 | MAP 0x20000000, 0x20008000 READ WRITE // allow R/W access to IO space 13 | 14 | 15 | -------------------------------------------------------------------------------- /digistump-avr/libraries/TinyRTClib/README.md: -------------------------------------------------------------------------------- 1 | TinyRTClib 2 | ========== 3 | 4 | DS1307's Arduino Adafruit library modified to run on Digispark's attiny85. 5 | 6 | I've searched everywhere for a DS1307 library that could work on my Digispark but found none. 7 | 8 | This is the Adafruit version (https://github.com/adafruit/RTClib) with their examples modified to work on Digispark's attiny85. 9 | 10 | **I'm unable to push the files into the right folders by now. That's why I've them renamed to the folders name and slashs... 11 | **Will try to add to the right place later. 12 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/tests/pingpair_blocking/runtest.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import sys,serial 4 | 5 | def read_until(token): 6 | while 1: 7 | line = ser.readline(None) 8 | sys.stdout.write(line) 9 | 10 | if (line.startswith(token)): 11 | break 12 | return line 13 | 14 | 15 | ser = serial.Serial(sys.argv[1], 57600, timeout=5, dsrdtr=False, rtscts=False) 16 | 17 | read_until("+READY") 18 | ser.write(sys.argv[2]) 19 | 20 | line = read_until("+OK") 21 | ser.close() 22 | if (line.find("PASS") != -1): 23 | sys.exit(0) 24 | else: 25 | sys.exit(1) 26 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/tests/pingpair_blocking/runtest.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import sys,serial 4 | 5 | def read_until(token): 6 | while 1: 7 | line = ser.readline(None) 8 | sys.stdout.write(line) 9 | 10 | if (line.startswith(token)): 11 | break 12 | return line 13 | 14 | 15 | ser = serial.Serial(sys.argv[1], 57600, timeout=5, dsrdtr=False, rtscts=False) 16 | 17 | read_until("+READY") 18 | ser.write(sys.argv[2]) 19 | 20 | line = read_until("+OK") 21 | ser.close() 22 | if (line.find("PASS") != -1): 23 | sys.exit(0) 24 | else: 25 | sys.exit(1) 26 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/tests/pingpair_test/runtest.py: -------------------------------------------------------------------------------- 1 | #!/opt/local/bin/python 2 | 3 | import sys,serial 4 | 5 | def read_until(token): 6 | while 1: 7 | line = ser.readline(None,"\r") 8 | sys.stdout.write(line) 9 | 10 | if (line.startswith(token)): 11 | break 12 | return line 13 | 14 | 15 | ser = serial.Serial(sys.argv[1], 57600, timeout=5, dsrdtr=False, rtscts=False) 16 | 17 | read_until("+READY") 18 | ser.write(sys.argv[2]) 19 | 20 | line = read_until("+OK") 21 | ser.close() 22 | if (line.find("PASS") != -1): 23 | sys.exit(0) 24 | else: 25 | sys.exit(1) 26 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/tests/pingpair_test/runtest.py: -------------------------------------------------------------------------------- 1 | #!/opt/local/bin/python 2 | 3 | import sys,serial 4 | 5 | def read_until(token): 6 | while 1: 7 | line = ser.readline(None,"\r") 8 | sys.stdout.write(line) 9 | 10 | if (line.startswith(token)): 11 | break 12 | return line 13 | 14 | 15 | ser = serial.Serial(sys.argv[1], 57600, timeout=5, dsrdtr=False, rtscts=False) 16 | 17 | read_until("+READY") 18 | ser.write(sys.argv[2]) 19 | 20 | line = read_until("+OK") 21 | ser.close() 22 | if (line.find("PASS") != -1): 23 | sys.exit(0) 24 | else: 25 | sys.exit(1) 26 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/Documentation/DSP_Lib/html/search/nomatches.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
No Matches
10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /digistump-avr/libraries/Digispark_Examples/Infrared/Infrared.ino: -------------------------------------------------------------------------------- 1 | int irPin=2; 2 | 3 | void setup() 4 | { 5 | pinMode(irPin,INPUT); 6 | pinMode(0,OUTPUT); 7 | //Serial.begin(9600); 8 | digitalWrite(0,HIGH); 9 | //Serial.println("You pressed a button"); 10 | delay(1000); 11 | digitalWrite(0,LOW); 12 | } 13 | 14 | void loop() 15 | { 16 | 17 | if(pulseIn(irPin,LOW)) 18 | { 19 | //button pressed 20 | delay(100); 21 | digitalWrite(0,HIGH); 22 | //Serial.println("You pressed a button"); 23 | delay(1000); 24 | digitalWrite(0,LOW); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /digistump-sam/libraries/DigiXBetaBonus/Bonus_IR_rec/Bonus_IR_rec.ino: -------------------------------------------------------------------------------- 1 | int irPin=11; 2 | 3 | void setup() 4 | { 5 | pinMode(irPin,INPUT); 6 | pinMode(13,OUTPUT); 7 | Serial.begin(9600); 8 | digitalWrite(13,HIGH); 9 | Serial.println("You pressed a button"); 10 | delay(1000); 11 | digitalWrite(13,LOW); 12 | } 13 | 14 | void loop() 15 | { 16 | 17 | if(pulseIn(irPin,LOW)) 18 | { 19 | //button pressed 20 | delay(100); 21 | digitalWrite(13,HIGH); 22 | Serial.println("You pressed a button"); 23 | delay(1000); 24 | digitalWrite(13,LOW); 25 | } 26 | 27 | } -------------------------------------------------------------------------------- /digistump-sam/sam.bat: -------------------------------------------------------------------------------- 1 | set Path=%ARM_GCC_TOOLCHAIN% 2 | export Path 3 | 4 | start "libsam" /d"system\libsam\build_gcc" /max "cd" 5 | start "libarduino" /d"cores\arduino\build_gcc" /max "cd" 6 | rem start "libvariant Arduino Due U" /d"variants\arduino_due_u\build_gcc" /max "cd" 7 | start "libvariant Arduino Due X" /d"variants\arduino_due_x\build_gcc" /max "cd" 8 | rem start "libvariant ADK2" /d"..\..\google\sam\variants\adk2\build_gcc" /max "cd" 9 | rem start "libvariant SAM3X-EK" /d"..\..\atmel\sam\variants\sam3x_ek\build_gcc" /max "cd" 10 | start "test" /d"cores\arduino\validation_usb_host\build_gcc" /max "cd" 11 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkIRLib/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/tests/pingpair_test/runtests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Connect u0 to receiver, u0 to sender 4 | # WARNING: Test config 2 only works with PLUS units. 5 | 6 | jam u0 u1 && expect test.ex 1 7 | sleep 1 8 | stty 57600 raw ignbrk hup < /dev/ttyUSB0 9 | sleep 1 10 | stty 57600 raw ignbrk hup < /dev/ttyUSB1 11 | expect test.ex 2 12 | sleep 1 13 | stty 57600 raw ignbrk hup < /dev/ttyUSB0 14 | sleep 1 15 | stty 57600 raw ignbrk hup < /dev/ttyUSB1 16 | expect test.ex 3 17 | sleep 1 18 | stty 57600 raw ignbrk hup < /dev/ttyUSB0 19 | sleep 1 20 | stty 57600 raw ignbrk hup < /dev/ttyUSB1 21 | expect test.ex 4 22 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/tests/pingpair_test/runtests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Connect u0 to receiver, u0 to sender 4 | # WARNING: Test config 2 only works with PLUS units. 5 | 6 | jam u0 u1 && expect test.ex 1 7 | sleep 1 8 | stty 57600 raw ignbrk hup < /dev/ttyUSB0 9 | sleep 1 10 | stty 57600 raw ignbrk hup < /dev/ttyUSB1 11 | expect test.ex 2 12 | sleep 1 13 | stty 57600 raw ignbrk hup < /dev/ttyUSB0 14 | sleep 1 15 | stty 57600 raw ignbrk hup < /dev/ttyUSB1 16 | expect test.ex 3 17 | sleep 1 18 | stty 57600 raw ignbrk hup < /dev/ttyUSB0 19 | sleep 1 20 | stty 57600 raw ignbrk hup < /dev/ttyUSB1 21 | expect test.ex 4 22 | -------------------------------------------------------------------------------- /digistump-avr/libraries/EEPROM/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For EEPROM 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | EEPROM KEYWORD1 10 | EERef KEYWORD1 11 | EEPtr KEYWORD2 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | update KEYWORD2 18 | 19 | ####################################### 20 | # Constants (LITERAL1) 21 | ####################################### 22 | 23 | -------------------------------------------------------------------------------- /digistump-avr/libraries/Nunchuk/README.txt: -------------------------------------------------------------------------------- 1 | ArduinoNunchuk - Improved Wii Nunchuk library for Arduino 2 | 3 | Copyright 2011-2013 Gabriel Bianconi, http://www.gabrielbianconi.com/ 4 | 5 | Project URL: http://www.gabrielbianconi.com/projects/arduinonunchuk/ 6 | 7 | Based on the following resources: 8 | - http://www.windmeadow.com/node/42 9 | - http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/ 10 | - http://wiibrew.org/wiki/Wiimote/Extension_Controllers 11 | 12 | 13 | INSTALLATION: 14 | 15 | Copy the 'ArduinoNunchuk' folder, located in the same folder as this 'README' file, to the Arduino libraries folder (Arduino/libraries). -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam4s_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram. 4 | # 5 | 6 | # define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initializing PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | mon reg pc=(0x20000004) 24 | info reg 25 | 26 | # end of 'reset' command 27 | end 28 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam4s_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram. 4 | # 5 | 6 | # define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initializing PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | mon reg pc=(0x20000004) 24 | info reg 25 | 26 | # end of 'reset' command 27 | end 28 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam4s_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram. 4 | # 5 | 6 | # define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initializing PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | mon reg pc=(0x20000004) 24 | info reg 25 | 26 | # end of 'reset' command 27 | end 28 | -------------------------------------------------------------------------------- /digistump-avr/cores/pro/new.h: -------------------------------------------------------------------------------- 1 | /* Header to define new/delete operators as they aren't provided by avr-gcc by default 2 | Taken from http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=59453 3 | */ 4 | 5 | #ifndef NEW_H 6 | #define NEW_H 7 | 8 | #include 9 | 10 | void * operator new(size_t size); 11 | void operator delete(void * ptr); 12 | 13 | __extension__ typedef int __guard __attribute__((mode (__DI__))); 14 | 15 | extern "C" int __cxa_guard_acquire(__guard *); 16 | extern "C" void __cxa_guard_release (__guard *); 17 | extern "C" void __cxa_guard_abort (__guard *); 18 | 19 | extern "C" void __cxa_pure_virtual(void); 20 | 21 | #endif 22 | 23 | -------------------------------------------------------------------------------- /digistump-avr/cores/tiny/new.h: -------------------------------------------------------------------------------- 1 | /* Header to define new/delete operators as they aren't provided by avr-gcc by default 2 | Taken from http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=59453 3 | */ 4 | 5 | #ifndef NEW_H 6 | #define NEW_H 7 | 8 | #include 9 | 10 | void * operator new(size_t size); 11 | void operator delete(void * ptr); 12 | 13 | __extension__ typedef int __guard __attribute__((mode (__DI__))); 14 | 15 | extern "C" int __cxa_guard_acquire(__guard *); 16 | extern "C" void __cxa_guard_release (__guard *); 17 | extern "C" void __cxa_guard_abort (__guard *); 18 | 19 | extern "C" void __cxa_pure_virtual(void); 20 | 21 | #endif 22 | 23 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkTinySoftPwm/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map TinySoftPwm 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | TinySoftPwm KEYWORD1 9 | 10 | ####################################### 11 | # Methods and Functions (KEYWORD2) 12 | ####################################### 13 | TinySoftPwm_begin KEYWORD2 14 | TinySoftPwm_analogWrite KEYWORD2 15 | TinySoftPwm_process KEYWORD2 16 | 17 | ####################################### 18 | # Constants (LITERAL1) 19 | ####################################### 20 | -------------------------------------------------------------------------------- /digistump-sam/boards.txt: -------------------------------------------------------------------------------- 1 | digix.name=Digistump DigiX 2 | digix.upload.tool=bossac 3 | digix.upload.protocol=sam-ba 4 | digix.upload.maximum_size=524288 5 | digix.upload.use_1200bps_touch=true 6 | digix.upload.wait_for_upload_port=true 7 | digix.upload.native_usb=true 8 | digix.build.mcu=cortex-m3 9 | digix.build.f_cpu=84000000L 10 | digix.build.core=digix 11 | digix.build.extra_flags=-D__SAM3X8E__ -mthumb -DUSB_PID={build.pid} -DUSB_VID={build.vid} -DUSBCON 12 | digix.build.ldscript=linker_scripts/gcc/flash.ld 13 | digix.build.variant=digix 14 | digix.build.variant_system_lib=libsam_sam3x8e_gcc_rel.a 15 | digix.build.vid=0x16D0 16 | digix.build.pid=0x078A 17 | digix.build.board=SAM_DIGIX 18 | -------------------------------------------------------------------------------- /digistump-avr/libraries/Digispark_Examples/Start/Start.ino: -------------------------------------------------------------------------------- 1 | 2 | // the setup routine runs once when you press reset: 3 | void setup() { 4 | // initialize the digital pin as an output. 5 | pinMode(0, OUTPUT); //LED on Model B 6 | pinMode(1, OUTPUT); //LED on Model A or Pro 7 | } 8 | 9 | // the loop routine runs over and over again forever: 10 | void loop() { 11 | digitalWrite(0, HIGH); // turn the LED on (HIGH is the voltage level) 12 | digitalWrite(1, HIGH); 13 | delay(1000); // wait for a second 14 | digitalWrite(0, LOW); // turn the LED off by making the voltage LOW 15 | digitalWrite(1, LOW); 16 | delay(1000); // wait for a second 17 | } 18 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkCDC/examples/CDC_LED/CDC_LED.ino: -------------------------------------------------------------------------------- 1 | #include 2 | void setup() { 3 | // initialize the digital pin as an output. 4 | SerialUSB.begin(); 5 | pinMode(1,OUTPUT); 6 | } 7 | 8 | // the loop routine runs over and over again forever: 9 | void loop() { 10 | 11 | //turns led on and off based on sending 0 or 1 from serial terminal 12 | if (SerialUSB.available()) { 13 | char input = SerialUSB.read(); 14 | if(input == '0') 15 | digitalWrite(1,LOW); 16 | else if(input == '1') 17 | digitalWrite(1,HIGH); 18 | 19 | } 20 | 21 | SerialUSB.delay(100); // keep usb alive // can alos use SerialUSB.refresh(); 22 | } 23 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkCDC/examples/Echo/Echo.ino: -------------------------------------------------------------------------------- 1 | #include 2 | void setup() { 3 | // initialize the digital pin as an output. 4 | SerialUSB.begin(); 5 | } 6 | 7 | // the loop routine runs over and over again forever: 8 | void loop() { 9 | 10 | if (SerialUSB.available()) { 11 | SerialUSB.write(SerialUSB.read()); 12 | } 13 | 14 | //SerialUSB.delay(10); 15 | /* 16 | if you don't call a SerialUSB function (write, print, read, available, etc) 17 | every 10ms or less then you must throw in some SerialUSB.refresh(); 18 | for the USB to keep alive - also replace your delays - ie. delay(100); 19 | with SerialUSB.delays ie. SerialUSB.delay(100); 20 | */ 21 | } -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam3u_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3U. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1200 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam3u_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3U. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1200 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam3n_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3N. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam3s_ek2_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam3s_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam3x_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3X. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1a00 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam3u_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3U. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1200 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam3n_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3N. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam3s_ek2_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam3s_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam3x_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3X. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1a00 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam3n_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3N. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam3s_ek2_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam3s_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1400 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam3x_ek_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3X. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Load the program 16 | load 17 | 18 | # Reset peripheral (RSTC_CR) 19 | set *0x400e1a00 = 0xA5000004 20 | 21 | # Initialize PC and stack pointer 22 | mon reg sp=(0x20000000) 23 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 24 | mon reg pc=(0x20000004) 25 | 26 | info reg 27 | 28 | # End of 'reset' command 29 | end 30 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/tests/unit/README: -------------------------------------------------------------------------------- 1 | These unit tests only work on Maple. This test runs on a Maple, 2 | as node #00. One other node is expected on node #01, running the 3 | "unit_rx" sketch, which runs on Arduino. 4 | 5 | In the future, it would be interesting to write a test which enumerated 6 | the entire tree. Each node could implement a "child finder", where it 7 | sends a message to each child. Upon receiving the message, each child 8 | sends the message out to ITS children, AND sends a "Hello" to the base node. 9 | 10 | This requires a 'F' finder request. For the response, we can re-use 11 | the 'E' echo response. The 'E' echo system presumes that the base is 12 | the requestor and the RX nodes are the responder. 13 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkCDC/usbdrvasm.asm: -------------------------------------------------------------------------------- 1 | /* Name: usbdrvasm.asm 2 | * Project: V-USB, virtual USB port for Atmel's(r) AVR(r) microcontrollers 3 | * Author: Christian Starkjohann 4 | * Creation Date: 2006-03-01 5 | * Tabsize: 4 6 | * Copyright: (c) 2006 by OBJECTIVE DEVELOPMENT Software GmbH 7 | * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt) 8 | * This Revision: $Id$ 9 | */ 10 | 11 | /* 12 | General Description: 13 | The IAR compiler/assembler system prefers assembler files with file extension 14 | ".asm". We simply provide this file as an alias for usbdrvasm.S. 15 | 16 | Thanks to Oleg Semyonov for his help with the IAR tools port! 17 | */ 18 | 19 | #include "usbdrvasm.S" 20 | 21 | end 22 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkMouse/usbdrvasm.asm: -------------------------------------------------------------------------------- 1 | /* Name: usbdrvasm.asm 2 | * Project: V-USB, virtual USB port for Atmel's(r) AVR(r) microcontrollers 3 | * Author: Christian Starkjohann 4 | * Creation Date: 2006-03-01 5 | * Tabsize: 4 6 | * Copyright: (c) 2006 by OBJECTIVE DEVELOPMENT Software GmbH 7 | * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt) 8 | * This Revision: $Id$ 9 | */ 10 | 11 | /* 12 | General Description: 13 | The IAR compiler/assembler system prefers assembler files with file extension 14 | ".asm". We simply provide this file as an alias for usbdrvasm.S. 15 | 16 | Thanks to Oleg Semyonov for his help with the IAR tools port! 17 | */ 18 | 19 | #include "usbdrvasm.S" 20 | 21 | end 22 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkUSB/usbdrvasm.asm: -------------------------------------------------------------------------------- 1 | /* Name: usbdrvasm.asm 2 | * Project: V-USB, virtual USB port for Atmel's(r) AVR(r) microcontrollers 3 | * Author: Christian Starkjohann 4 | * Creation Date: 2006-03-01 5 | * Tabsize: 4 6 | * Copyright: (c) 2006 by OBJECTIVE DEVELOPMENT Software GmbH 7 | * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt) 8 | * This Revision: $Id$ 9 | */ 10 | 11 | /* 12 | General Description: 13 | The IAR compiler/assembler system prefers assembler files with file extension 14 | ".asm". We simply provide this file as an alias for usbdrvasm.S. 15 | 16 | Thanks to Oleg Semyonov for his help with the IAR tools port! 17 | */ 18 | 19 | #include "usbdrvasm.S" 20 | 21 | end 22 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/examples/scanner/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | int serial_putc( char c, FILE * ) 20 | { 21 | Serial.write( c ); 22 | 23 | return c; 24 | } 25 | 26 | void printf_begin(void) 27 | { 28 | fdevopen( &serial_putc, 0 ); 29 | } 30 | 31 | #endif // __PRINTF_H__ 32 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkJoystick/usbdrvasm.asm: -------------------------------------------------------------------------------- 1 | /* Name: usbdrvasm.asm 2 | * Project: V-USB, virtual USB port for Atmel's(r) AVR(r) microcontrollers 3 | * Author: Christian Starkjohann 4 | * Creation Date: 2006-03-01 5 | * Tabsize: 4 6 | * Copyright: (c) 2006 by OBJECTIVE DEVELOPMENT Software GmbH 7 | * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt) 8 | * This Revision: $Id$ 9 | */ 10 | 11 | /* 12 | General Description: 13 | The IAR compiler/assembler system prefers assembler files with file extension 14 | ".asm". We simply provide this file as an alias for usbdrvasm.S. 15 | 16 | Thanks to Oleg Semyonov for his help with the IAR tools port! 17 | */ 18 | 19 | #include "usbdrvasm.S" 20 | 21 | end 22 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkKeyboard/usbdrvasm.asm: -------------------------------------------------------------------------------- 1 | /* Name: usbdrvasm.asm 2 | * Project: V-USB, virtual USB port for Atmel's(r) AVR(r) microcontrollers 3 | * Author: Christian Starkjohann 4 | * Creation Date: 2006-03-01 5 | * Tabsize: 4 6 | * Copyright: (c) 2006 by OBJECTIVE DEVELOPMENT Software GmbH 7 | * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt) 8 | * This Revision: $Id$ 9 | */ 10 | 11 | /* 12 | General Description: 13 | The IAR compiler/assembler system prefers assembler files with file extension 14 | ".asm". We simply provide this file as an alias for usbdrvasm.S. 15 | 16 | Thanks to Oleg Semyonov for his help with the IAR tools port! 17 | */ 18 | 19 | #include "usbdrvasm.S" 20 | 21 | end 22 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkIRLib/examples/IRsendDemo/IRsendDemo.ino: -------------------------------------------------------------------------------- 1 | /* Example program for from IRLib – an Arduino library for infrared encoding and decoding 2 | * Version 1.0 January 2013 3 | * Copyright 2013 by Chris Young http://cyborg5.com 4 | * Based on original example sketch for IRremote library 5 | * Version 0.11 September, 2009 6 | * Copyright 2009 Ken Shirriff 7 | * http://arcfn.com 8 | */ 9 | #include 10 | 11 | IRsend My_Sender; 12 | 13 | void setup() 14 | { 15 | Serial.begin(9600); 16 | } 17 | 18 | void loop() { 19 | if (Serial.read() != -1) { 20 | //send a code every time a character is received from the serial port 21 | //Sony DVD power A8BCA 22 | My_Sender.send(SONY,0xa8bca, 20); 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkOLED/RESEARCH.txt: -------------------------------------------------------------------------------- 1 | RESEARCH 2 | 3 | 4 | SSD1306 5 | http://www.solomon-systech.com/en/product/display-ic/oled-driver-controller/ssd1306/ 6 | SSD1306 is a single-chip CMOS OLED/PLED driver with controller for organic / polymer light emitting diode dot-matrix graphic display system. It consists of 128 segments and 64 commons. This IC is designed for Common Cathode type OLED panel. 7 | 8 | 9 | ---- SSD1306 Datasheets ---- 10 | 11 | https://www.adafruit.com/datasheets/SSD1306.pdf 12 | 13 | http://www.crystalfontz.com/controllers/Solomon_Systech_SSD1306_v1.1_April_2008.pdf 14 | 15 | 16 | ---- Other SSD1306 Libraries ---- 17 | 18 | 19 | 20 | ---- Projects ---- 21 | 22 | 23 | 24 | ---- Other References ---- 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/tests/unit_rx/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 James Coliz, Jr. 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | int serial_putc( char c, FILE * ) 20 | { 21 | Serial.write( c ); 22 | 23 | return c; 24 | } 25 | 26 | void printf_begin(void) 27 | { 28 | fdevopen( &serial_putc, 0 ); 29 | } 30 | 31 | #endif // __PRINTF_H__ 32 | -------------------------------------------------------------------------------- /digistump-avr/libraries/Digispark_Examples/Expander/Expander.ino: -------------------------------------------------------------------------------- 1 | #include 2 | #define expander 0x20 3 | 4 | byte expanderStatus = B11111111; //all off 5 | 6 | void setup() 7 | { 8 | TinyWireM.begin(); 9 | } 10 | 11 | void loop() 12 | { 13 | expanderWrite(0,HIGH); 14 | delay(1000); 15 | expanderWrite(0,LOW); 16 | delay(1000); 17 | } 18 | 19 | 20 | void expanderWrite(byte pinNumber, boolean state){ 21 | if(state == HIGH) 22 | expanderStatus &= ~(1 << pinNumber); 23 | else 24 | expanderStatus |= (1 << pinNumber); 25 | 26 | expanderWrite(expanderStatus); 27 | } 28 | 29 | void expanderWrite(byte _data ) { 30 | TinyWireM.beginTransmission(expander); 31 | TinyWireM.send(_data); 32 | TinyWireM.endTransmission(); 33 | } 34 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/tests/native/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 James Coliz, Jr. 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #include "WProgram.h" 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #endif // __PRINTF_H__ 34 | -------------------------------------------------------------------------------- /digistump-sam/libraries/DigiFi/examples/ping/ping.ino: -------------------------------------------------------------------------------- 1 | #include 2 | DigiFi wifi; 3 | 4 | void setup() 5 | { 6 | Serial.begin(9600); 7 | wifi.begin(9600); 8 | 9 | //DigiX trick - since we are on serial over USB wait for character to be entered in serial terminal 10 | while(!Serial.available()){ 11 | Serial.println("Enter any key to begin"); 12 | delay(1000); 13 | } 14 | 15 | Serial.println("Starting"); 16 | 17 | while (wifi.ready() != 1) 18 | { 19 | Serial.println("Error connecting to network"); 20 | delay(15000); 21 | } 22 | 23 | Serial.println("Connected to wifi!"); 24 | wifi.startATMode(); 25 | Serial.println(wifi.ping("192.168.2.1")); 26 | wifi.endATMode(); 27 | wifi.close(); 28 | } 29 | 30 | void loop() 31 | { 32 | 33 | } 34 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/tests/native/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 James Coliz, Jr. 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #include "WProgram.h" 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #endif // __PRINTF_H__ 34 | -------------------------------------------------------------------------------- /digistump-avr/libraries/LedControl/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For LedControl 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | LedControl KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | shutdown KEYWORD2 16 | setScanLimit KEYWORD2 17 | setIntensity KEYWORD2 18 | clearDisplay KEYWORD2 19 | setLed KEYWORD2 20 | setRow KEYWORD2 21 | setColumn KEYWORD2 22 | setDigit KEYWORD2 23 | setChar KEYWORD2 24 | 25 | ####################################### 26 | # Constants (LITERAL1) 27 | ####################################### 28 | 29 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkOLED/README.txt: -------------------------------------------------------------------------------- 1 | Overhauled to support Wire library, print library, and generally be more "Arduino friendly" - renamed DigiOLED to avoid confussion - 1/14/2015 by Erik Kettenburg/Digistump 2 | 3 | Ported to Arduino CPP and working on DigiStump Pro 1/11/15 by defragster 4 | 5 | SSD1306xLED - Drivers for SSD1306 controlled dot matrix OLED/PLED 128x64 displays 6 | 7 | SSD1306xLED is a C library for working with the SSD1306 display driver to control dot matrix OLED/PLED 128x64 displays. It is intended to be used with the Tinusaur board but should also work with any other board based on ATtiny85 or similar microcontroller. 8 | 9 | SSD1306xLED is written in plain C and does not require any additional libraries to function except those that come with the WinAVR SDK. 10 | 11 | 12 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkSoftSerial/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map for SoftSerial 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | SoftSerial KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | begin KEYWORD2 16 | end KEYWORD2 17 | read KEYWORD2 18 | available KEYWORD2 19 | isListening KEYWORD2 20 | overflow KEYWORD2 21 | flush KEYWORD2 22 | listen KEYWORD2 23 | txMode KEYWORD2 24 | rxMode KEYWORD2 25 | 26 | ####################################### 27 | # Constants (LITERAL1) 28 | ####################################### 29 | 30 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkSimpleServo/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map SimpleServo 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | SimpleServo KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | attach KEYWORD2 16 | attached KEYWORD2 17 | detach KEYWORD2 18 | read KEYWORD2 19 | setMaximumPulse KEYWORD2 20 | setMinimumPulse KEYWORD2 21 | write KEYWORD2 22 | writeMillis KEYWORD2 23 | writeMicrosecondsMillis KEYWORD2 24 | 25 | ####################################### 26 | # Constants (LITERAL1) 27 | ####################################### 28 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkUSB/examples/Echo/Echo.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void setup() { 4 | DigiUSB.begin(); 5 | } 6 | 7 | void get_input() { 8 | int lastRead; 9 | // when there are no characters to read, or the character isn't a newline 10 | while (true) { // loop forever 11 | if (DigiUSB.available()) { 12 | // something to read 13 | lastRead = DigiUSB.read(); 14 | DigiUSB.write(lastRead); 15 | 16 | if (lastRead == '\n') { 17 | break; // when we get a newline, break out of loop 18 | } 19 | } 20 | 21 | // refresh the usb port for 10 milliseconds 22 | DigiUSB.delay(10); 23 | } 24 | } 25 | 26 | void loop() { 27 | // print output 28 | DigiUSB.println("Waiting for input..."); 29 | // get input 30 | get_input(); 31 | } -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/sensornet/DuinodeV1.h: -------------------------------------------------------------------------------- 1 | #ifndef __DUINODE_V3_H__ 2 | #define __DUINODE_V3_H__ 3 | 4 | /** 5 | * @file DuinodeV1.h 6 | * 7 | * Contains hardware definitions for RF Duinode V1 (3V3) 8 | */ 9 | 10 | #define PINS_DEFINED 1 11 | #define __PLATFORM__ "RF Duinode V1 (3V3)" 12 | 13 | const int rf_irq = 0; 14 | 15 | const int led_red = 0; 16 | const int led_yellow = 0; 17 | const int led_green = 0; 18 | const int button_a = 0; 19 | 20 | const int rf_ce = 8; 21 | const int rf_csn = 9; 22 | 23 | const int temp_pin = 2; // analog 24 | const int voltage_pin = 3; // analog 25 | 26 | // 1.1V internal reference after 1M/470k divider, in 8-bit fixed point 27 | const unsigned voltage_reference = 0x371; 28 | 29 | #endif // __DUINODE_V3_H__ 30 | // vim:cin:ai:sts=2 sw=2 ft=cpp 31 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/sensornet/DuinodeV3.h: -------------------------------------------------------------------------------- 1 | #ifndef __DUINODE_V3_H__ 2 | #define __DUINODE_V3_H__ 3 | 4 | /** 5 | * @file DuinodeV3.h 6 | * 7 | * Contains hardware definitions for RF Duinode V3 (2V4) 8 | */ 9 | 10 | #define PINS_DEFINED 1 11 | #define __PLATFORM__ "RF Duinode V3/V4 (2V4)" 12 | 13 | const int rf_irq = 0; 14 | 15 | const int led_red = 3; 16 | const int led_yellow = 4; 17 | const int led_green = 5; 18 | const int button_a = 6; 19 | 20 | const int rf_ce = 8; 21 | const int rf_csn = 7; 22 | 23 | const int temp_pin = 2; // analog 24 | const int voltage_pin = 3; // analog 25 | 26 | // 1.1V internal reference after 1M/470k divider, in 8-bit fixed point 27 | const unsigned voltage_reference = 0x371; 28 | 29 | #endif // __DUINODE_V3_H__ 30 | // vim:cin:ai:sts=2 sw=2 ft=cpp 31 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/sensornet/DuinodeV5.h: -------------------------------------------------------------------------------- 1 | #ifndef __DUINODE_V5_H__ 2 | #define __DUINODE_V5_H__ 3 | 4 | /** 5 | * @file DuinodeV3.h 6 | * 7 | * Contains hardware definitions for RF Duinode V5 (2V4) 8 | */ 9 | 10 | #define PINS_DEFINED 1 11 | #define __PLATFORM__ "RF Duinode V5 (2V4)" 12 | 13 | const int rf_irq = 0; 14 | 15 | const int led_red = 3; 16 | const int led_yellow = 4; 17 | const int led_green = 5; 18 | const int button_a = 6; 19 | 20 | const int rf_ce = 14; 21 | const int rf_csn = 15; 22 | 23 | const int temp_pin = 2; // analog 24 | const int voltage_pin = 3; // analog 25 | 26 | // 1.1V internal reference after 1M/470k divider, in 8-bit fixed point 27 | const unsigned voltage_reference = 0x371; 28 | 29 | #endif // __DUINODE_V5_H__ 30 | // vim:cin:ai:sts=2 sw=2 ft=cpp 31 | -------------------------------------------------------------------------------- /digistump-avr/libraries/LPD8806/README.md: -------------------------------------------------------------------------------- 1 | # Arduino library for LPD8806 # 2 | This Library was written for the LPD8806 PWM LED driver chips, strips and pixels. 3 | But the LPD8803/LPD8809 will probably work too. 4 | 5 | ## Where to Buy? ## 6 | Pick some up at [Adafruit Industries](http://www.adafruit.com/products/306) 7 | 8 | ## Download ## 9 | Click the Downloads Tab in the Tabbar above. 10 | Or follow [this](https://github.com/adafruit/LPD8806/zipball/master) link 11 | 12 | ## Installation ## 13 | * Uncompress the Downloaded Library 14 | * Rename the uncompressed folder to LPD8806 15 | * Check that the LPD8806 folder contains LPD8806.cpp and LPD8806.h 16 | * Place the LPD8806 library folder your /libraries/ folder, 17 | if the libraries folder does not exist - create it first! 18 | * Restart the IDE -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/examples/Arduino (ARM)/UTFT_Rotate_Bitmap/UTFT_Rotate_Bitmap.ino: -------------------------------------------------------------------------------- 1 | // UTFT_Rotate_Bitmap (C)2013 Henning Karlsen 2 | // web: http://www.henningkarlsen.com/electronics 3 | // 4 | // This program is a demo of the drawBitmap()-function. 5 | // 6 | // This program requires the UTFT library. 7 | // 8 | 9 | #include 10 | 11 | UTFT myGLCD(ITDB24E_16,38,39,40,41); // Remember to change the model parameter to suit your display module! 12 | 13 | extern unsigned short biohazard[0x1000]; 14 | 15 | void setup() 16 | { 17 | myGLCD.InitLCD(LANDSCAPE); 18 | myGLCD.fillScr(255, 255, 255); 19 | myGLCD.setColor(0, 0, 0); 20 | } 21 | 22 | void loop() 23 | { 24 | for (int i=0; i<360; i+=5) 25 | { 26 | myGLCD.drawBitmap (10, 10, 64, 64, biohazard, i, 32, 32); 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /digistump-avr/libraries/Adafruit_NeoPixel/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Adafruit_NeoPixel 3 | ####################################### 4 | # Class 5 | ####################################### 6 | 7 | Adafruit_NeoPixel KEYWORD1 8 | 9 | ####################################### 10 | # Methods and Functions 11 | ####################################### 12 | 13 | setPixelColor KEYWORD2 14 | setPin KEYWORD2 15 | setBrightness KEYWORD2 16 | numPixels KEYWORD2 17 | getPixelColor KEYWORD2 18 | Color KEYWORD2 19 | 20 | ####################################### 21 | # Constants 22 | ####################################### 23 | 24 | NEO_GRB LITERAL1 25 | NEO_COLMASK LITERAL1 26 | NEO_KHZ800 LITERAL1 27 | NEO_SPDMASK LITERAL1 28 | NEO_RGB LITERAL1 29 | NEO_KHZ400 LITERAL1 30 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkKeyboard/examples/Keyboard/Keyboard.ino: -------------------------------------------------------------------------------- 1 | #include "DigiKeyboard.h" 2 | 3 | void setup() { 4 | // don't need to set anything up to use DigiKeyboard 5 | } 6 | 7 | 8 | void loop() { 9 | // this is generally not necessary but with some older systems it seems to 10 | // prevent missing the first character after a delay: 11 | DigiKeyboard.sendKeyStroke(0); 12 | 13 | // Type out this string letter by letter on the computer (assumes US-style 14 | // keyboard) 15 | DigiKeyboard.println("Hello Digispark!"); 16 | 17 | // It's better to use DigiKeyboard.delay() over the regular Arduino delay() 18 | // if doing keyboard stuff because it keeps talking to the computer to make 19 | // sure the computer knows the keyboard is alive and connected 20 | DigiKeyboard.delay(5000); 21 | } 22 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/tests/unit/Globals.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | #ifndef __GLOBALS_H__ 10 | #define __GLOBALS_H__ 11 | 12 | // STL headers 13 | // C headers 14 | // Framework headers 15 | // Library headers 16 | // Project headers 17 | 18 | class RF24; 19 | class RF24Network; 20 | 21 | extern RF24 radio; 22 | extern RF24Network network; 23 | 24 | /** 25 | * Example for how classes should be declared 26 | */ 27 | 28 | class Template 29 | { 30 | private: 31 | protected: 32 | public: 33 | }; 34 | 35 | #endif // __GLOBALS_H__ 36 | // vim:cin:ai:sts=2 sw=2 ft=cpp 37 | -------------------------------------------------------------------------------- /digistump-sam/libraries/UTFT/tft_drivers/pcf8833/initlcd.h: -------------------------------------------------------------------------------- 1 | case PCF8833: 2 | LCD_Write_COM(0x01); 3 | LCD_Write_COM(0x25); 4 | LCD_Write_DATA(0x40); 5 | LCD_Write_COM(0x11); 6 | delay(10); 7 | LCD_Write_COM(0x20); 8 | LCD_Write_COM(0x38); 9 | LCD_Write_COM(0x29); 10 | LCD_Write_COM(0x13); 11 | LCD_Write_COM(0x36); 12 | LCD_Write_DATA(0x60); 13 | LCD_Write_COM(0x3A); 14 | LCD_Write_DATA(0x05); 15 | LCD_Write_COM(0x2A); 16 | LCD_Write_DATA(0x00); 17 | LCD_Write_DATA(0x7F); 18 | LCD_Write_COM(0xB4); 19 | LCD_Write_DATA(0x03); 20 | LCD_Write_DATA(0x08); 21 | LCD_Write_DATA(0x0b); 22 | LCD_Write_DATA(0x0e); 23 | LCD_Write_COM(0xBA); 24 | LCD_Write_DATA(0x07); 25 | LCD_Write_DATA(0x0D); 26 | LCD_Write_COM(0x2B); 27 | LCD_Write_DATA(0x00); 28 | LCD_Write_DATA(0x7F); 29 | LCD_Write_COM(0x2C); 30 | break; 31 | -------------------------------------------------------------------------------- /digistump-avr/libraries/VirtualWire/Makefile: -------------------------------------------------------------------------------- 1 | # Makefile 2 | # 3 | # Makefile for the Arduino VirtualWire project 4 | # 5 | # Author: Mike McCauley (mikem@airspayce.com) 6 | # Copyright (C) 2011 Mike McCauley 7 | # $Id: Makefile,v 1.1 2013/01/14 06:49:29 mikem Exp mikem $ 8 | 9 | PROJNAME = VirtualWire 10 | # Dont forget to also change the version at the top of RF22.h: 11 | DISTFILE = $(PROJNAME)-1.15.zip 12 | 13 | all: doxygen dist upload 14 | 15 | doxygen: 16 | doxygen project.cfg 17 | 18 | ci: 19 | (cd ..;ci -l `cat $(PROJNAME)/MANIFEST`) 20 | 21 | dist: 22 | (cd ..; zip $(PROJNAME)/$(DISTFILE) `cat $(PROJNAME)/MANIFEST`) 23 | 24 | upload: 25 | rsync -avz $(DISTFILE) doc/ www.airspayce.com:public_html/mikem/arduino/$(PROJNAME) 26 | rsync -avz ../../doc/VirtualWire.pdf doc/ www.airspayce.com:public_html/mikem/arduino/ 27 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkSoftRcPulseIn/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map SoftRcPulseIn 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | SoftRcPulseIn KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | LibVersion KEYWORD2 15 | LibRevision KEYWORD2 16 | LibTextVersionRevision KEYWORD2 17 | attach KEYWORD2 18 | attache KEYWORD2 19 | available KEYWORD2 20 | disponible KEYWORD2 21 | timeout KEYWORD2 22 | width_us KEYWORD2 23 | largeur_us KEYWORD2 24 | 25 | ####################################### 26 | # Constants (LITERAL1) 27 | ####################################### 28 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/CMSIS/DSP_Lib/Source/ARM/arm_cortexMx_math_Build.bat: -------------------------------------------------------------------------------- 1 | 2 | SET TMP=C:\Temp 3 | SET TEMP=C:\Temp 4 | 5 | SET UVEXE=C:\Keil\UV4\UV4.EXE 6 | 7 | %UVEXE% -rb arm_cortexM0x_math.uvproj -t"DSP_Lib CM0 LE" -o"DSP_Lib CM0 LE.txt" 8 | %UVEXE% -rb arm_cortexM0x_math.uvproj -t"DSP_Lib CM0 BE" -o"DSP_Lib CM0 BE.txt" 9 | %UVEXE% -rb arm_cortexM3x_math.uvproj -t"DSP_Lib CM3 LE" -o"DSP_Lib CM3 LE.txt" 10 | %UVEXE% -rb arm_cortexM3x_math.uvproj -t"DSP_Lib CM3 BE" -o"DSP_Lib CM3 BE.txt" 11 | %UVEXE% -rb arm_cortexM4x_math.uvproj -t"DSP_Lib CM4 LE" -o"DSP_Lib CM4 LE.txt" 12 | %UVEXE% -rb arm_cortexM4x_math.uvproj -t"DSP_Lib CM4 BE" -o"DSP_Lib CM4 BE.txt" 13 | %UVEXE% -rb arm_cortexM4x_math.uvproj -t"DSP_Lib CM4 LE FPU" -o"DSP_Lib CM4 LE FPU.txt" 14 | %UVEXE% -rb arm_cortexM4x_math.uvproj -t"DSP_Lib CM4 BE FPU" -o"DSP_Lib CM4 BE FPU.txt" -------------------------------------------------------------------------------- /digistump-sam/cores/digix/Client.h: -------------------------------------------------------------------------------- 1 | #ifndef client_h 2 | #define client_h 3 | #include "Print.h" 4 | #include "Stream.h" 5 | #include "IPAddress.h" 6 | 7 | class Client : public Stream { 8 | 9 | public: 10 | virtual int connect(IPAddress ip, uint16_t port = 80) =0; 11 | virtual int connect(const char *host, uint16_t port = 80) =0; 12 | virtual size_t write(uint8_t) =0; 13 | virtual size_t write(const uint8_t *buf, size_t size) =0; 14 | virtual int available() = 0; 15 | virtual int read() = 0; 16 | virtual int read(uint8_t *buf, size_t size) = 0; 17 | virtual int peek() = 0; 18 | virtual void flush() = 0; 19 | virtual void stop() = 0; 20 | virtual uint8_t connected() = 0; 21 | virtual operator bool() = 0; 22 | protected: 23 | uint8_t* rawIPAddress(IPAddress& addr) { return addr.raw_address(); }; 24 | }; 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /digistump-sam/libraries/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.write("x is "); // sends five bytes 26 | Wire.write(x); // sends one byte 27 | Wire.endTransmission(); // stop transmitting 28 | 29 | x++; 30 | delay(500); 31 | } 32 | -------------------------------------------------------------------------------- /digistump-avr/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 | write KEYWORD2 18 | read KEYWORD2 19 | 20 | ####################################### 21 | # Instances (KEYWORD2) 22 | ####################################### 23 | 24 | TinyWireM KEYWORD2 25 | 26 | ####################################### 27 | # Constants (LITERAL1) 28 | ####################################### 29 | 30 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/tests/unit/Globals.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | // STL headers 10 | // C headers 11 | // Framework headers 12 | // Library headers 13 | #include 14 | #include 15 | // Project headers 16 | // This component's header 17 | #include 18 | 19 | #include "WProgram.h" 20 | 21 | /****************************************************************************/ 22 | 23 | HardwareSPI SPI(2); 24 | 25 | // Radio on Maple Native w/ Getting Started board 26 | RF24 radio(7,6); 27 | RF24Network network(radio); 28 | 29 | // vim:cin:ai:sts=2 sw=2 ft=cpp 30 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/sensornet/S_message.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | #ifndef __S_MESSAGE_H__ 10 | #define __S_MESSAGE_H__ 11 | 12 | // STL headers 13 | // C headers 14 | // Framework headers 15 | // Library headers 16 | // Project headers 17 | 18 | /** 19 | * Sensor message (type 'S') 20 | */ 21 | 22 | struct S_message 23 | { 24 | uint16_t temp_reading; 25 | uint16_t voltage_reading; 26 | static char buffer[]; 27 | S_message(void): temp_reading(0), voltage_reading(0) {} 28 | char* toString(void); 29 | }; 30 | 31 | #endif // __S_MESSAGE_H__ 32 | // vim:cin:ai:sts=2 sw=2 ft=cpp 33 | -------------------------------------------------------------------------------- /digistump-sam/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_MODE0 LITERAL1 26 | SPI_MODE1 LITERAL1 27 | SPI_MODE2 LITERAL1 28 | SPI_MODE3 LITERAL1 29 | 30 | SPI_CONTINUE LITERAL1 31 | SPI_LAST LITERAL1 32 | -------------------------------------------------------------------------------- /digistump-avr/libraries/DigisparkUSB/examples/DigiScope/DigiScope.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void setup() { 4 | DigiUSB.begin(); 5 | } 6 | 7 | void get_input() { 8 | // when there are no characters to read 9 | while (1==1) { 10 | if(DigiUSB.available()){ 11 | //something to read 12 | DigiUSB.read(); 13 | break; 14 | } 15 | // refresh the usb port 16 | DigiUSB.refresh(); 17 | delay(10); 18 | 19 | } 20 | 21 | } 22 | 23 | 24 | void loop() { 25 | DigiUSB.refresh(); 26 | //print output 27 | float value = analogRead(1); //This is Pin3 28 | if(value>1020) 29 | value = 255; 30 | else if(value<2) 31 | value = 0; 32 | else 33 | value = value/4; 34 | //send value 35 | 36 | value = round(byte(value)); 37 | DigiUSB.write(value); 38 | 39 | //wait for response 40 | get_input(); 41 | 42 | } -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/examples/pingpair/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/examples/starping/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam4s_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash. 4 | # 5 | 6 | # define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device (Should be AT91SAM4S16C, but it is not available now) 16 | monitor flash device = AT91SAM4S16C 17 | # Enable flash download and flash breakpoints 18 | monitor flash download = 1 19 | 20 | # Load the program 21 | load 22 | 23 | # Reset peripheral (RSTC_CR) 24 | set *0x400e1400 = 0xA5000004 25 | 26 | # Initializing PC and stack pointer 27 | mon reg sp=(0x400000) 28 | mon reg pc=(0x400004) 29 | info reg 30 | 31 | # end of 'reset' command 32 | end 33 | -------------------------------------------------------------------------------- /digistump-avr/libraries/Adafruit_NeoPixel/README.md: -------------------------------------------------------------------------------- 1 | Adafruit NeoPixel library 2 | ========================= 3 | 4 | Arduino library for controlling single-wire-based LED pixels and strip such as the [Adafruit 60 LED/meter Digital LED strip][strip], the [Adafruit FLORA RGB Smart Pixel][flora], the [Adafruit Breadboard-friendly RGB Smart Pixel][pixel], the [Adafruit NeoPixel Stick][stick], and the [Adafruit NeoPixel Shield][shield]. 5 | 6 | After downloading, rename folder to 'Adafruit_NeoPixel' and install in Arduino Libraries folder. Restart Arduino IDE, then open File->Sketchbook->Library->Adafruit_NeoPixel->strandtest sketch. 7 | 8 | [flora]: http://adafruit.com/products/1060 9 | [strip]: http://adafruit.com/products/1138 10 | [pixel]: http://adafruit.com/products/1312 11 | [stick]: http://adafruit.com/products/1426 12 | [shield]: http://adafruit.com/products/1430 13 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/examples/GettingStarted/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/examples/led_remote/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/examples/nordic_fob/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/examples/pingpair_dyn/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/examples/pingpair_irq/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/examples/pingpair_pl/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/tests/pingpair_blocking/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/tests/pingpair_test/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/tests/pingpair_blocking/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/tests/pingpair_test/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam3u_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3U. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3U4E 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1200 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x80000) 29 | #set *0x80004 = *0x80004 & 0xFFFFFFFE 30 | mon reg pc=(0x80004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam3x_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3X. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3X8H 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1a00 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x80000) 29 | #set *0x80004 = *0x80004 & 0xFFFFFFFE 30 | mon reg pc=(0x80004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam4s_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash. 4 | # 5 | 6 | # define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device (Should be AT91SAM4S16C, but it is not available now) 16 | monitor flash device = AT91SAM4S16C 17 | # Enable flash download and flash breakpoints 18 | monitor flash download = 1 19 | 20 | # Load the program 21 | load 22 | 23 | # Reset peripheral (RSTC_CR) 24 | set *0x400e1400 = 0xA5000004 25 | 26 | # Initializing PC and stack pointer 27 | mon reg sp=(0x400000) 28 | mon reg pc=(0x400004) 29 | info reg 30 | 31 | # end of 'reset' command 32 | end 33 | -------------------------------------------------------------------------------- /digistump-avr/libraries/RF24/examples/pingpair_sleepy/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-avr/libraries/Wire/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 | read KEYWORD2 19 | receive KEYWORD2 20 | write KEYWORD2 21 | 22 | ####################################### 23 | # Instances (KEYWORD2) 24 | ####################################### 25 | 26 | Wire KEYWORD2 27 | 28 | ####################################### 29 | # Constants (LITERAL1) 30 | ####################################### 31 | 32 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/examples/rpi_hub_arduino/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/meshping/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/examples/sensornet/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | fdevopen( &serial_putc, 0 ); 31 | } 32 | 33 | #else 34 | #error This example is only for use on Arduino. 35 | #endif // ARDUINO 36 | 37 | #endif // __PRINTF_H__ 38 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam3s_ek2_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3S4C 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1400 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x400000) 29 | #set *0x400004 = *0x400004 & 0xFFFFFFFE 30 | mon reg pc=(0x400004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam3s_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3S4C 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1400 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x400000) 29 | #set *0x400004 = *0x400004 & 0xFFFFFFFE 30 | mon reg pc=(0x400004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam3u_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3U. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3U4E 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1200 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x80000) 29 | #set *0x80004 = *0x80004 & 0xFFFFFFFE 30 | mon reg pc=(0x80004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam3x_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3X. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3X8H 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1a00 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x80000) 29 | #set *0x80004 = *0x80004 & 0xFFFFFFFE 30 | mon reg pc=(0x80004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam3u_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3U. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3U4E 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1200 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x80000) 29 | #set *0x80004 = *0x80004 & 0xFFFFFFFE 30 | mon reg pc=(0x80004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam3x_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3X. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3X8H 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1a00 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x80000) 29 | #set *0x80004 = *0x80004 & 0xFFFFFFFE 30 | mon reg pc=(0x80004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam4s_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash. 4 | # 5 | 6 | # define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device (Should be AT91SAM4S16C, but it is not available now) 16 | monitor flash device = AT91SAM4S16C 17 | # Enable flash download and flash breakpoints 18 | monitor flash download = 1 19 | 20 | # Load the program 21 | load 22 | 23 | # Reset peripheral (RSTC_CR) 24 | set *0x400e1400 = 0xA5000004 25 | 26 | # Initializing PC and stack pointer 27 | mon reg sp=(0x400000) 28 | mon reg pc=(0x400004) 29 | info reg 30 | 31 | # end of 'reset' command 32 | end 33 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc/sam3n_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3N. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3N4C 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1400 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x00400000) 29 | #set *0x400004 = *0x400004 & 0xFFFFFFFE 30 | mon reg pc=(0x00400004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam3s_ek2_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3S4C 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1400 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x400000) 29 | #set *0x400004 = *0x400004 & 0xFFFFFFFE 30 | mon reg pc=(0x400004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam3s_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3S4C 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1400 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x400000) 29 | #set *0x400004 = *0x400004 & 0xFFFFFFFE 30 | mon reg pc=(0x400004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam3s_ek2_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3S4C 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1400 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x400000) 29 | #set *0x400004 = *0x400004 & 0xFFFFFFFE 30 | mon reg pc=(0x400004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam3s_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3S. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3S4C 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1400 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x400000) 29 | #set *0x400004 = *0x400004 & 0xFFFFFFFE 30 | mon reg pc=(0x400004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/librf24-rpi/librf24/compatibility.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: compatiblity.h 3 | * Author: purinda 4 | * 5 | * Created on 24 June 2012, 3:08 PM 6 | */ 7 | 8 | #ifndef COMPATIBLITY_H 9 | #define COMPATIBLITY_H 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | // added attribute unused to avoid compiler warnings 20 | static struct timeval start __attribute__ ((unused)) ,end __attribute__ ((unused)); 21 | 22 | static long __attribute__ ((unused)) mtime; 23 | static long __attribute__ ((unused)) seconds; 24 | static long __attribute__ ((unused)) useconds; 25 | 26 | void __msleep(int milisec); 27 | void __usleep(int milisec); 28 | void __start_timer(); 29 | long __millis(); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif /* COMPATIBLITY_H */ 36 | 37 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_arm/sam3n_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3N. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3N4C 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1400 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x00400000) 29 | #set *0x400004 = *0x400004 & 0xFFFFFFFE 30 | mon reg pc=(0x00400004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-sam/system/CMSIS/Examples/cmsis_example/gcc_atmel/sam3n_ek_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3N. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3N4C 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1400 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x00400000) 29 | #set *0x400004 = *0x400004 & 0xFFFFFFFE 30 | mon reg pc=(0x00400004) 31 | 32 | info reg 33 | 34 | # End of 'reset' command 35 | end 36 | -------------------------------------------------------------------------------- /digistump-avr/libraries/TinyRTClib/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For RTC 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | DateTime KEYWORD1 10 | RTC_DS1307 KEYWORD1 11 | RTC_Millis KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | year KEYWORD2 18 | month KEYWORD2 19 | day KEYWORD2 20 | hour KEYWORD2 21 | minute KEYWORD2 22 | second KEYWORD2 23 | dayOfWeek KEYWORD2 24 | secondstime KEYWORD2 25 | unixtime KEYWORD2 26 | begin KEYWORD2 27 | adjust KEYWORD2 28 | isrunning KEYWORD2 29 | now KEYWORD2 30 | 31 | ####################################### 32 | # Constants (LITERAL1) 33 | ####################################### 34 | 35 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/librf24-rpi/readme.txt: -------------------------------------------------------------------------------- 1 | this is library to use the nrf24l01 on the raspberry pi. 2 | 3 | it's based on the arduino lib from J. Coliz . 4 | the library was berryfied by Purinda Gunasekara . 5 | 6 | examples 7 | ======== 8 | you need to set the library path: 9 | cd examples 10 | export LD_LIBRARY_PATH=. 11 | ./pingtest 12 | 13 | In my examples I used /dev/spidev0.0 and GPIO25 14 | I have a model 1 rpi so you should check if the pins are on the same spot 15 | nrf-vcc = rpi-3v3 (1) 16 | nrf-gnd = rpi-gnd (6) 17 | nrf-ce = rpi-ce0 (24) 18 | nrf-csn = rpi-gpio25 (22) 19 | nrf-sck = rpi-sckl (23) 20 | nrf-mo = rpi-mosi (19) 21 | nrf-mi = rpi-miso (21) 22 | 23 | known issues 24 | ============ 25 | spidev0.0 or spidev0.1 doesn't seem to work. 26 | 27 | contact 28 | ======= 29 | Arco van Geest 30 | 31 | 32 | -------------------------------------------------------------------------------- /digistump-sam/variants/digix/debug_scripts/gcc/arduino_due_x_flash.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in flash on SAM3X. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3X8E 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1a00 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x80000) 29 | #set *0x80004 = *0x80004 & 0xFFFFFFFE 30 | mon reg pc=(0x80004) 31 | 32 | info reg 33 | 34 | break main 35 | 36 | # End of 'reset' command 37 | end 38 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | DigistumpArduino 2 | ================ 3 | 4 | Files to add Digistump support (Digispark, Pro, DigiX) to Arduino 1.6.X (1.6.4+) 5 | 6 | **These files are designed for install via the Arduino Boards Manager:** 7 | 8 | Board manager URL: http://digistump.com/package_digistump_index.json 9 | 10 | **Full Install Instructions:** 11 | 12 | Digispark: http://digistump.com/wiki/digispark/tutorials/connecting 13 | 14 | Digispark Pro: http://digistump.com/wiki/digispark/tutorials/connectingpro 15 | 16 | DigiX: http://digistump.com/wiki/digix/tutorials/software 17 | 18 | **To compile:** 19 | 20 | Micronucleus is the only executable in these packages that is pre-compiled: 21 | 22 | Micronucleus: https://github.com/micronucleus/micronucleus/tree/80419704f68bf0783c5de63a6a4b9d89b45235c7 23 | Dependencies: libusb and possibly lib32stdc on linux - (on ubuntu get it by issuing: apt-get install lib32stdc++6) -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/librf24-rpi/librf24/readme.txt: -------------------------------------------------------------------------------- 1 | this is library to use the nrf24l01 on the raspberry pi. 2 | 3 | it's based on the arduino lib from J. Coliz . 4 | the library was berryfied by Purinda Gunasekara . 5 | 6 | examples 7 | ======== 8 | you need to set the library path: 9 | cd examples 10 | export LD_LIBRARY_PATH=. 11 | ./pingtest 12 | 13 | In my examples I used /dev/spidev0.0 and GPIO25 14 | I have a model 1 rpi so you should check if the pins are on the same spot 15 | nrf-vcc = rpi-3v3 (1) 16 | nrf-gnd = rpi-gnd (6) 17 | nrf-ce = rpi-ce0 (24) 18 | nrf-csn = rpi-gpio25 (22) 19 | nrf-sck = rpi-sckl (23) 20 | nrf-mo = rpi-mosi (19) 21 | nrf-mi = rpi-miso (21) 22 | 23 | known issues 24 | ============ 25 | spidev0.0 or spidev0.1 doesn't seem to work. 26 | 27 | contact 28 | ======= 29 | Arco van Geest 30 | 31 | 32 | -------------------------------------------------------------------------------- /digistump-sam/libraries/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 | Wire1 KEYWORD2 28 | 29 | ####################################### 30 | # Constants (LITERAL1) 31 | ####################################### 32 | 33 | -------------------------------------------------------------------------------- /digistump-sam/variants/digix/debug_scripts/gcc/arduino_due_x_sram.gdb: -------------------------------------------------------------------------------- 1 | #******************************************************* 2 | # 3 | # Connect to J-Link and debug application in sram on SAM3X. 4 | # 5 | 6 | # Define 'reset' command 7 | define reset 8 | 9 | # Connect to the J-Link gdb server 10 | target remote localhost:2331 11 | 12 | # Reset the chip to get to a known state 13 | monitor reset 14 | 15 | # Select flash device 16 | monitor flash device = AT91SAM3X8E 17 | 18 | # Enable flash download and flash breakpoints 19 | monitor flash download = 1 20 | 21 | # Load the program 22 | load 23 | 24 | # Reset peripheral (RSTC_CR) 25 | set *0x400e1a00 = 0xA5000004 26 | 27 | # Initialize PC and stack pointer 28 | mon reg sp=(0x20000000) 29 | #set *0x20000004 = *0x20000004 & 0xFFFFFFFE 30 | mon reg pc=(0x20000004) 31 | 32 | info reg 33 | 34 | break main 35 | 36 | # End of 'reset' command 37 | end 38 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/examples/led_remote/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | #if !defined(__arm__) 31 | fdevopen( &serial_putc, 0 ); 32 | #endif 33 | } 34 | 35 | #else 36 | #error This example is only for use on Arduino. 37 | #endif // ARDUINO 38 | 39 | #endif // __PRINTF_H__ 40 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/examples/nordic_fob/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | #if !defined(__arm__) 31 | fdevopen( &serial_putc, 0 ); 32 | #endif 33 | } 34 | 35 | #else 36 | #error This example is only for use on Arduino. 37 | #endif // ARDUINO 38 | 39 | #endif // __PRINTF_H__ 40 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/examples/pingpair/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | #if !defined(__arm__) 31 | fdevopen( &serial_putc, 0 ); 32 | #endif 33 | } 34 | 35 | #else 36 | #error This example is only for use on Arduino. 37 | #endif // ARDUINO 38 | 39 | #endif // __PRINTF_H__ 40 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/examples/scanner/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | #if !defined(__arm__) 31 | fdevopen( &serial_putc, 0 ); 32 | #endif 33 | } 34 | 35 | #else 36 | #error This example is only for use on Arduino. 37 | #endif // ARDUINO 38 | 39 | #endif // __PRINTF_H__ 40 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/examples/starping/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | #if !defined(__arm__) 31 | fdevopen( &serial_putc, 0 ); 32 | #endif 33 | } 34 | 35 | #else 36 | #error This example is only for use on Arduino. 37 | #endif // ARDUINO 38 | 39 | #endif // __PRINTF_H__ 40 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/examples/GettingStarted/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | #if !defined(__arm__) 31 | fdevopen( &serial_putc, 0 ); 32 | #endif 33 | } 34 | 35 | #else 36 | #error This example is only for use on Arduino. 37 | #endif // ARDUINO 38 | 39 | #endif // __PRINTF_H__ 40 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/examples/pingpair_dyn/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | #if !defined(__arm__) 31 | fdevopen( &serial_putc, 0 ); 32 | #endif 33 | } 34 | 35 | #else 36 | #error This example is only for use on Arduino. 37 | #endif // ARDUINO 38 | 39 | #endif // __PRINTF_H__ 40 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/examples/pingpair_irq/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | #if !defined(__arm__) 31 | fdevopen( &serial_putc, 0 ); 32 | #endif 33 | } 34 | 35 | #else 36 | #error This example is only for use on Arduino. 37 | #endif // ARDUINO 38 | 39 | #endif // __PRINTF_H__ 40 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/examples/pingpair_pl/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | #if !defined(__arm__) 31 | fdevopen( &serial_putc, 0 ); 32 | #endif 33 | } 34 | 35 | #else 36 | #error This example is only for use on Arduino. 37 | #endif // ARDUINO 38 | 39 | #endif // __PRINTF_H__ 40 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24/examples/pingpair_sleepy/printf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 J. Coliz 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | version 2 as published by the Free Software Foundation. 7 | */ 8 | 9 | /** 10 | * @file printf.h 11 | * 12 | * Setup necessary to direct stdout to the Arduino Serial library, which 13 | * enables 'printf' 14 | */ 15 | 16 | #ifndef __PRINTF_H__ 17 | #define __PRINTF_H__ 18 | 19 | #ifdef ARDUINO 20 | 21 | int serial_putc( char c, FILE * ) 22 | { 23 | Serial.write( c ); 24 | 25 | return c; 26 | } 27 | 28 | void printf_begin(void) 29 | { 30 | #if !defined(__arm__) 31 | fdevopen( &serial_putc, 0 ); 32 | #endif 33 | } 34 | 35 | #else 36 | #error This example is only for use on Arduino. 37 | #endif // ARDUINO 38 | 39 | #endif // __PRINTF_H__ 40 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/tests/README: -------------------------------------------------------------------------------- 1 | This is the 'receiver' for the unit tests. Run it on a node which 2 | is NOT under test. 3 | 4 | TODO 5 | 6 | Send finder request needs a re-think. It needs to be re-implemented as a Tictocs::Timer, so it 7 | doesn't block the loop(). 8 | 9 | I could also make Tictocs objects which monitor the RF24network and pull off messages that are just 10 | for them. Likewise, the network can raise a signal when there is a new message. Although I would not 11 | want to put that into the library for fear of adding a dependency. 12 | 13 | so the finder needs to maintain state 14 | - Waiting: Waiting for a finder request 15 | - Sending: In the midst of looping through children 16 | 17 | Needs to have some delay between each send. So the finder has a timer component. 18 | 19 | Also... Reset should also reset the internal copy of the sync data. Sync may need a 'reset' method. 20 | -------------------------------------------------------------------------------- /digistump-sam/libraries/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.write("hello "); // respond with message of 6 bytes 31 | // as expected by master 32 | } 33 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RF24Network/tests/unit_rx/README: -------------------------------------------------------------------------------- 1 | This is the 'receiver' for the unit tests. Run it on a node which 2 | is NOT under test. 3 | 4 | TODO 5 | 6 | Send finder request needs a re-think. It needs to be re-implemented as a Tictocs::Timer, so it 7 | doesn't block the loop(). 8 | 9 | I could also make Tictocs objects which monitor the RF24network and pull off messages that are just 10 | for them. Likewise, the network can raise a signal when there is a new message. Although I would not 11 | want to put that into the library for fear of adding a dependency. 12 | 13 | so the finder needs to maintain state 14 | - Waiting: Waiting for a finder request 15 | - Sending: In the midst of looping through children 16 | 17 | Needs to have some delay between each send. So the finder has a timer component. 18 | 19 | Also... Reset should also reset the internal copy of the sync data. Sync may need a 'reset' method. 20 | -------------------------------------------------------------------------------- /digistump-sam/libraries/RTC/examples/Due_RTC_Alarm_Sample/Due_RTC_Alarm_Sample.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | // Select the Slowclock source 4 | //RTC_clock rtc_clock(RC); 5 | RTC_clock rtc_clock(XTAL); 6 | 7 | char* daynames[]={"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"}; 8 | 9 | void setup() { 10 | Serial.begin(9600); 11 | rtc_clock.init(); 12 | rtc_clock.set_time(10, 29, 49); 13 | 14 | rtc_clock.set_alarmtime(10, 30, 0); 15 | 16 | rtc_clock.attachalarm(announcement); 17 | // rtc_clock.disable_alarm(); 18 | } 19 | 20 | void loop() { 21 | Serial.print("At the third stroke, it will be "); 22 | Serial.print(rtc_clock.get_hours()); 23 | Serial.print(":"); 24 | Serial.print(rtc_clock.get_minutes()); 25 | Serial.print(":"); 26 | Serial.println(rtc_clock.get_seconds()); 27 | } 28 | 29 | void announcement() { 30 | Serial.println(); 31 | Serial.println("Get up and buy an Arduino Due."); 32 | } 33 | -------------------------------------------------------------------------------- /digistump-sam/libraries/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.read(); // receive a byte as character 28 | Serial.print(c); // print the character 29 | } 30 | 31 | delay(500); 32 | } 33 | --------------------------------------------------------------------------------