theblazecoders / smart-car-parking-arduino

Arduino code for smart car parking project https://github.com/theblazecoders/smart-car-parking
https://theblazecoders.github.io/smart-car-parking
1 stars 2 forks source link

Arduino Dynamic Variables #1

Open harshkhandeparkar opened 5 years ago

harshkhandeparkar commented 5 years ago

Many variables in the arduino code should be dynamic, they should probably be input through serial monitor.

Reference https://github.com/theblazecoders/smart-car-parking-arduino/blob/aaa6747327398a2832bd955677f6ceafdd738ac3/smart-car-parking/smart-car-parking.ino#L6-L14

https://github.com/theblazecoders/smart-car-parking-arduino/blob/aaa6747327398a2832bd955677f6ceafdd738ac3/smart-car-parking/smart-car-parking.ino#L85-L87

harshkhandeparkar commented 5 years ago

Can you please help me with this @sahil-patel6? This won't be very difficult. You will also get acquainted with the arduino code.

sahil-patel6 commented 5 years ago

Ok

On Fri, 5 Apr, 2019, 16:27 Harsh Khandeparkar, notifications@github.com wrote:

Many variables in the arduino code should be dynamic, they should probably be input through serial monitor.

  • wifi ssid
  • wifi password
  • ip address of server

Reference

https://github.com/HarshKhandeparkar/smart-car-parking/blob/8633a5c71cabfc3a0cb682d5ca456dc7f8f5f761/arduino/NodeMCU_Project/NodeMCU_Project.ino#L6-L14

https://github.com/HarshKhandeparkar/smart-car-parking/blob/8633a5c71cabfc3a0cb682d5ca456dc7f8f5f761/arduino/NodeMCU_Project/NodeMCU_Project.ino#L85-L87

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HarshKhandeparkar/smart-car-parking/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/AROeQXBkR6QIlnwaoE9IiGIRDGIohwjFks5vdywpgaJpZM4ceq7t .

sahil-patel6 commented 5 years ago

I will try my best

On Fri, 5 Apr, 2019, 16:28 Harsh Khandeparkar, notifications@github.com wrote:

Can you please help me with this @sahil-patel6 https://github.com/sahil-patel6? This won't be very difficult. You will also get acquainted with the arduino code.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HarshKhandeparkar/smart-car-parking/issues/22#issuecomment-480234738, or mute the thread https://github.com/notifications/unsubscribe-auth/AROeQfhaeN1SQ7REFHHMnWudiYe6Gs3jks5vdyxugaJpZM4ceq7t .

harshkhandeparkar commented 5 years ago

Btw, the post requests aren't fully complete. The code was added for debugging purposes.

sahil-patel6 commented 5 years ago

Ok

On Fri, 5 Apr, 2019, 16:31 Harsh Khandeparkar, notifications@github.com wrote:

Btw, the post requests aren't fully complete. The code was added for debugging purposes.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HarshKhandeparkar/smart-car-parking/issues/22#issuecomment-480235402, or mute the thread https://github.com/notifications/unsubscribe-auth/AROeQSjhNApRRLMQcfgZnndsiwoJItixks5vdy0HgaJpZM4ceq7t .

harshkhandeparkar commented 5 years ago

I am not very good at cpp. Specially the string parsing functions which will be required for ip address because the contructor takes the ip address as 4 different numbers.

sahil-patel6 commented 5 years ago

Btw I am also not that good

On Fri, 5 Apr, 2019, 16:33 Harsh Khandeparkar, notifications@github.com wrote:

I am not very good at cpp. Specially the string parsing functions which will be required for ip address because the contructor takes the ip address as 4 different numbers.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HarshKhandeparkar/smart-car-parking/issues/22#issuecomment-480235821, or mute the thread https://github.com/notifications/unsubscribe-auth/AROeQYfaNlQVFdT65kyX4kJwkQnUmmkxks5vdy1pgaJpZM4ceq7t .

sahil-patel6 commented 5 years ago

I guess we will figure it out

On Fri, 5 Apr, 2019, 16:35 Sahil Patel, goal.sahil6@gmail.com wrote:

Btw I am also not that good

On Fri, 5 Apr, 2019, 16:33 Harsh Khandeparkar, notifications@github.com wrote:

I am not very good at cpp. Specially the string parsing functions which will be required for ip address because the contructor takes the ip address as 4 different numbers.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HarshKhandeparkar/smart-car-parking/issues/22#issuecomment-480235821, or mute the thread https://github.com/notifications/unsubscribe-auth/AROeQYfaNlQVFdT65kyX4kJwkQnUmmkxks5vdy1pgaJpZM4ceq7t .

harshkhandeparkar commented 5 years ago

Are you good at C then?

sahil-patel6 commented 5 years ago

Yeay little bit

On Fri, 5 Apr, 2019, 16:36 Harsh Khandeparkar, notifications@github.com wrote:

Are you good at C then?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HarshKhandeparkar/smart-car-parking/issues/22#issuecomment-480236499, or mute the thread https://github.com/notifications/unsubscribe-auth/AROeQUAEGpdJka_tO1YyGm-3c0zvvacwks5vdy4agaJpZM4ceq7t .

sahil-patel6 commented 5 years ago

It is for debugging purpose right??

harshkhandeparkar commented 5 years ago

Currently it is for debugging because it is under development. Later the same code is to be reused.

harshkhandeparkar commented 5 years ago

I was tesing the POST and GET functions.