This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This is a 2 clock fifo used for transferring data between | |
* clock domains. | |
* | |
* I assume here that the output (read) clock is >5X slower than the | |
* input (write) clock. | |
* | |
* Also, the fifo is just 1 word deep. | |
* | |
* Changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main extends Activity implements OnColorChangedListener { | |
private ColorPicker picker; | |
private SVBar svBar; | |
private OpacityBar opacityBar; | |
private Button button; | |
private TextView text; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |