Skip to content

Commit

Permalink
fix #123
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun Qu committed Aug 13, 2016
1 parent c95af32 commit 08925be
Show file tree
Hide file tree
Showing 28 changed files with 150 additions and 19 deletions.
Binary file added Pynq-Z1/bitstream/base.bit
Binary file not shown.
1 change: 0 additions & 1 deletion Pynq-Z1/bitstream/base.bit.REMOVED.git-id

This file was deleted.

This file was deleted.

This file was deleted.

10 changes: 5 additions & 5 deletions Pynq-Z1/sdk/arduino_grove_ledbar/src/arduino_grove_ledbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void ledbar_init(){

void send_data(u8 data){
int i;
u8 data_state, clk_state, detect, data_internal;
u32 data_state, clk_state, detect, data_internal;

data_internal = data;

Expand Down Expand Up @@ -151,12 +151,12 @@ u16 reverse_data(u16 c){
* Function to reverse incoming data
* Allows LEDbar to be lit in reverse order
*/
int shift;
int shift0;
u16 result = 0;

for (shift = 0; shift < 16; shift++){
if (c & (0x0001 << shift))
result |= (0x8000 >> shift);
for (shift0 = 0; shift0 < 16; shift0++){
if (c & (0x0001 << shift0))
result |= (0x8000 >> shift0);
}

// 10 LSBs are used as LED Control 6 MSBs are ignored
Expand Down
Binary file modified Pynq-Z1/sdk/bin/arduino_grove_ledbar.bin
Binary file not shown.
Binary file added Pynq-Z1/sdk/bootbin/u-boot.elf
Binary file not shown.
1 change: 0 additions & 1 deletion Pynq-Z1/sdk/bootbin/u-boot.elf.REMOVED.git-id

This file was deleted.

Binary file added Zybo/bitstream/audiovideo.bit
Binary file not shown.
1 change: 0 additions & 1 deletion Zybo/bitstream/audiovideo.bit.REMOVED.git-id

This file was deleted.

Binary file added Zybo/bitstream/iop.bit
Binary file not shown.
1 change: 0 additions & 1 deletion Zybo/bitstream/iop.bit.REMOVED.git-id

This file was deleted.

Binary file added Zybo/bitstream/iop_trace.bit
Binary file not shown.
1 change: 0 additions & 1 deletion Zybo/bitstream/iop_trace.bit.REMOVED.git-id

This file was deleted.

145 changes: 145 additions & 0 deletions Zybo/notebooks/Examples/python_random.ipynb

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion Zybo/notebooks/Examples/python_random.ipynb.REMOVED.git-id

This file was deleted.

Binary file added Zybo/sdk/bootbin/boot.bin
Binary file not shown.
1 change: 0 additions & 1 deletion Zybo/sdk/bootbin/boot.bin.REMOVED.git-id

This file was deleted.

Binary file added Zybo/sdk/bootbin/u-boot.elf
Binary file not shown.
1 change: 0 additions & 1 deletion Zybo/sdk/bootbin/u-boot.elf.REMOVED.git-id

This file was deleted.

Binary file added docs/source/images/Kit_XPP.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion docs/source/images/Kit_XPP.jpeg.REMOVED.git-id

This file was deleted.

Binary file added docs/source/images/zybo.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion docs/source/images/zybo.jpeg.REMOVED.git-id

This file was deleted.

Binary file added docs/source/images/zybo_configuration.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion docs/source/images/zybo_configuration.jpeg.REMOVED.git-id

This file was deleted.

Binary file added docs/source/images/zybo_setup_config.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion docs/source/images/zybo_setup_config.jpeg.REMOVED.git-id

This file was deleted.

0 comments on commit 08925be

Please sign in to comment.