Martino Facchin
47bcf07f5e
fix StringIndexOf example logic and wording
2015-11-30 13:23:57 +01:00
agdl
53af4a7dea
Removed old example
2015-11-27 14:40:31 +01:00
agdl
c009ac6e4c
Modified example to not generate confusion
...
Only Arduino Mega was mentioned, but actually many boards have more than one Serial port
2015-11-27 14:36:48 +01:00
agdl
3229e422a2
run autoformat in the example
2015-11-26 11:44:05 +01:00
agdl
2f00c938a7
Fixed processing code for Processing 3
...
As pointed out in #4214 I changed the processing code to make it working wit Processing 3
2015-11-26 11:33:27 +01:00
Otavio Carneiro
aaccec7486
Improves Fade to ensure PWM pin is used
2015-10-31 17:37:26 -02:00
Arturo Guadalupi
589b411be7
Changed commit to indicate Processing 3
...
The example is now tested and works with Processing 3. Comment was missing.
2015-10-22 12:42:05 +02:00
Arturo Guadalupi
d56e3848b4
Modified project14 for compatibility to Processing 3
2015-10-22 12:38:01 +02:00
Martino Facchin
651ae04a19
Merge pull request #3500 from PeterVH/issue-3321
...
Improve ArduinoISP sketch
2015-10-07 12:00:20 +02:00
Federico Fissore
46cb5f0a5c
Removing useless includes from examples
2015-10-02 12:24:31 +02:00
Arturo Guadalupi
9eaea4205d
Modified reference to Leonardo only in the examples
...
According to #3786 removed the reference to Leonardo only in while(!Serial) of the examples.
Changed in in "wait for serial port to connect. Needed for native USB port only"
2015-09-21 14:58:58 +02:00
Peter Van Hoyweghen
ff1158a1b9
Add a define for baudrate configuration.
2015-09-05 20:45:15 +02:00
Peter Van Hoyweghen
d2a38f23a8
Rework pin configuration.
2015-09-05 20:43:44 +02:00
Peter Van Hoyweghen
bfffb17e40
Improve SPI clock configuration.
2015-09-05 20:41:03 +02:00
Arturo Guadalupi
33b67c0391
Removed StringToIntRGB example
...
like discussed in #3537
2015-09-03 14:26:37 +02:00
Peter Van Hoyweghen
82e5d4a88d
Remove change history to make room for documentation.
2015-08-31 22:17:12 +02:00
Peter Van Hoyweghen
2c1728f086
Use digitalWrite() only with values HIGH and LOW.
2015-08-30 20:36:39 +02:00
Peter Van Hoyweghen
e3866e0ef5
Elaborate configuration of which pins to use: support HOODLOADER2 and old Uno style wiring.
2015-08-30 20:27:38 +02:00
Peter Van Hoyweghen
13cc57ed7e
Reset target before driving SCK or MOSI, reset sequence as in AVR datasheets under "Serial Programming Algorithm"
2015-08-26 22:43:00 +02:00
Peter Van Hoyweghen
044a7b78c7
Fix warnings. Use unsigned int to represent a (word) address: the compiler will use the most efficient type on each platform: 32 bit on arm,
...
16 bit on avr which is is big enough.
2015-07-29 21:37:04 +02:00
Peter Van Hoyweghen
d271c1c8a2
BitBangedSPI::begin(): initialize levels of SCK and MOSI. Correct indentation.
2015-07-28 22:31:34 +02:00
Peter Van Hoyweghen
8d95899450
Call SPI.beginTransaction() after SPI.begin()
2015-07-28 22:26:58 +02:00
Arturo Guadalupi
8f4cd17486
Added BasicKit name to examples folder
...
according to #3560 I added BasicKit after 10.StarterKit. / is not allowed
2015-07-23 15:18:03 +02:00
Martino Facchin
99814355ec
add includes to USB examples
2015-07-16 13:13:53 +02:00
Peter Van Hoyweghen
89184a3668
Use new style SPI::beginTransaction() api, make SPI_CLOCK configurable, select hardware or software SPI based on SPI_CLOCK.
2015-07-14 23:06:54 +02:00
Peter Van Hoyweghen
50f9e539d8
Ensure minimum spi pulse width.
2015-07-14 21:20:39 +02:00
Peter Van Hoyweghen
5a04ab2a32
Don't pulse error led if avrdude enters programming mode twice
2015-07-13 21:49:42 +02:00
Peter Van Hoyweghen
eca360bf42
Fix typo: SPI_CLOCK_DIV128
2015-07-13 21:30:34 +02:00
Peter Van Hoyweghen
c8b5e99267
Configure the serial port to use. Prefer native USB port if the Arduino has one.
2015-07-13 21:30:33 +02:00
Peter Van Hoyweghen
64e52d8016
Implement bitbang SPI for slow clock devices. (Sylvan Butler).
2015-07-13 21:22:00 +02:00
Peter Van Hoyweghen
a17a757722
Configure SPI pins as input when target is not in reset.
2015-07-13 21:22:00 +02:00
Peter Van Hoyweghen
15da182399
Support at89sx mcu's by adding the possibility to specify the polarity of the target reset signal.
2015-07-13 21:21:58 +02:00
Peter Van Hoyweghen
56e09109df
The delay between reset and the enter progmode command got lost when introducing the SPI library. Put it back in.
2015-07-13 21:21:57 +02:00
Peter Van Hoyweghen
93b31b6cfa
Simply use pin 10 to reset the target. It works for all Arduino's and allows the same "ArduinoISP shield" to be used on all of them. Such a shield has an ISP connector that: - wires MISO,MOSI, SCK, GND and 5V to the ISP connector of the programming Arduino - wires RESET to pin 10 of the programming Arduino.
2015-07-13 21:21:57 +02:00
Peter Van Hoyweghen
ad2a32fd24
Avoid delay in heartbeat. That way we can also set the baudrate back to the value used in the IDE. In fact, with this fix, baud rates of up to 115200 work also.
2015-07-13 21:21:57 +02:00
Randall Bohn (Huckle)
aeaed27e13
Use SPI library.
2015-07-13 21:18:17 +02:00
Randall Bohn (Huckle)
8dfe833e49
Set error if GET_SIGN_ON not followed by CRC_EOP
2015-07-13 21:13:54 +02:00
Randall Bohn (Huckle)
d968c7a8ee
Don't start_pmode if we're already in pmode.
2015-07-13 21:13:53 +02:00
Randall Bohn (Huckle)
a2a06f56cc
Be more specific about datatypes in the parameter struct.
2015-07-13 21:13:53 +02:00
Federico Fissore
974fef1000
Serial plotter: added comment to ReadAnalogVoltage. See #3451
2015-07-07 09:04:00 +02:00
Federico Fissore
d9b3a86e84
Serial plotter: added comment to AnalogReadSerial. Fixes #3451
2015-07-06 15:27:07 +02:00
Federico Fissore
5e98cd8528
Examples: mass code format. See example_formatter.conf
2015-07-06 15:19:05 +02:00
Federico Fissore
7d8d07889f
ArduinoISP example moved under 11.ArduinoISP
2015-06-23 10:16:09 +02:00
Arturo Guadalupi
1d7bdb5050
Fixed behaviour in the falling phase PJ03 StarterKit
...
According to #2585 there was a "glitch" in the falling phase because of a
missing +2 in the first condition
2015-06-12 13:14:06 +02:00
Arturo Guadalupi
0d4f208f1a
Cleared numberOfKnocks variable
...
Fixed according to #2294
2015-06-01 10:33:26 +02:00
Arturo Guadalupi
c28fb7acd4
Added float example to StringConstructor
...
This example has been added according to #3264
2015-06-01 09:50:51 +02:00
Arturo Guadalupi
4648330a7f
Fix for serialEvent example
...
In the example is stated that the function is run between one loop and the next, but actually the call to the function was missing.
The comment also state that the response can be delayed using a delay in the loop,so I think that the way it should be is so by only
adding a call to the function serialEvent as first operation in the loop. I so added this call.
2015-05-21 10:15:55 +02:00
Federico Fissore
9166828bfe
Due to website configuration changes, every url starting with http://arduino.cc has been changed to http://www.arduino.cc . Fixes #3191
2015-05-20 17:10:06 +02:00
Federico Fissore
67997a6605
Revert "make editor folding happy"
...
This reverts commit e0926139fb61f7edbc38dd5bf7aaff1644e07a8f.
2015-05-07 17:15:50 +02:00
ricardo.jl.rufino
96fcda2cbc
make editor folding happy
2015-05-07 17:15:50 +02:00