jda0 / hedgehog-clock

Make your hedgehog bot into a runaway alarm clock!
http://hedgehogbot.digimakers.co.uk/challenges/clock
1 stars 0 forks source link

Remove dependency on platformio for workshop #1

Open willprice opened 6 years ago

willprice commented 6 years ago

Whilst platformio is great for library development, I think it's going to be an additional hurdle and confusion if we were to use it in the workshop.

How easy is it to extra a bunch of libs and the skeleton sketch so that we don't have to depend on platformio?

jda0 commented 6 years ago

Should be as easy as copying contents of /lib to %USERPROFILE%/Documents/Arduino/libraries; either copying hh_server.* into a new folder in the same or keeping it where it is; and merging hh_clock.* into a .ino file.

Advantages of PlatformIO:

Disadvantages:

I find PlatformIO really really useful (bias: I like IntelliSense and I dislike Arduino IDE and all derivatives) so I'm not going to change the master project. Actually, I would really like VSCode to be part of the core software package we ask IT to install because making kids write Node or Python in notepad is awful. Anyway, feel free to create a new branch.

:v:

willprice commented 6 years ago

I strongly disagree, although I loathe the arduino ide I think works very well in the workshop setting. All your points above apply to a real software project but for an introduction to programming I think they serve as a distraction from the real goal.

I appreciate this is your workshop and you're free to disregard my comments but I really think you should reconsider.

jda0 commented 6 years ago

@willprice https://github.com/jda0/hedgehog-clock/commit/f1b873bf01c693b557d537d7788e32512e46b204

Leaving open until tested further with both PlatformIO and Arduino IDE.