My Compaqt solution
#14
100 and 120 are probably both fine, but it really depends on the forward voltage of the LED.

You need to keep the current to around 5mA max because that is all the microprocessor will output on a port.

Look at the datasheet for the diodes you are using to determine their forward voltage.  Then use this formula to calculate the proper resistor:

3.3 - fwd voltage / .005 = resistance in ohms
Reply


Messages In This Thread
My Compaqt solution - by Vipersan - 08-04-2019, 11:16 AM
RE: My Compaqt solution - by admin - 08-04-2019, 09:21 PM
RE: My Compaqt solution - by Vipersan - 08-05-2019, 02:11 AM
RE: My Compaqt solution - by admin - 08-05-2019, 07:23 PM
RE: My Compaqt solution - by Vipersan - 08-06-2019, 01:43 AM
RE: My Compaqt solution - by Vipersan - 08-06-2019, 03:17 AM
RE: My Compaqt solution - by admin - 08-06-2019, 09:47 AM
RE: My Compaqt solution - by Vipersan - 08-06-2019, 10:04 AM
RE: My Compaqt solution - by admin - 08-06-2019, 11:18 AM
RE: My Compaqt solution - by Vipersan - 08-06-2019, 12:28 PM
RE: My Compaqt solution - by Vipersan - 08-06-2019, 02:39 PM
RE: My Compaqt solution - by admin - 08-06-2019, 11:34 PM
RE: My Compaqt solution - by Vipersan - 08-07-2019, 12:38 AM
RE: My Compaqt solution - by admin - 08-07-2019, 08:57 AM
RE: My Compaqt solution - by Vipersan - 08-07-2019, 09:02 AM
RE: My Compaqt solution - by Vipersan - 08-07-2019, 09:45 AM
RE: My Compaqt solution - by admin - 08-07-2019, 04:34 PM
RE: My Compaqt solution - by Vipersan - 08-08-2019, 12:29 AM
RE: My Compaqt solution - by Vipersan - 08-08-2019, 07:52 AM
RE: My Compaqt solution - by admin - 08-08-2019, 08:00 AM
RE: My Compaqt solution - by Vipersan - 08-08-2019, 08:01 AM
RE: My Compaqt solution - by Vipersan - 08-09-2019, 02:50 PM
RE: My Compaqt solution - by admin - 08-09-2019, 04:17 PM
RE: My Compaqt solution - by Vipersan - 08-10-2019, 03:29 AM
RE: My Compaqt solution - by natevw - 02-05-2020, 10:42 PM
RE: My Compaqt solution - by Vipersan - 02-26-2020, 05:38 AM



Users browsing this thread: 2 Guest(s)