Correction needed to Arduino code for activity 2.5.7
It should be an analogWrite() and not a digitalWrite() to activate a PWM output. Code needs correction in the PDF and on the GitHub repository.
It might be nice to have a separate section for documentation corrections and maybe a procedure for submitting pull requests. Now it is not clear how to best report documentation problems. The formatting of the Arduino code leaves a lot to be desired. I would prefer a change to a monospaced font to differentiate it more from the main text.
BTW I received my picobricks yesterday in western US. It was a relief to have the package released from UPS hold. I am enjoying the setup. It is nice and clean that the main board works out of the box without having to setup any cabling. This is by far the easiest way I have been introduced to a microcontroller. After having used MicroPython and JavaScript for a couple of projects, I had completely forgotten what a pain Arduino C++. (It is really C++ and not C, because the libraries are imported as objects and use the dot notation.)
Comments
-
Also If you copy and past the code from the e-book directly into the Arduino IDE, if there are any quotes in the copied code you will get compile errors because they use the upside down/right side u quote pairs in the typesetting.
0 -
It is fixed. Thanks your feedbacks. Also, enjoy your Picobricks 🖐🏻
Have a nice day
Samet
0
Howdy, Stranger!
Categories
- 118 All Categories
- 3 Community
- 3 Hello Maker!
- 103 PicoBricks - Make, Run, Split, Merge
- 1 PicoBricks IDE
- 1 Arduino IDE
- 32 Hardware Support
- 15 PicoBricks Backers Hub
- 49 MicroBlocks Support
- 3 Shipping Support
- 2 MicroPython
- REX - 8 in 1
- Mechanical Parts and Parkour
- REX Main
- Arduino-IDE
- REX - Shipping
- 12 Products & Technology
- 2 Raspberry Pi
- Arduino
- 10 Other