What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-31 09:20:19
arduino rgb led with pushbutton
#define button 11 #define redLED 8 #define greenLED 9 #define blueLED 10 int state = 0; int old = 0; int buttonPoll = 0; void setup() { pinMode(button,INPUT); //RGB LED set as output pinMode(redLED,OUTPUT); pinMode(greenLED,OUTPUT); pinMode(blueLED,... Add solution -
Python 2021-10-14 00:25:13
object color detection python program youtube
# Python code for Multiple Color Detection import numpy as np import cv2 # Capturing video through webcam webcam = cv2.VideoCapture(0) # Start a while loop while(1): # Reading the video from the # webcam in image frames _... Add solution -
Python 2021-09-16 22:40:01
draw a marker in basemap python
import matplotlib.pyplot as plt import numpy from mpl_toolkits.basemap import Basemap # 1. get data lon = [-122.2416355, -122.2977475, -121.204408, -118.3272612, -119.0194639] lat = [37.7652076, 37.88687, 40.2362738, 33.34221, 35.3738712] crowd = [8.0, ... Add solution