Community
cancel
Showing results for 
Search instead for 
Did you mean: 
WMa2
Novice
1,517 Views

arduino scripting. When does the board pickup the uploaded script?

Hey community:

I was trying the sample blink and Fade script. the blink seems to work fine but what is the effect of the Fade script? What is the serial monitor? I have attached the Grover starter kit and the RGB Backlight LCD which I attached to A0. I am using Arduino 1.6.0

Wen Bo Ma

6 Replies
idata
Community Manager
35 Views

Hi Wen Bo Ma,

 

 

We'll walk you through the steps to work with the blink and fade examples of the Arduino IDE. The effect of the fade example should be at first, seeing the LED on and slowly fading to see a dimming effect. This cycle repeats itself for as long as the script is running. The board picks up the uploaded script after you see a "Transfer complete" message on the Arduino IDE.

 

 

Remember to choose the correct board and port on the IDE. If you're using the Fade example without any modifications, you should connect the LED to the digital pin 9 to see the fading effect.

 

 

Let us know if you find this useful.

 

 

-Sergio

 

WMa3
Beginner
35 Views

Which Pin is digital PIN 9?

WMa3
Beginner
35 Views

I got these errors that didn't show up before. I also take a screen shot of my device manager.

Arduino: 1.6.0 (Windows 7), Board: "Arduino Yún"

C:\Intel\arduino-1.6.0+Intel/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10600 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 -DUSB_MANUFACTURER= -DUSB_PRODUCT="Arduino Yun" -IC:\Intel\arduino-1.6.0+Intel\hardware\arduino\avr\cores\arduino -IC:\Intel\arduino-1.6.0+Intel\hardware\arduino\avr\variants\yun C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\Blink.cpp -o C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\Blink.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\hooks.c.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\WInterrupts.c.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\wiring.c.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\wiring_analog.c.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\wiring_digital.c.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\wiring_pulse.c.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\wiring_shift.c.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\abi.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\CDC.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\HardwareSerial.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\HardwareSerial0.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\HardwareSerial1.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\HardwareSerial2.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\HardwareSerial3.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\HID.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\IPAddress.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\main.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\new.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\Print.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\Stream.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\Tone.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\USBCore.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\WMath.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\WString.cpp.o

Using previously compiled file: C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\core.a

C:\Intel\arduino-1.6.0+Intel/hardware/tools/avr/bin/avr-gcc -w -Os -Wl,--gc-sections -mmcu=atmega32u4 -o C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp/Blink.cpp.elf C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp\Blink.cpp.o C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp/core.a -LC:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp -lm

C:\Intel\arduino-1.6.0+Intel/hardware/tools/avr/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp/Blink.cpp.elf C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp/Blink.cpp.eep

C:\Intel\arduino-1.6.0+Intel/hardware/tools/avr/bin/avr-objcopy -O ihex -R .eeprom C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp/Blink.cpp.elf C:\Users\wenboma\AppData\Local\Temp\build3955416754937696454.tmp/Blink.cpp.hex

Sketch uses 4,744 bytes (16%) of program storage space. Maximum is 28,672 bytes.

Global variables use 151 bytes (5%) of dynamic memory, leaving 2,409 bytes for local variables. Maximum is 2,560 bytes.

Forcing reset using 1200bps open/close on port COM10

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

PORTS {COM7, COM10, } / {COM7, COM10, } => {}

Uploading using selected port: COM10

C:\Intel\arduino-1.6.0+Intel/hardware/tools/avr/bin/avrdude -CC:\Intel\arduino-1.6.0+Intel/hardware/tools/avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM10 -b57600 -D -Uflash:w:C:\Users\wenboma\AppData&#92...

idata
Community Manager
35 Views

Hi,

@InnovatorPrime: Do you still need assistance with this thread. Were you able to run the Fade example script?

@inteligentacolyte: Digital pin 9 can be found in the Arduino expansion board in the Digital (PWM) header. The error you get in the last comment is caused because the Arduino Yun board was chosen instead of the Edison board. When uploading sketches, make sure to select the correct COM port and Board.

-Sergio

 

WMa2
Novice
35 Views

hey Sergio:

it works now for blink but where pin 9? what is the serial monitor?

idata
Community Manager
35 Views

Digital pin 9 can be found in the Arduino expansion board in the "Digital (~PWM)" header. The serial monitor is a feature of the Arduino IDE. It can be found in the top right corner of the IDE as a magnifying glass. It displays serial data being sent from the Arduino. It acts as a separate terminal that communicates by receiving and sending serial data.

 

 

Let us know if this is what you were looking for.

 

 

-Sergio

 

Reply