<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
		<title>gdp's Comments</title>
		<language>en-us</language>
		<link>https://www.intensedebate.com/users/14913315</link>
		<description>Comments by wspublishing</description>
<item>
<title>wspublishing.net : Updates and Resources | C Programming with Arduino</title>
<link>http://wspublishing.net/avr-c/updates-and-resources/#IDComment1118853169</link>
<description>The book relies on a programmer being used and does not support direct USB programming. </description>
<pubDate>Wed, 26 Apr 2023 09:00:58 +0000</pubDate>
<guid>http://wspublishing.net/avr-c/updates-and-resources/#IDComment1118853169</guid>
</item><item>
<title>https://startingelectronics.org/ : Arduino Functions | How To Program and Use a Function</title>
<link>https://startingelectronics.org/software/arduino/learn-to-program-course/15-functions/#IDComment1118702732</link>
<description>I will need to see your code to be able to help you. </description>
<pubDate>Wed, 12 Apr 2023 03:16:35 +0000</pubDate>
<guid>https://startingelectronics.org/software/arduino/learn-to-program-course/15-functions/#IDComment1118702732</guid>
</item><item>
<title>https://startingelectronics.org/ : How to learn electronics by building circuits for beginners. Easy and simple electronics course with</title>
<link>https://startingelectronics.org/beginners/start-electronics-now/learn-electronics-for-beginners/#IDComment1118148576</link>
<description>This will get you started. It takes a few years to really master electronics. </description>
<pubDate>Wed, 8 Feb 2023 08:48:04 +0000</pubDate>
<guid>https://startingelectronics.org/beginners/start-electronics-now/learn-electronics-for-beginners/#IDComment1118148576</guid>
</item><item>
<title>https://startingelectronics.org/ : Arduino IDE Digispark Setup in Windows 10</title>
<link>https://startingelectronics.org/tutorials/arduino/digispark/digispark-windows-setup/#IDComment1112305526</link>
<description>I have had trouble programming the Digispark board on one of my computers while the others worked fine. I had to use an external USB hub to get the board programmed on the problem computer. I just used a USB powered four port USB hub that is intended for laptop computers. Plugged the hub into the computer and then the Digispark board into the hub. After that it worked with the programming instructions. Take a look at the Digispark troubleshooting page for more information: &lt;a href=&quot;https://digistump.com/wiki/digispark/tutorials/connecting#troubleshooting&quot; target=&quot;_blank&quot;&gt;https://digistump.com/wiki/digispark/tutorials/co...&lt;/a&gt;  </description>
<pubDate>Thu, 28 Apr 2022 08:50:09 +0000</pubDate>
<guid>https://startingelectronics.org/tutorials/arduino/digispark/digispark-windows-setup/#IDComment1112305526</guid>
</item><item>
<title>wspublishing.net : Atmel Studio Problems and Solutions | C Programming with Arduino</title>
<link>http://wspublishing.net/avr-c/atmel-studio-problems-solutions/#IDComment1110842467</link>
<description>Hi Bruce The procedure on page 155 sets up a new project that uses the code on page 157. This project does not print anything out of the serial/USB port to TeraTerm. It controls the connected LEDs shown on page 153 and 154.  Make sure that you selected the correct tool as shown in Figure 8.15 on page 157. A test can be done to check whether the tool (Atmel-ICE) is working and can &amp;quot;see&amp;quot; the hardware it is connected to as follows: In Atmel Studio, click the Device Programming icon on the top toolbar, or select Tools --&amp;gt; Device Programming, or use the keyboard shortcut Ctrl+Shift+P. This opens the Device Programming dialog box. In the Device Programming dialog box, make sure that the correct Tool (Atmel-ICE), Device (ATmega328P for Arduino UNO) and Interface (ISP) are selected at the top of the dialog box. Click the Apply button. Click the Read button under Device signature. If the Atmel-ICE is working and connected correctly and the Arduino Uno is powered up, then the Device signature and Target Voltage fields are filled in with a valid signature and voltage. This shows that the Atmel-ICE is working and can &amp;quot;see&amp;quot; the target hardware.  Other than that, the only other thing I can suggest is to unplug the Atmel-ICE and reboot the computer. After that, try programming the board again. If that fails, then create the project again from scratch.  Hope that helps, Warwick </description>
<pubDate>Fri, 25 Mar 2022 10:02:47 +0000</pubDate>
<guid>http://wspublishing.net/avr-c/atmel-studio-problems-solutions/#IDComment1110842467</guid>
</item><item>
<title>wspublishing.net : Atmel Studio Problems and Solutions | C Programming with Arduino</title>
<link>http://wspublishing.net/avr-c/atmel-studio-problems-solutions/#IDComment1109894383</link>
<description>HI Bruce If what you mean by the terminal is a program such as Tera Term connected to the Arduino USB/serial port, then you can use control codes, such as are mentioned on page 100 and 101 to manipulate the cursor and terminal screen. These are usually referred to as ANSI/VT100 control codes. What you need to do is write your own functions to use these codes. For example, you can write a function called gotoxy(int x, int y) that is passed the x and y coordinates to move the cursor to, then use the code \\x1B[x;yH in the function to move the cursor to the specified x, y position. Find a clear screen cls() function examples here: &lt;a href=&quot;https://rosettacode.org/wiki/Terminal_control/Clear_the_screen#C_.2F_C.2B.2B&quot; target=&quot;_blank&quot;&gt;https://rosettacode.org/wiki/Terminal_control/Cle...&lt;/a&gt;  Some basic control codes are found here: &lt;a href=&quot;https://student.cs.uwaterloo.ca/~cs452/terminal.html&quot; target=&quot;_blank&quot;&gt;https://student.cs.uwaterloo.ca/~cs452/terminal.h...&lt;/a&gt; Just note that the escape character is written as an octal number in this reference, for example \\033[2J whereas the book uses hexadecimal numbers for the escape character, for example \\x1B[2J Other references may write the escape character as &amp;lt;ESC&amp;gt;  Bear in mind that not all serial terminals emulate a VT100 terminal, so control codes do not work with all terminal programs.  I hope that helps. Warwick </description>
<pubDate>Sat, 5 Mar 2022 11:25:01 +0000</pubDate>
<guid>http://wspublishing.net/avr-c/atmel-studio-problems-solutions/#IDComment1109894383</guid>
</item><item>
<title>https://startingelectronics.org/ : Arduino IDE Digispark Setup in Windows 10</title>
<link>https://startingelectronics.org/tutorials/arduino/digispark/digispark-windows-setup/#IDComment1107736019</link>
<description>Just an update on the Windows computer that did not recognize the driver: Using an external USB hub solved the problem. I plugged a USB powered USB hub into the computer and then the Digispark board into one of the USB ports on the hub. Programming then worked. </description>
<pubDate>Sun, 9 Jan 2022 12:29:33 +0000</pubDate>
<guid>https://startingelectronics.org/tutorials/arduino/digispark/digispark-windows-setup/#IDComment1107736019</guid>
</item><item>
<title>https://startingelectronics.org/ : Arduino IDE Digispark Setup in Windows 10</title>
<link>https://startingelectronics.org/tutorials/arduino/digispark/digispark-windows-setup/#IDComment1107735199</link>
<description>Are you sure you entered &lt;a href=&quot;http://digistump.com/package_digistump_index.json&quot; target=&quot;_blank&quot;&gt;http://digistump.com/package_digistump_index.json&lt;/a&gt; into the Preferences box? This is what brings up Digistump AVR Boards in the Boards Manager. After installing from the Boards Manager the boards is available form the menu: Tools &amp;rarr; Board &amp;rarr; Digistump AVR Boards &amp;rarr; Digispark (Default - 16.5MHz)  The Digistump Digix board that you mentioned is something completely different. It is a 32-bit ARM board. The Digispark board is an 8-bit AVR board.  I followed the tutorial again using a different computer with a fresh install of Windows. Digispark (Default - 16.5MHz) appears on the Tools menu as per the tutorial. The IDE prompts for the board to be plugged in. The only problem I had on this computer is that Windows would not recognize the driver. This  can occur on some computers because the Digispark board simulates USB. Testing it on another computer still works. </description>
<pubDate>Sun, 9 Jan 2022 12:01:37 +0000</pubDate>
<guid>https://startingelectronics.org/tutorials/arduino/digispark/digispark-windows-setup/#IDComment1107735199</guid>
</item><item>
<title>https://startingelectronics.org/ : Arduino IDE Digispark Setup in Windows 10</title>
<link>https://startingelectronics.org/tutorials/arduino/digispark/digispark-windows-setup/#IDComment1107125916</link>
<description>Thanks :) </description>
<pubDate>Wed, 22 Dec 2021 13:18:58 +0000</pubDate>
<guid>https://startingelectronics.org/tutorials/arduino/digispark/digispark-windows-setup/#IDComment1107125916</guid>
</item><item>
<title>https://startingelectronics.org/ : Arduino IDE Digispark Setup in Windows 10</title>
<link>https://startingelectronics.org/tutorials/arduino/digispark/digispark-windows-setup/#IDComment1107125907</link>
<description>Whatever code was last loaded to the Digistump will start running as soon as it is powered up.  What you described with Arduino sounds like you set it up as a USB device. I don&amp;#039;t know if the Digistump can operate as a USB device. </description>
<pubDate>Wed, 22 Dec 2021 13:18:33 +0000</pubDate>
<guid>https://startingelectronics.org/tutorials/arduino/digispark/digispark-windows-setup/#IDComment1107125907</guid>
</item><item>
<title>wspublishing.net : Atmel-ICE to Arduino Uno Connection via ICSP Header</title>
<link>http://wspublishing-net/avr-c/arduino-uno-atmel-ice-connection/#IDComment1104905599</link>
<description>If you have Dupont wires with a male pin on one end and a female socket on the other, then you can plug six of these into the socket at the end of the Atmel-ICE cable. You have then made your own &amp;quot;squid cable&amp;quot;. Just connect the female side of the wires to the ICSP header of the Arduino board. This may help to solve the problem. </description>
<pubDate>Thu, 21 Oct 2021 08:31:09 +0000</pubDate>
<guid>http://wspublishing-net/avr-c/arduino-uno-atmel-ice-connection/#IDComment1104905599</guid>
</item><item>
<title>wspublishing.net : Atmel-ICE to Arduino Uno Connection via ICSP Header</title>
<link>http://wspublishing-net/avr-c/arduino-uno-atmel-ice-connection/#IDComment1104841141</link>
<description>I haven&amp;#039;t had that problem. Are you using a genuine Arduino Uno or a clone? Just wondering if it is the Atmel-ICE connector or the pin header on the board that is the problem. </description>
<pubDate>Tue, 19 Oct 2021 13:28:14 +0000</pubDate>
<guid>http://wspublishing-net/avr-c/arduino-uno-atmel-ice-connection/#IDComment1104841141</guid>
</item><item>
<title>wspublishing.net : Atmel Studio Problems and Solutions | C Programming with Arduino</title>
<link>http://wspublishing.net/avr-c/atmel-studio-problems-solutions/#IDComment1104804877</link>
<description>Hi Bruce Glad to hear that you found the problem. There are two things that you can do regarding selecting the Atmel-ICE in Atmel Studio / Microchip Studio. 1) Before clicking &amp;quot;Start Without Debugging&amp;quot;, first click the hammer icon on the second top toolbar where it says &amp;quot;none on&amp;quot; or &amp;quot;no tool&amp;quot;. A dialog box opens that lets you select the Atmel-ICE. After saving, continue with &amp;quot;Start Without Debugging&amp;quot;. 2) Set up a project the way you like it with the Atmel-ICE selected as the tool to use. Click File --&amp;gt; Export Template using the top menu in Atmel Studio / Microchip Studio. This opens the Export Template Wizard dialog box. Click Next on the first page of the dialog box. Fill in the template name and description that you want in the second Export Template Wizard dialog box page. Click Finish to create the template. The new template should now be available in the dialog box used to create a new project. You might have to scroll down to find it. When you start a new project with the new template, the Atmel-ICE that you selected before making the template should already be selected for the project. </description>
<pubDate>Mon, 18 Oct 2021 06:37:29 +0000</pubDate>
<guid>http://wspublishing.net/avr-c/atmel-studio-problems-solutions/#IDComment1104804877</guid>
</item><item>
<title>wspublishing.net : Atmel Studio Problems and Solutions | C Programming with Arduino</title>
<link>http://wspublishing.net/avr-c/atmel-studio-problems-solutions/#IDComment1101456470</link>
<description>Hi Bruce First understand that the problem that you are experiencing has nothing to do with the book, it is a problem with Atmel Studio and/or Windows. I have personally never experienced the same problem, so can&amp;#039;t help you with this specific problem. My suggestions on trying to fix the problem are as follows:  1) Try to install the version of Atmel Studio that was current when the book was written, which was Atmel Studio v7.0.582. Old versions of Atmel Studio can be found at: &lt;a href=&quot;https://www.microchip.com/mplab/avr-support/avr-and-sam-downloads-archive&quot; target=&quot;_blank&quot;&gt;https://www.microchip.com/mplab/avr-support/avr-a...&lt;/a&gt;  2) If the above does not work, then try another computer if available. I have never had a problem using the newest version of Atmel Studio, which is now called Microchip Studio, so there is no guarantee that trying the old version will work.  3) If all else fails, back up all of the files on your computer in multiple places and reinstall Windows from scratch. You can then try to install the old version of Atmel Studio used with the book, or the newest version of Microchip Studio from: &lt;a href=&quot;https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices&quot; target=&quot;_blank&quot;&gt;https://www.microchip.com/en-us/development-tools...&lt;/a&gt;  I hope this helps. Sorry about missing your previous comment, but this comment system picks up a lot of spam and I probably missed it in amongst the spam. </description>
<pubDate>Mon, 5 Jul 2021 10:03:52 +0000</pubDate>
<guid>http://wspublishing.net/avr-c/atmel-studio-problems-solutions/#IDComment1101456470</guid>
</item><item>
<title>wspublishing.net : Errata | Arduino MEGA 2560 Hardware Manual</title>
<link>http://wspublishing-net/mega-manual/errata/#IDComment1096744101</link>
<description>Hi Dr. Stephan Pabst - You are correct with regards to the ratings of the regulator. This was an oversight on my part. Thank you for pointing this error out. - Regarding your second point from section 2.7.1.4, this data is from taking actual measurements on Arduino boards. I have checked the actual measurements again, taken across diode D1 on three genuine Arduino boards using two different multimeters: with no external hardware connected a voltage drop across the diode of around 0.76V was measured. After pulling approximately 350mA from the external supply, a voltage drop across the diode of approximately 0.83V was measured. I should probably have cross referred to section 7.3.2, where it is mentioned that the volt drop can be up to 1.1V. </description>
<pubDate>Sat, 16 Jan 2021 16:50:03 +0000</pubDate>
<guid>http://wspublishing-net/mega-manual/errata/#IDComment1096744101</guid>
</item><item>
<title>wspublishing.net : Errata | Arduino Uno Hardware Manual</title>
<link>http://wspublishing-net/uno-manual/errata/#IDComment1096743664</link>
<description>Thanks Dr. Stephan Pabst for your feedback. I think the point for these non-PWM pins is that nothing will happen in terms of PWM, so don&amp;#039;t call analogWrite() on them. I didn&amp;#039;t actually test the levels myself, as I didn&amp;#039;t think it necessary because they won&amp;#039;t produce a PWM waveform. But thanks for taking the time to write a note on these intricate details. I will definitely include them in a future update to the book. </description>
<pubDate>Sat, 16 Jan 2021 15:57:40 +0000</pubDate>
<guid>http://wspublishing-net/uno-manual/errata/#IDComment1096743664</guid>
</item><item>
<title>wspublishing.net : Arduino Uno Hardware Manual Web Links</title>
<link>http://wspublishing/uno-manual/links/#IDComment1096264408</link>
<description>Hi Dr. Stephan Pabst. Thank you very much for your feedback. I don&amp;#039;t know how I missed that error - thanks for pointing it out. I will add an errata page to the website for the book so that readers have a place to report errors. Thanks again. Warwick Smith </description>
<pubDate>Tue, 29 Dec 2020 15:47:03 +0000</pubDate>
<guid>http://wspublishing/uno-manual/links/#IDComment1096264408</guid>
</item><item>
<title>wspublishing.net : Installing Template Files in Atmel Studio 7</title>
<link>http://wspublishing/avr-c/installing-template-files/#IDComment1092065766</link>
<description>Glad to hear that you found the problem. </description>
<pubDate>Mon, 27 Jul 2020 08:16:03 +0000</pubDate>
<guid>http://wspublishing/avr-c/installing-template-files/#IDComment1092065766</guid>
</item><item>
<title>wspublishing.net : Installing Template Files in Atmel Studio 7</title>
<link>http://wspublishing/avr-c/installing-template-files/#IDComment1086854535</link>
<description>OK, excellent that you got it to work. </description>
<pubDate>Thu, 20 Feb 2020 08:39:39 +0000</pubDate>
<guid>http://wspublishing/avr-c/installing-template-files/#IDComment1086854535</guid>
</item><item>
<title>wspublishing.net : Installing Template Files in Atmel Studio 7</title>
<link>http://wspublishing/avr-c/installing-template-files/#IDComment1086770018</link>
<description>Hi John_NLD   Yes. Start a new project in Atmel Studio by using one of the existing templates. In Atmel Studio, select your STK500 programmer as the tool and then save. Now go to File -- Export Template In the dialog box that opens, make sure that &amp;#039;Project template&amp;#039; is selected. Click Next. In the next dialog box, give the new template a name. Click Finish.      The next time you start a new project, the new template should appear in the New Project dialog box. Starting a new project from this template will ensure that your STK500 is selected by default.      Hope this helps. </description>
<pubDate>Tue, 18 Feb 2020 07:32:01 +0000</pubDate>
<guid>http://wspublishing/avr-c/installing-template-files/#IDComment1086770018</guid>
</item>	</channel>
</rss>