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
/* | |
* Copyright 2016 <Admobilize> | |
* MATRIX Labs [http://creator.matrix.one] | |
* This file is part of MATRIX Creator firmware for MCU | |
* Author: Andrés Calderón [andres.calderon@admobilize.com] | |
* | |
* MATRIX Creator firmware for MCU is free software: you can redistribute | |
* it and/or modify it under the terms of the GNU General Public License | |
* as published by the Free Software Foundation, either version 3 of the | |
* License, or (at your option) any later version. |
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
#include <wiringPi.h> | |
int main(void) { | |
wiringPiSetup(); | |
pinMode(5,OUTPUT) ; | |
while(1){ | |
digitalWrite (5, HIGH) ; delay(100); | |
digitalWrite (5, LOW) ; delay(100); |
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
###################### | |
# Timing Constraints # | |
###################### | |
##### Grouping Constraints ##### | |
NET CLKIN_I TNM_NET = clk50_grp; | |
##### Clock Period Constraints ##### | |
TIMESPEC TS_PER_CLK50 = PERIOD "clk50_grp" 20.0 ns; |
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
//////////////////////////////////////////////////////////////////////////////*/ | |
module matrix_clkgen ( | |
CLKIN, | |
RST, | |
CLKFX | |
); | |
input CLKIN; |
NewerOlder