home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Hardware
Ambient Lighting System
[DIY] User Showcases
[DIY] Selfmade AmbiLight using LED Strings
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Lightning303" data-source="post: 1065289" data-attributes="member: 97876"><p>You could test if the arduino and pin 6 work in general, by running some test code like this</p><p></p><p>[CODE]int ledPin = 6; // LED connected to digital pin 13</p><p></p><p>void setup()</p><p>{</p><p>pinMode(ledPin,OUTPUT); // sets the digital pin as output</p><p>}</p><p></p><p>void loop()</p><p>{</p><p>digitalWrite(ledPin,HIGH);// sets the LED on</p><p>delay(1000); // waits for a second</p><p>digitalWrite(ledPin,LOW); // sets the LED off</p><p>delay(1000); // waits for a second</p><p>}[/CODE]</p><p>found that here: <a href="http://arduino.cc/en/Reference/PinMode#.Uwdjz_T-vXx" target="_blank">http://arduino.cc/en/Reference/PinMode#.Uwdjz_T-vXx</a></p><p></p><p>Then you run the code and use your mutlimeter to check that pin 6 outputs 5v for 1 second, then 0v for a second and so on. That way we can determain that the code is running and that pin 6 is outputing like it should. And we can rule out arduino malfunction.</p><p></p><p>Atleast thats what i would do <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p></blockquote><p></p>
[QUOTE="Lightning303, post: 1065289, member: 97876"] You could test if the arduino and pin 6 work in general, by running some test code like this [CODE]int ledPin = 6; // LED connected to digital pin 13 void setup() { pinMode(ledPin,OUTPUT); // sets the digital pin as output } void loop() { digitalWrite(ledPin,HIGH);// sets the LED on delay(1000); // waits for a second digitalWrite(ledPin,LOW); // sets the LED off delay(1000); // waits for a second }[/CODE] found that here: [url]http://arduino.cc/en/Reference/PinMode#.Uwdjz_T-vXx[/url] Then you run the code and use your mutlimeter to check that pin 6 outputs 5v for 1 second, then 0v for a second and so on. That way we can determain that the code is running and that pin 6 is outputing like it should. And we can rule out arduino malfunction. Atleast thats what i would do ;) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
Ambient Lighting System
[DIY] User Showcases
[DIY] Selfmade AmbiLight using LED Strings
Contact us
RSS
Top
Bottom