crazy-igzp
Member level 1
- Joined
- Feb 3, 2014
- Messages
- 34
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Location
- Settat, Morocco
- Activity points
- 255
hello.
I have been lately given a custom car light project to work on. the problem is when I have been given the project I thought that I'll make the PCB board. if you know what I mean.
now I have to code that board, which I know nothing about.
I have been given those pictures
and the person who gave me those pictures don't have the schematic of that PCB, is it possible form me to code these LED's?
and do you have any idea how to do that.
I told him that it is impossible for me to code the Arduino without knowing the schematic of the board. was I right?
and one more thing he gave me the old code he's using.
arduino code:
thanks
I have been lately given a custom car light project to work on. the problem is when I have been given the project I thought that I'll make the PCB board. if you know what I mean.
now I have to code that board, which I know nothing about.
I have been given those pictures
and the person who gave me those pictures don't have the schematic of that PCB, is it possible form me to code these LED's?
and do you have any idea how to do that.
I told him that it is impossible for me to code the Arduino without knowing the schematic of the board. was I right?
and one more thing he gave me the old code he's using.
arduino code:
Code:
int ledState = LOW;
long previousMillis = 0;
long interval = 100;
void setup()
{
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
}
void loop()
{
unsigned long currentMillis = millis();
if(currentMillis - previousMillis > interval){
previousMillis = currentMillis;
if(ledState == LOW)
ledState = HIGH;
else
ledState = LOW;
digitalWrite(13, ledState);
digitalWrite(12, !ledState);
}
}
thanks
Last edited by a moderator: