I was pleased how easy it was to create a working program in the nodeMCU API using Arduino IDE v.1.8.9

Just for fun I thought I would load the resulting sketch into PlatformIO on ATOM. To my surprise it worked straightaway !

That IDE makes writing code a pleasure.