A collection of How-To's revolving around the Zynq-7000 All Programmable SoC from Xilinx
The equivalent octave code:g = imread('32x128_B&W.png');g1 = round(g(:,:,1)/256);g2 = double([g1(1:8,end:-1:1) g1(9:16,end:-1:1) g1(17:24,end:-1:1) g1(25:32,end:-1:1)]);g3 = uint8(2.^([0:7])*g2);fid = fopen('logo.bin','w');fwrite(fid, g3);fclose(fid);Pretty cool, thanks for the hacking ;-)
Sweeeeeet. Nice code farmboy! Thanks for taking the time to write it up!
Yeah put my daughters names on the oled... they thought it was sooo cool.
Check this repository out: https://github.com/Digilent/linux-3.3-digilentIt looks like it's Digilents Linux Source. In /drivers/pmods is the OLED Driver.
The equivalent octave code:
ReplyDeleteg = imread('32x128_B&W.png');
g1 = round(g(:,:,1)/256);
g2 = double([g1(1:8,end:-1:1) g1(9:16,end:-1:1) g1(17:24,end:-1:1) g1(25:32,end:-1:1)]);
g3 = uint8(2.^([0:7])*g2);
fid = fopen('logo.bin','w');
fwrite(fid, g3);
fclose(fid);
Pretty cool, thanks for the hacking ;-)
Sweeeeeet. Nice code farmboy! Thanks for taking the time to write it up!
ReplyDeleteYeah put my daughters names on the oled... they thought it was sooo cool.
ReplyDeleteCheck this repository out: https://github.com/Digilent/linux-3.3-digilent
ReplyDeleteIt looks like it's Digilents Linux Source. In /drivers/pmods is the OLED Driver.