cancel
Showing results for 
Search instead for 
Did you mean: 

Code Examples

MotooTanaka
Esteemed Contributor

Hi,

Although the "Mission" list suggests to upload binary, I could not figure out where to put one.

So I upload it here. If this is not an appropriate place, please let me know where to put it.

This is the first demo sample binary of mine, a simple maze project using CY8CKIT-044

and  Adafruit 2.8" TFT Touch Shield.

https://www.adafruit.com/product/1651

It utilizes the KXTJ2 accelerometer on CY8CKIT-044 via I2C and

the 2.8" TFT via SPI.

The start point is upper-left and the goal is lower-right.

You can modify the maze by editing "maze.h."

Start.JPG Goal.JPG

moto

3 Replies
RyanZhao
Moderator
Moderator

Wonderful!!!!

It's also a good example for SPI TFT and I2C accelerometer!!!!

0 Likes
odissey1
Honored Contributor II

Motoo,

Thank you for sharing a project.

PSoC Creator offers standard way to compress and share projects in few clicks: (1) Clean the project: Build->Clean. (2) Create shareable archive: In the Project Explorer click the Project Name (on top). Now in Main Menu: File->Create Archive Bundle->Minimal. This will create archived project (*.zip). (3) You can further shrink this archived file size dramatically: open ZIP file and delete folder Generated Source. The resulting archive will be <100k in size. It is easy to share/upload now.

/odissey1

MotooTanaka
Esteemed Contributor

Dear /oddissey1(?)-san,

Thank you very much for your suggestion!

I tried, and the archive is now 178KB.

Best Regards,

12-Jun-2018

Motoo Tanaka

0 Likes