code
string
repo_name
string
path
string
language
string
license
string
size
int64
library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity CRA is port( A : In std_logic_vector (7 downto 0); B : In std_logic_vector (7 downto 0); Cin : In std_logic; Cout : Out std_logic; Y : Out std_logic_vector (7 downto 0) ); end CRA; architecture RT...
02207-work-groupdt07
trunk/Project/code/archive/CRA.vhd
VHDL
lgpl
1,065
library IEEE; use IEEE.std_logic_1164.all; entity reg_ld is GENERIC(n : integer); Port ( AS : In std_logic_vector (n downto 0); RESET : In std_logic; CLOCK : In std_logic; LOAD : In std_logic; ZS : Out s...
02207-work-groupdt07
trunk/Project/code/archive/reg_ld.vhd
VHDL
lgpl
839
library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity chargue is port( clock: In std_logic; reset: In std_logic; loa: In std_logic; QF: Out std_logic_vector(71 downto 0) ); end chargue; architecture SCHEMATIC of chargue is ...
02207-work-groupdt07
trunk/Project/code/archive/charge.vhd
VHDL
lgpl
9,282
-- a simple 256*256 pixel (256*256*8 bits) Memory module -- arranged in a linear fashion. library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity MEMORY is port( Clock: in std_logic; Enable: in std_logic; Give_Zeros: in std_logic; Read: in std_logic;...
02207-work-groupdt07
trunk/Project/code/Memory.vhd
VHDL
lgpl
1,221
library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; use ieee.std_logic_arith.all; entity TB_cra is -- entity declaration end TB_cra; architecture TB of TB_cra is component CRA_15 is port( A : In std_logic_vector (15 downto 0); B : In std_logic_vector (15 downto 0); Cin : In s...
02207-work-groupdt07
trunk/Project/code/tb_adder_.vhd
VHDL
lgpl
1,468
library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity parcial is port( M1: in std_logic_vector(7 downto 0); M2: in std_logic_vector(7 downto 0); O1: out std_logic_vector(15 downto 0); O2: out std_logic_vector(15 downto 0)...
02207-work-groupdt07
trunk/Project/code/parcial.vhd
VHDL
lgpl
2,295
library IEEE; use IEEE.std_logic_1164.all; use STD.textio.all; use IEEE.std_logic_textio.all; use IEEE.std_logic_signed.all; entity E is end E; architecture A of E is signal CLOCK : std_logic; signal RESET : std_logic; signal disable : std_logic; signal QK : std_logic_vector (7 downto ...
02207-work-groupdt07
trunk/Project/code/tb_shiftreg.vhd
VHDL
lgpl
3,198
library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; use ieee.std_logic_arith.all; entity ADDER_TB is -- entity declaration end ADDER_TB; architecture TB of ADDER_TB is component ADDER_2 is port( A : In std_logic_vector (7 downto 0); B : In std_logic_vector (7 downto 0); Z : Ou...
02207-work-groupdt07
trunk/Project/code/tb_adder.vhd
VHDL
lgpl
1,269
-------------------------------------------------------------------- -- Test Bench for memory module (ESD book Chapter 5) -- by Weijun Zhang, 04/2001 -- -- use loop statement to test module completely -------------------------------------------------------------------- library IEEE; use IEEE.std_logic_1164.all; use I...
02207-work-groupdt07
trunk/Project/code/TB_memory.vhd
VHDL
lgpl
2,551
----------------------------------------------------- -- VHDL FSM (Finite State Machine) modeling -- (ESD book Figure 2.7) -- by Weijun Zhang, 04/2001 -- -- FSM model consists of two concurrent processes -- state_reg and comb_logic -- we use case statement to describe the state -- transistion. All the inputs and signa...
02207-work-groupdt07
trunk/Project/code/Sample_FSM.vhd
VHDL
lgpl
1,981
library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity csa8bit is Port ( A : In std_logic_vector (7 downto 0); B : In std_logic_vector (7 downto 0); C : In std_logic_vector (7 downto 0); Cin : In std_logic; Cout : Out std_logic; Z : Out std_logic_vec...
02207-work-groupdt07
trunk/Project/code/CSA_8bit.vhd
VHDL
lgpl
1,293
library IEEE; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use IEEE.numeric_std.all; use ieee.std_logic_unsigned.all; entity fsm_in_tb is end fsm_in_tb; architecture FSM_TB of fsm_in_tb is signal T_clock: std_logic; signal T_reset: std_logic; signal T_can_read: std_logic; signal T_address: std_logi...
02207-work-groupdt07
trunk/Project/code/TB_FSM_in.vhd
VHDL
lgpl
1,391
library IEEE; use IEEE.std_logic_1164.all; use STD.textio.all; use IEEE.std_logic_arith.all; use IEEE.std_logic_textio.all; use IEEE.std_logic_signed.all; entity TB_Filter is end TB_Filter; architecture A of TB_Filter is signal Clock: std_logic; signal mem_Enable: std_logic; signal mem_give_zeros: std_lo...
02207-work-groupdt07
trunk/Project/code/TB_filter.vhd
VHDL
lgpl
6,006
library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity csa15bit is Port ( A : In std_logic_vector (15 downto 0); B : In std_logic_vector (15 downto 0); C : In std_logic_vector (15 downto 0); Cin : In std_logic; Cout : Out std_logic; Z : Out std_logic...
02207-work-groupdt07
trunk/Project/code/CSA_15bit.vhd
VHDL
lgpl
1,318
library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity CRA_15 is port( A : In std_logic_vector (15 downto 0); B : In std_logic_vector (15 downto 0); Cin : In std_logic; Cout : Out std_logic; Y : Out std_logic_vector (15 downto 0) ); end CRA_15; archit...
02207-work-groupdt07
trunk/Project/code/CRA_15.vhd
VHDL
lgpl
1,625
library IEEE; use IEEE.std_logic_1164.all; use IEEE.std_logic_misc.all; use IEEE.std_logic_arith.all; entity Processor_3 is Port ( CLOCK : In std_logic; RESET : In std_logic; Read_In_Mem: Out std_logic; Write_In_Mem : Out std_logic; ...
02207-work-groupdt07
trunk/Project/code/Processor_3.vhd
VHDL
lgpl
6,380
\documentclass[11pt,a4paper]{article} \usepackage{url,,} \usepackage{graphicx} \usepackage{hyperref} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsmath} \usepackage{multirow} \usepackage{listings} \usepackage{fullpage} \usepackage{fancyhdr,a4wide} \usepackage{makeidx} \usepackage{placeins} %\...
02207-work-groupdt07
trunk/Project/Final report/dt07_report.tex
TeX
lgpl
31,406
package fracPackage; import java.awt.*; public class ColorScheme { public Color[] colorArr; public ColorScheme() { } public Color color(int nIter) { int red = (int)Math.round(-120*Math.cos(nIter/6.) + 120); int green = (int)Math.round(-120*Math.cos(nIter/6. + 1.04) + 120); ...
121-fractal-builder
ColorScheme.java
Java
gpl3
438
package fracPackage; import java.awt.*; public class FractalPoint extends pObject { private double x, y; private int nIter; private Iteration pIter; public FractalPoint(int i0, int j0, double x0, double y0, Iteration iter) { super(x0, y0); x = x0; y = y0; nIter = 0; pIter = iter; }...
121-fractal-builder
FractalPoint.java
Java
gpl3
710
package fracPackage; public class pObject{ private double re, im; public pObject(double x, double y) { re = 0; im = 0; } public void iterate (Iteration iter, double x, double y) { double oldRe = re; re = re*re - im*im + x; im = 2*im*oldRe + y; } public boolean isOut (Iteration ite...
121-fractal-builder
trunk/PolishNotation/src/fracPackage/pObject.java
Java
gpl3
382
<HTML> <BODY> <table align='center' width = "390" border = "0"> <tr> <td> Пусть F(z)— многочлен, z—комплексное число. Рассмотрим следующую последовательность: <br /> z<sub>0</sub>, z<sub>1</sub> = F(z<sub>0</sub>), z<sub>2</sub> = F(F(z<sub>0</sub>)) = F(z<sub>1</sub>), <br/> z<sub>3</sub>=F(F(F(z<sub>0</sub>))) =...
121-fractal-builder
trunk/Mandelbrot/programm.html
HTML
gpl3
1,268
package fracPackage; import java.awt.*; public class ColorScheme { public Color[] colorArr; public double alpha = 0; public double betta = 0; public double gamma = 0; public ColorScheme() { } public ColorScheme(double phi) { if(phi<10){ this.alpha = phi*0.628; } else if(...
121-fractal-builder
trunk/Mandelbrot/src/fracPackage/ColorScheme.java
Java
gpl3
765
/*package fracPackage; import javax.swing.*; import java.awt.*; import java.awt.image.*; import java.awt.event.*; public class rawDraw extends JFrame implements KeyListener { UserMenu usrMenu; public rawDraw() { super("RawMandelbrot"); addKeyListener(this); usrMenu = new UserMenu(this); ...
121-fractal-builder
trunk/Mandelbrot/src/fracPackage/rawDraw.java
Java
gpl3
1,676
package fracPackage; import polishNotation.Iteration; public class Message { public int type; public int dx; public int dy; public double chSize; public FractalPoint fPoint; public int i; public int j; public double xLeft; public double xRight; public double yLow; public double y...
121-fractal-builder
trunk/Mandelbrot/src/fracPackage/Message.java
Java
gpl3
487
package fracPackage; import polishNotation.Iteration; import java.awt.*; public class FractalPoint extends pObject { private double x, y; private int nIter; public FractalPoint(double x0, double y0, Iteration iter, double ceiling) { super(x0, y0, iter, ceiling); x = x0; y = y0; nIter = 0; ...
121-fractal-builder
trunk/Mandelbrot/src/fracPackage/FractalPoint.java
Java
gpl3
1,220
package fracPackage; import java.awt.*; import polishNotation.Iteration; import polishNotation.PolishNotation; import java.awt.image.*; //--- public class Fractal implements Runnable { Thread computation; static double xLeftDefault = -2; static double xRightDefault = 2; static double yLowDefault...
121-fractal-builder
trunk/Mandelbrot/src/fracPackage/Fractal.java
Java
gpl3
9,076
package fracPackage; import polishNotation.Iteration; import polishNotation.PolishNotation; import java.util.*; public class SynchrMenu { public static final int NOTHING = -1; public static final int MAKENEWFRACTAL = 0; public static final int CHANGESCALE = 1; public static final int MOVEX...
121-fractal-builder
trunk/Mandelbrot/src/fracPackage/SynchrMenu.java
Java
gpl3
6,736
package fracPackage; import polishNotation.Complex; import polishNotation.Iteration; public class pObject { Iteration iter; private Complex z; private Complex c; private double ceiling; public pObject(double x, double y, Iteration Iter, double Ceiling) // MANDELBROT { z = new Complex(0,0); c = ...
121-fractal-builder
trunk/Mandelbrot/src/fracPackage/pObject.java
Java
gpl3
767
package fracPackage; public interface AbleToDraw { public void putIterXYdata(double x, double y, int nIter); }
121-fractal-builder
trunk/Mandelbrot/src/fracPackage/AbleToDraw.java
Java
gpl3
120
package fracPackage; import java.awt.Component; import polishNotation.Iteration; public class JuliaFractal extends Fractal { public JuliaFractal(SynchrMenu synchr, Component Graph, AbleToDraw Window) { super(synchr, Graph, Window); a = synchr.a(); b = synchr.b(); } public FractalPoint mak...
121-fractal-builder
trunk/Mandelbrot/src/fracPackage/JuliaFractal.java
Java
gpl3
433
package polishNotation; public class OperObject extends Operand{ private boolean isOperand; private boolean isOperator; private Operand operand; private char operator; OperObject(boolean nd, boolean tor, Operand o, char c){ //constructors this.isOperand = nd; this.isOperator = tor; this....
121-fractal-builder
trunk/Mandelbrot/src/polishNotation/OperObject.java
Java
gpl3
1,143
package polishNotation; import java.util.LinkedList; public class PolishNotation{ public LinkedList<OperObject> outline; //fields public LinkedList<OperObject> stack; public String s; public PolishNotation(){ //constructor s = ""; outline = new LinkedList<OperObject>() ; stack = new L...
121-fractal-builder
trunk/Mandelbrot/src/polishNotation/PolishNotation.java
Java
gpl3
6,495
package polishNotation; public class Complex { private static final double EPS = 1e-12; // accuracy private double re, im; public Complex(double re, double im) { // constructors this.re = re; this.im = im; } public Complex(double re){ this(re, 0.0); } ...
121-fractal-builder
trunk/Mandelbrot/src/polishNotation/Complex.java
Java
gpl3
3,217
package polishNotation; public class Operand extends Complex{ private boolean isNumber; private boolean isZ; private boolean isC; private Complex value; Operand(){ //constructors this.isNumber = true; this.isZ = false; this.isC = false; this.value = new Complex(); } public Oper...
121-fractal-builder
trunk/Mandelbrot/src/polishNotation/Operand.java
Java
gpl3
2,954
package polishNotation; import java.util.LinkedList; //import java.util.LinkedList; public class Iteration{ public LinkedList<OperObject> outline; public Complex z; public Complex c; public Iteration(){ z = new Complex(); c = new Complex(); this.outline = new LinkedList<OperObject>(); } ...
121-fractal-builder
trunk/Mandelbrot/src/polishNotation/Iteration.java
Java
gpl3
2,813
package main_interface; import java.awt.Image; import java.awt.image.ImageObserver; public class FractalObserver implements ImageObserver { public boolean imageUpdate(Image img,int infoflags,int x,int y, int width, int heith){ return true; } }
121-fractal-builder
trunk/Mandelbrot/src/main_interface/FractalObserver.java
Java
gpl3
250
package main_interface; import java.awt.BorderLayout; import java.awt.Dimension; import java.io.File; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JEditorPane; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax....
121-fractal-builder
trunk/Mandelbrot/src/main_interface/helpWindow.java
Java
gpl3
2,210
package main_interface; import javax.swing.filechooser.FileFilter; public class JpgFilesFilter extends FileFilter { public boolean accept(java.io.File file) { if ( file.isDirectory() ) return true; return ( file.getName().endsWith("jpg")) ; } public String getDescription() { return "Изображения (*.jpg)"; ...
121-fractal-builder
trunk/Mandelbrot/src/main_interface/JpgFilesFilter.java
Java
gpl3
336
package main_interface; import javax.swing.filechooser.FileFilter; public class PngFilesFilter extends FileFilter { public boolean accept(java.io.File file) { if ( file.isDirectory() ) return true; return ( file.getName().endsWith("png")) ; } public String getDescription() { return "Изображения (*.png)"; ...
121-fractal-builder
trunk/Mandelbrot/src/main_interface/PngFilesFilter.java
Java
gpl3
335
package main_interface; import javax.swing.filechooser.FileFilter; public class TextFilesFilter extends FileFilter { public boolean accept(java.io.File file) { if ( file.isDirectory() ) return true; return ( file.getName().endsWith(".frac") ); } public String getDescription() { return "Фрактал (*.f...
121-fractal-builder
trunk/Mandelbrot/src/main_interface/TextFilesFilter.java
Java
gpl3
341
package main_interface; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPa...
121-fractal-builder
trunk/Mandelbrot/src/main_interface/ParametersWin.java
Java
gpl3
2,660
package main_interface; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; import java...
121-fractal-builder
trunk/Mandelbrot/src/main_interface/JuliaWindow.java
Java
gpl3
6,526
package main_interface; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JSlide...
121-fractal-builder
trunk/Mandelbrot/src/main_interface/ColorWindow.java
Java
gpl3
1,700
package main_interface; import javax.imageio.ImageIO; import javax.swing.*; import javax.swing.border.*; import java.awt.*; import java.awt.event.*; import java.awt.image.BufferedImage; import java.awt.image.ImageObserver; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.i...
121-fractal-builder
trunk/Mandelbrot/src/main_interface/MainFrame.java
Java
gpl3
22,032
<HTML> <BODY> <table align='center' width = "390" border = "0"> <tr> <td> Главное окошко программы делится на 4 логические части: <br /> 1) главное окошко с рисунком посередине 2) окошко внизу <b> f(z) = </b> предназначено для ввода функции. Функция может содержать арифметические операции +, -, *, /, ^, скобки, триго...
121-fractal-builder
trunk/Mandelbrot/instuction.html
HTML
gpl3
2,169
package fracPackage; import java.awt.*; public class FractalPoint extends pObject { private double x, y; private int nIter; private Iteration pIter; public FractalPoint(int i0, int j0, double x0, double y0, Iteration iter) { super(x0, y0); x = x0; y = y0; nIter = 0; pIter = iter; }...
121-fractal-builder
svn/trunk/FractalPoint.java
Java
gpl3
710
#include <QCoreApplication> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); return a.exec(); }
123-3-orlov-maltsev
trunk/orlov1233/untitled11/main.cpp
C++
mit
132
#include <QCoreApplication> #include <iostream> #include <climits> #include <cfloat> #include <cmath> using namespace std; int kvadrat(int a); int main() { cout<<kvadrat(5); return 0; }
123-3-orlov-maltsev
trunk/orlov1233/main.cpp
C++
mit
206
//package com.serial; // //import java.lang.reflect.Array; //import java.util.Arrays; //import java.util.HashMap; // //import android.os.Handler; //import android.util.Log; // //import com.friendlyarm.AndroidSDK.HardwareControler; //import com.mini6410.DataPackage; //import com.mini6410.MainActivity; // //...
122569111-test
src/com/serial/SerialServer.java
Java
gpl3
10,572
package com.mini6410.PWM; import android.app.Activity; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.CompoundButton; import android.widget.EditText; import android.widget.T...
122569111-test
src/com/mini6410/PWM/PWMActivity.java
Java
gpl3
9,947
package com.mini6410.EEPROM; import android.os.Handler; import android.util.Log; import com.friendlyarm.AndroidSDK.HardwareControler; public class ReadEEPROM{ private static final String TAG = "WriteEEPROM"; private static final int MAX_LENGTH = 256; //EEPROM最多可存储256个字节数据 Handler mHandler = null; ...
122569111-test
src/com/mini6410/EEPROM/ReadEEPROM.java
Java
gpl3
2,434
package com.mini6410.EEPROM; import android.os.Handler; import android.util.Log; import com.friendlyarm.AndroidSDK.HardwareControler; public class WriteEEPROM{ private static final String TAG = "WriteEEPROM"; private static final int MAX_LENGTH = 256; //EEPROM最多可存储256个字节数据 Handler mHandler = null; ...
122569111-test
src/com/mini6410/EEPROM/WriteEEPROM.java
Java
gpl3
2,687
package com.mini6410.EEPROM; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.text.Editable; import android.view.View; import android.view.Window; import android.widget.Button; import android.widget.EditText; import com.mini6410.R; public cla...
122569111-test
src/com/mini6410/EEPROM/EEPROMActivity.java
Java
gpl3
2,646
package com.mini6410.ADC; import java.util.Timer; import java.util.TimerTask; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import android.widget.TextView; import com.friendlyarm.AndroidSDK.HardwareControler; import com.mini6410....
122569111-test
src/com/mini6410/ADC/ADCActivity.java
Java
gpl3
2,274
package com.mini6410.HelloMini6410; import com.mini6410.R; import android.app.Activity; import android.os.Bundle; /** * * ClassName:HelloMini6410Activity * Reason: Hello Mini6410 Demo * * @author snowdream * @version * @since Ver 1.1 * @Date 2011 2012-03-10 20:11 * * @see */ public class Hel...
122569111-test
src/com/mini6410/HelloMini6410/HelloMini6410Activity.java
Java
gpl3
510
package com.mini6410.LED; import com.friendlyarm.AndroidSDK.HardwareControler; import com.mini6410.R; import android.app.Activity; import android.os.Bundle; import android.widget.CompoundButton; import android.widget.ToggleButton; /** * * ClassName:LEDActivity * Reason: LED Demo * * @author snowdream * @ve...
122569111-test
src/com/mini6410/LED/LEDActivity.java
Java
gpl3
4,833
package com.mini6410; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ArrayAdapter; import android.widget.ListView; i...
122569111-test
src/com/mini6410/MainActivity.java
Java
gpl3
2,193
package com.friendlyarm.AndroidSDK; import android.util.Log; public class HardwareControler { /* Serial Port */ static public native int openSerialPort( String devName, long baud, int dataBits, int stopBits ); /* LED */ static public native int setLedState( int ledID, int ledState ); /* PWM */ sta...
122569111-test
src/com/friendlyarm/AndroidSDK/HardwareControler.java
Java
gpl3
1,098
/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Part of the Wiring project - http://wiring.uniandes.edu.co Copyright (c) 2004-05 Hernando Barragan This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License a...
0w-experimental-arduino-core
trunk/cores/arduino-0019/WInterrupts.c
C
lgpl
5,440
/* wiring_pulse.c - pulseIn() function Part of Arduino - http://www.arduino.cc/ Copyright (c) 2005-2006 David A. Mellis This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either ve...
0w-experimental-arduino-core
trunk/cores/arduino-0019/wiring_pulse.c
C
lgpl
2,595
/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Part of the Wiring project - http://wiring.org.co Copyright (c) 2004-06 Hernando Barragan Modified 13 August 2006, David A. Mellis for Arduino - http://www.arduino.cc/ This library is free software; you can redistribute it and/or modify ...
0w-experimental-arduino-core
trunk/cores/arduino-0019/WMath.cpp
C++
lgpl
1,649
#ifndef WProgram_h #define WProgram_h #include <stdlib.h> #include <string.h> #include <math.h> #include <avr/interrupt.h> #include "wiring.h" #ifdef __cplusplus #include "WString.h" #include "HardwareSerial.h" uint16_t makeWord(uint16_t w); uint16_t makeWord(byte h, byte l); #define word(...) makeWord(__VA_ARGS_...
0w-experimental-arduino-core
trunk/cores/arduino-0019/WProgram.h
C
lgpl
1,437
#ifndef Binary_h #define Binary_h #define B0 0 #define B00 0 #define B000 0 #define B0000 0 #define B00000 0 #define B000000 0 #define B0000000 0 #define B00000000 0 #define B1 1 #define B01 1 #define B001 1 #define B0001 1 #define B00001 1 #define B000001 1 #define B0000001 1 #define B00000001 1 #define B10 2 #define...
0w-experimental-arduino-core
trunk/cores/arduino-0019/binary.h
C
lgpl
10,379
/* pins_arduino.c - pin definitions for the Arduino board Part of Arduino / Wiring Lite Copyright (c) 2005 David A. Mellis This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; ...
0w-experimental-arduino-core
trunk/cores/arduino-0019/pins_arduino.c
C
lgpl
12,945
/* wiring.c - Partial implementation of the Wiring API for the ATmega8. Part of Arduino - http://www.arduino.cc/ Copyright (c) 2005-2006 David A. Mellis This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
0w-experimental-arduino-core
trunk/cores/arduino-0019/wiring.c
C
lgpl
6,598
/* wiring_private.h - Internal header file. Part of Arduino - http://www.arduino.cc/ Copyright (c) 2005-2006 David A. Mellis This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation...
0w-experimental-arduino-core
trunk/cores/arduino-0019/wiring_private.h
C
lgpl
1,826
/* wiring_digital.c - digital input and output functions Part of Arduino - http://www.arduino.cc/ Copyright (c) 2005-2006 David A. Mellis This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Found...
0w-experimental-arduino-core
trunk/cores/arduino-0019/wiring_digital.c
C
lgpl
3,683
/* pins_arduino.h - Pin definition functions for Arduino Part of Arduino - http://www.arduino.cc/ Copyright (c) 2007 David A. Mellis This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
0w-experimental-arduino-core
trunk/cores/arduino-0019/pins_arduino.h
C
lgpl
3,253
/* wiring.h - Partial implementation of the Wiring API for the ATmega8. Part of Arduino - http://www.arduino.cc/ Copyright (c) 2005-2006 David A. Mellis This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
0w-experimental-arduino-core
trunk/cores/arduino-0019/wiring.h
C
lgpl
3,591
/* Print.h - Base class that provides print() and println() Copyright (c) 2008 David A. Mellis. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version ...
0w-experimental-arduino-core
trunk/cores/arduino-0019/Print.h
C++
lgpl
1,990
/* HardwareSerial.h - Hardware serial library for Wiring Copyright (c) 2006 Nicholas Zambetti. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2...
0w-experimental-arduino-core
trunk/cores/arduino-0019/HardwareSerial.h
C++
lgpl
1,999
/* WString.h - String library for Wiring & Arduino Copyright (c) 2009-10 Hernando Barragan. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either versi...
0w-experimental-arduino-core
trunk/cores/arduino-0019/WString.h
C++
lgpl
4,481
/* HardwareSerial.cpp - Hardware serial library for Wiring Copyright (c) 2006 Nicholas Zambetti. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either ...
0w-experimental-arduino-core
trunk/cores/arduino-0019/HardwareSerial.cpp
C++
lgpl
7,022
/* Stream.h - base class for character-based streams. Copyright (c) 2010 David A. Mellis. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of...
0w-experimental-arduino-core
trunk/cores/arduino-0019/Stream.h
C++
lgpl
1,061
#ifndef CPPLib__h #define CPPLib__h //"Alternate linkage specification": extern "C" { //#include <avr/io.h> //#include <stdlib.h> //#include <avr/sfr_defs.h> #include <stdint.h> } //Global overloaded new and delete operators can't be declared within a namespace: // 'void* SNAPI::operator new(SNAPI:...
0w-experimental-arduino-core
trunk/cores/arduino-0019/CPPLib.h
C
lgpl
662
/* wiring_analog.c - analog input and output Part of Arduino - http://www.arduino.cc/ Copyright (c) 2005-2006 David A. Mellis This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; eithe...
0w-experimental-arduino-core
trunk/cores/arduino-0019/wiring_analog.c
C
lgpl
5,542
/* WString.cpp - String library for Wiring & Arduino Copyright (c) 2009-10 Hernando Barragan. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either ve...
0w-experimental-arduino-core
trunk/cores/arduino-0019/WString.cpp
C++
lgpl
10,084
/* Tone.cpp A Tone Generator Library Written by Brett Hagman This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any l...
0w-experimental-arduino-core
trunk/cores/arduino-0019/Tone.cpp
C++
lgpl
13,198
/* wiring_shift.c - shiftOut() function Part of Arduino - http://www.arduino.cc/ Copyright (c) 2005-2006 David A. Mellis This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either v...
0w-experimental-arduino-core
trunk/cores/arduino-0019/wiring_shift.c
C
lgpl
1,601
#include <WProgram.h> int main(void) { init(); setup(); for (;;) loop(); return 0; }
0w-experimental-arduino-core
trunk/cores/arduino-0019/main.cpp
C++
lgpl
108
extern "C" { //#include "avr/io.h" #include "stdlib.h" } #include "CPPLib.h" void __cxa_pure_virtual() { //abort(); //See http://www.arduino.cc/playground/Code/Eclipse cli(); for (;;); } void operator delete (void *ptr) throw () { //I know: The "if" is not necessary, acc...
0w-experimental-arduino-core
trunk/cores/arduino-0019/CPPLib.cpp
C++
lgpl
844
/* Print.cpp - Base class that provides print() and println() Copyright (c) 2008 David A. Mellis. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either versi...
0w-experimental-arduino-core
trunk/cores/arduino-0019/Print.cpp
C++
lgpl
4,516
#include "wiring.h"
0w-experimental-arduino-core
trunk/cores/arduino-0019/WConstants.h
C
lgpl
20
#ifndef RGLib__h #define RGLib__h //By now, this is the only thing here. //See: //http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1284655356 const int nonAssigned_pin = -1; //Negative pins don't exist, and int is signed. #endif
0w-experimental-arduino-core
trunk/cores/arduino-0019/RGLib.h
C
lgpl
241
void setup() { } void loop() { }
0w-experimental-arduino-core
trunk/main.pde
Processing
lgpl
41
//#include "CPPLib.h" #include "WProgram.h" #include "main.pde" //Arduino-like main: int main(void) { init(); setup(); for (;;) loop(); return 0; } /* //WinAVR C++ conventional main: int main() { while(true) { } return 0; } */
0w-experimental-arduino-core
trunk/main.cpp
C++
lgpl
287
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
10812sreeja-cine
SignalStrengthSampler/src/com/google/android/apps/mytracks/signalstrength/SignalStrengthListenerCupcake.java
Java
asf20
6,236
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
10812sreeja-cine
SignalStrengthSampler/src/com/google/android/apps/mytracks/signalstrength/SignalStrengthListenerFactory.java
Java
asf20
1,650
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
10812sreeja-cine
SignalStrengthSampler/src/com/google/android/apps/mytracks/signalstrength/SignalStrengthService.java
Java
asf20
7,870
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
10812sreeja-cine
SignalStrengthSampler/src/com/google/android/apps/mytracks/signalstrength/SignalStrengthListenerEclair.java
Java
asf20
5,243
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
10812sreeja-cine
SignalStrengthSampler/src/com/google/android/apps/mytracks/signalstrength/SignalStrengthPreferences.java
Java
asf20
2,044
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
10812sreeja-cine
SignalStrengthSampler/src/com/google/android/apps/mytracks/signalstrength/SignalStrengthConstants.java
Java
asf20
1,200
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
10812sreeja-cine
SignalStrengthSampler/src/com/google/android/apps/mytracks/signalstrength/SignalStrengthListener.java
Java
asf20
1,157
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
10812sreeja-cine
SignalStrengthSampler/src/com/google/android/apps/mytracks/signalstrength/RecordingStateReceiver.java
Java
asf20
2,316
/* * Copyright 2010 Dynastream Innovations Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
10812sreeja-cine
MyTracks/src/com/dsi/ant/IAnt.aidl
AIDL
asf20
3,017
/* * Copyright 2010 Dynastream Innovations Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
10812sreeja-cine
MyTracks/src/com/dsi/ant/AntDefine.java
Java
asf20
17,797
/* * Copyright 2011 Dynastream Innovations Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
10812sreeja-cine
MyTracks/src/com/dsi/ant/Version.java
Java
asf20
1,193
/* * Copyright 2010 Dynastream Innovations Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
10812sreeja-cine
MyTracks/src/com/dsi/ant/AntMesg.java
Java
asf20
16,889
/* * Copyright 2011 Dynastream Innovations Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
10812sreeja-cine
MyTracks/src/com/dsi/ant/IAnt_6.aidl
AIDL
asf20
3,249
/* * Copyright 2010 Dynastream Innovations Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
10812sreeja-cine
MyTracks/src/com/dsi/ant/IServiceSettings.aidl
AIDL
asf20
902