Arduino Yun code to Photon code help

Hey everyone! I need help with changing my Arduino Yun code to be useable with the Photon using the software Particle dev. I am trying to build the S.M.A.R.T. alarm clock http://makezine.com/projects/s-m-a-r-t-alarm-clock/ I really don’t understand how to change the code. I keep on having difficulty. Thank you :smiley:

Here is the code…compatible with the Arduino Yún: https://github.com/tdicola/TFT_Touch_Shield_V1/releases/download/1.1/TFT_Touch_Shield_V1.zip.

Touchscreen library: https://github.com/tdicola/TFT_Touch_Shield_V1/releases/download/1.1/Touch_Screen_Library.zip.
S.M.A.R.T. Alarm Clock from: https://github.com/tdicola/SmartAlarmClock/archive/master.zip.

There are some threads that do ask about porting code from Adruino to Particle, so a quick search might bring up some

https://community.particle.io/search?q=porting%20arduino

Like this one in particular :wink:

1 Like

I have until tomorrow to figure it out but, it just does’t look like I have enough time. Thanks for the help guys… I have so much code, there is no way a person who is new at code can fix and change from Arduino to Particle one day :pensive:

@Question, you chose a complex platform (Yun) to port from. Trying to port anything that complex in 2 days is not realistic. :confused: