# ARDuino is not taking any code i give it

**URL:** <https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123>\
**Category:** Uploading\
**Created:** [July 31, 2024, 7:20pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123 "2024-07-31T19:20:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [July 31, 2024, 7:20pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/1 "2024-07-31T19:20:36Z")

</div>

![Screenshot 2024-07-31 151738](https://europe1.discourse-cdn.com/arduino/original/4X/d/f/2/df21b29969afc76d0cb1b6acf957062142c810ae.png)

i have tried Changing the com port so Meany times and re installing things i don't know what to do

---

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [July 31, 2024, 7:23pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/2 "2024-07-31T19:23:14Z")

</div>

![IMG_3331](https://europe1.discourse-cdn.com/arduino/original/4X/3/c/2/3c24e48c01d5333e83589f3b6ca5c6f5930d5269.webp)

i have tired

new cable  
new com number (diffrent times)  
reinstalling arduino software

---

<div class="post-metadata">

**Author:** ![camsysca](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/camsysca/32/1015228_2.png) [@camsysca](https://forum.arduino.cc/u/camsysca)\
**Post date:** [July 31, 2024, 7:33pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/3 "2024-07-31T19:33:21Z")

</div>

Have you considered reading:

> [@How to get the best out of this forum](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/681310/1):
>
> Welcome to the Arduino forum! A guide explaining how to get the best out of this forum is available at the link below. Please read it:

There's also, recently posted:

> [@A short introductory video for Arduino forum](https://forum.arduino.cc/t/a-short-introductory-video-for-arduino-forum/1287116):
>
> Many newbie on this forum struggle posting their questions/problems properly. A short video explaining how should they post and what are the necessary information they should must add to their post could be helpful for newbies and forum members. [@moderators](https://forum.arduino.cc/groups/moderators)

---

<div class="post-metadata">

**Author:** ![StefanL38](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/stefanl38/32/713548_2.png) [@StefanL38](https://forum.arduino.cc/u/StefanL38)\
**Post date:** [July 31, 2024, 7:44pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/4 "2024-07-31T19:44:44Z")

</div>

Hi @ectorplays

welcome to the arduino-forum.

You have posted a picture of your microcontroller-board.  
anyway can you please provide a link from where you bought this microcontroller-board.

What operating-system are you using?

If it is windows. What does the device-manager show if you have plugged in your microcontroller-board?

Your screenshot shows that the IDE is adjusted to Arduino Pro or Pro Mini  
 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/9/1/a/91a126613f8a32cbb7fe5af364c06772a8c2dd97.png)

It seems to be a pro micro

If the shown microcontroller really is a pro micro this means your  
Your IDE is adjusted to the chip Atmega 328P (pro Mini)  
and in case your microcontroller-board really is a pro micro this has a chip  
Atmega32U4 which is a totally different chip

This can't work.

The picture that shows the microcontroller-board has a too low resolution to be readable

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/f/b/b/fbb99a30e2624d7081ffe0516c0464d8a9c13b4b.png)

So please post a picture where the letters on your microcontroller-board a **clearly** readable

---

<div class="post-metadata">

**Author:** ![alto777](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/alto777/32/317385_2.png) [@alto777](https://forum.arduino.cc/u/alto777)\
**Post date:** [July 31, 2024, 8:12pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/5 "2024-07-31T20:12:35Z")

</div>

> [@StefanL38](#):
>
> too low resolution to be readable

If you don't zoom in so much, it's actually quite clearly a Pro Micro.

@ectorplays can fro Arduino Micro or Leonardo.

a7

---

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [July 31, 2024, 8:19pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/6 "2024-07-31T20:19:17Z")

</div>

i am sorry for the low res photo im not sure why it did that here is the link to the item i bought

> **[Amazon.com: diymore Arduino Pro Micro 16MHz 5V with 2-Row Pins Header Module...](https://www.amazon.com/diymore-ATmega32U4-Replace-ATmega328-Leonardo/dp/B01KJR41J4)**
>
> Amazon.com: diymore Arduino Pro Micro 16MHz 5V with 2-Row Pins Header Module Board ATmega32U4 Module Board Micro USB Pro Micro Development Board Microcontroller : Electronics

 ![IMG_3331](https://europe1.discourse-cdn.com/arduino/original/4X/0/1/0/010a0b28b5b1aef9093de81cd8bafafcdd251481.jpeg)

i am on windows 11  
DM is just showing it as a reguler COM

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/2/0/e/20e819c342ab37b43c195b7244bd348b0105e342.png)

i have also tried downgrading the arduino app and this is still not working

---

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [July 31, 2024, 8:21pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/7 "2024-07-31T20:21:13Z")

</div>

i have a buddy who knows about coding way more then i do and he suggested changing the board type.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/8/c/7/8c75f3a7a23befdec9fbe4c1f67608260dfa0e95.png)

this was the original option

---

<div class="post-metadata">

**Author:** ![StefanL38](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/stefanl38/32/713548_2.png) [@StefanL38](https://forum.arduino.cc/u/StefanL38)\
**Post date:** [July 31, 2024, 8:40pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/8 "2024-07-31T20:40:58Z")

</div>

there is printed "pro micro"  
Though your device-manager shows  
 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/8/0/7/807b2f69298a17cdbda4c4a361a3d8d09615e06d.png)

Is this COM-Port 9 the one that appears with plug in  
and  
vanishes with disconnect your microontroller-board?

still can't read the chip-number on the microcontroller-chip itself  
 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/f/e/6/fe627748ca6402380986fac0babddf5e80fdd7c0.jpeg)

If I plug in a pro micro to my Lenovo Thinkpad T480 running windows 11 the device-manager shows Arduino Leonardo  
 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/a/1/f/a1fe6fe958cfbefe936580ba6989c3e9e8d43854.png)

properties show these details

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/b/a/8/ba86688b3dc00ab82df5bf084d9035191014befe.png)

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/f/b/3/fb39856a10e808919a132e07237e3ac88fe4a3cc.png)

additionally have a look at this thread

> [@How to install the Leonardo?](https://forum.arduino.cc/t/how-to-install-the-leonardo/1031990):
>
> Good afternoon! Risently I bought the Leonardo. Before that, I used Nano with the CP340 driver. Everything worked. IDE with the Leonardo does not see my COM7. How to install it? Do I need some driver ? Someone advised to switch the Reset and GND while uploading. It didn't help at all. Any ideas?

---

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [July 31, 2024, 8:49pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/9 "2024-07-31T20:49:41Z")

</div>

when i unplug the device that COM goes away correct!

 ![IMG_3334.PNG](https://europe1.discourse-cdn.com/arduino/original/4X/c/8/4/c846a02b4cee34707d9bb6f05ab3de7e0b5f9bb7.jpeg)

my apologies about the photo hopefully that helps

i will look at that post!

---

<div class="post-metadata">

**Author:** ![StefanL38](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/stefanl38/32/713548_2.png) [@StefanL38](https://forum.arduino.cc/u/StefanL38)\
**Post date:** [July 31, 2024, 8:55pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/10 "2024-07-31T20:55:25Z")

</div>

> [@ectorplays](#):
>
> i have also tried downgrading the arduino app and this is still not working

downgrading to what exact version?

try

> [@Tutorial how to install a portable version of Arduino-IDE 1.8.19](https://forum.arduino.cc/t/topic/1205125/1):
>
> Install a portable version of the Arduino IDE that is completely independent of the other Arduino IDE: This is the download link [Arduino-IDE 1.8.19 als ZIP-File](https://downloads.arduino.cc/arduino-1.8.19-windows.zip) Extract the zip file into a folder of your choice. I'm now posting screenshots as the ZIP file [image] is stored into folder F:\IDE-PORTABLE [image] Unzip the zip-file into this folder [image] change to sub-directory [image] it should look like this in subfolder [image] create a sub-folder portable The name has …

> [@ectorplays](#):
>
> photo hopefully that helps

Yes it really is an Atmega32U4.

If I do a reset on my pro micro it shows  
for some seconds and then it jumps bacl to COM7 leonardo

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/e/0/3/e0338a91a4e3f2de256bf831e5bcff38430699d8.png)

---

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [July 31, 2024, 10:01pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/11 "2024-07-31T22:01:09Z")

</div>

i download the arduino program on a macbook and got better results

 ![Screenshot 2024-07-31 at 5.48.08 PM](https://europe1.discourse-cdn.com/arduino/original/4X/1/0/f/10fab51e217fe7bfa322323b64c8a3df2d5e78ad.png)

the simple code is still not working though

going to try the old version of the arduino on my windows right now

---

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [July 31, 2024, 10:23pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/12 "2024-07-31T22:23:54Z")

</div>

Trying to put the Joystick example into the micro controller i get this error

 ![Screenshot 2024-07-31 at 6.13.33 PM](https://europe1.discourse-cdn.com/arduino/original/4X/1/4/4/144a1eb244b77c00c4ffe9d8a44abbb6b8ad5713.jpeg)

---

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [July 31, 2024, 11:33pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/13 "2024-07-31T23:33:51Z")

</div>

back in windows using the older version of arduino IDE 1.81 or something

 ![Screenshot 2024-07-31 191218](https://europe1.discourse-cdn.com/arduino/original/4X/4/7/4/47427d4cef8e2d4c7c1a5f2131b14f0a2825b5e3.png)

idk i am just trying to build a clutch pedal for my esim set up but this seems impossible

---

<div class="post-metadata">

**Author:** ![cattledog](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cattledog/32/217816_2.png) [@cattledog](https://forum.arduino.cc/u/cattledog)\
**Post date:** [July 31, 2024, 11:44pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/14 "2024-07-31T23:44:16Z")

</div>

I can not confirm you issue. The library example JoystickTest.ino from the ArduinoJoystickLibrary by MHieronimus compiles and uploads onto an Arduino Micro. I'm using Windows 10 with IDE 2.3.2. The code also loaded correctly using 1.8.19.

In the IDE under File, navigate to Preferences and click on "Show Verbose Ouput" during compile and upload.

Please post the complete message after you see this

> Sketch uses 10150 bytes (35%) of program storage space. Maximum is 28672 bytes.  
> Global variables use 348 bytes (13%) of dynamic memory, leaving 2212 bytes for local variables. Maximum is 2560 bytes.

You may want to try reinstall the IDE.

---

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [July 31, 2024, 11:50pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/15 "2024-07-31T23:50:31Z")

</div>

![image](https://europe1.discourse-cdn.com/arduino/original/4X/c/7/2/c72324e55c3f9bf214c48aecfaa77c6f8d334d23.png)

is this what you need i turned on the upload option

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/0/9/1/091bf4f65ee5568b3f080fe8a00bc7e4b8465a67.png)

---

<div class="post-metadata">

**Author:** ![cattledog](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cattledog/32/217816_2.png) [@cattledog](https://forum.arduino.cc/u/cattledog)\
**Post date:** [July 31, 2024, 11:54pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/16 "2024-07-31T23:54:44Z")

</div>

Please post what you see as a text copy from the ide window, It's very hard to read the screen shots.

---

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [July 31, 2024, 11:55pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/17 "2024-07-31T23:55:49Z")

</div>

```arduino
Sketch uses 3958 bytes (13%) of program storage space. Maximum is 28672 bytes.
Global variables use 149 bytes (5%) of dynamic memory, leaving 2411 bytes for local variables. Maximum is 2560 bytes.
Forcing reset using 1200bps open/close on port COM256
processing.app.debug.RunnerException
	at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:152)
	at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
	at processing.app.SketchController.upload(SketchController.java:732)
	at processing.app.SketchController.exportApplet(SketchController.java:703)
	at processing.app.Editor$UploadHandler.run(Editor.java:2061)
	at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port 'COM256'.
	at processing.app.Serial.touchForCDCReset(Serial.java:107)
	at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:136)
	... 5 more
Caused by: jssc.SerialPortException: Port name - COM256; Method name - openPort(); Exception type - Port busy.
	at jssc.SerialPort.openPort(SerialPort.java:164)
	at processing.app.Serial.touchForCDCReset(Serial.java:101)
	... 6 more

```

---

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [July 31, 2024, 11:56pm UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/18 "2024-07-31T23:56:54Z")

</div>

my bad!

this is the code/

```arduino
/*
  Blink

  Turns an LED on for one second, then off for one second, repeatedly.

  Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
  it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
  the correct LED pin independent of which board is used.
  If you want to know what pin the on-board LED is connected to on your Arduino
  model, check the Technical Specs of your board at:
  https://www.arduino.cc/en/Main/Products

  modified 8 May 2014
  by Scott Fitzgerald
  modified 2 Sep 2016
  by Arturo Guadalupi
  modified 8 Sep 2016
  by Colby Newman

  This example code is in the public domain.

  https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink
*/

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
  delay(1000); // wait for a second
  digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
  delay(1000); // wait for a second
}

```

---

<div class="post-metadata">

**Author:** ![cattledog](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cattledog/32/217816_2.png) [@cattledog](https://forum.arduino.cc/u/cattledog)\
**Post date:** [August 1, 2024, 12:07am UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/19 "2024-08-01T00:07:20Z")

</div>

> [@ectorplays](#):
>
> `Error touching serial port 'COM256'.`

The 1200 bps touch that puts the Micro into programming mode is not being received correctly on port 256.

The fact that the COM Port number is so high seems unusual.

Is that what the ide indicates as the port for the micro and is that reflected in the Device Manager?

I have had issues with how Windows handles the native serial ports on the Micro. You may want to restart your computer, and see if you show the board at 256.

---

<div class="post-metadata">

**Author:** ![ectorplays](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@ectorplays](https://forum.arduino.cc/u/ectorplays)\
**Post date:** [August 1, 2024, 12:11am UTC](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123/20 "2024-08-01T00:11:19Z")

</div>

it showing 259 is me getting upset that its not working i have been trying new ports all day and nothing is working i can do a uninstall from windows Device Manager and let windows pick the port it wants if you think thats better

[Next page](https://forum.arduino.cc/t/arduino-is-not-taking-any-code-i-give-it/1287123.md?page=2)
