Go to advanced search

by McSuperb14
Mon Oct 02, 2017 12:31 pm
Forum: Other
Topic: [Kali Linux] Issues with first time booting
Replies: 3
Views: 8107

[Kali Linux] Issues with first time booting

Greetings. I decided to use my raspberry pi for wifi-cracking, fake APs, etc (On my own WiFi networks obviously) So, I downloaded the Kali Linux arm image for RPi 2/3. Wiped my 8GB Micro SD card clean with diskpart (Windows Laptop), burned in the image file use Win32DiskImager. Everythings seemed to...
by McSuperb14
Tue Dec 13, 2016 5:33 pm
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

You do NEED an if statement. You have your usage of while and if totally wrong. These are fundamentals of programming that you need to grasp. While is used to repeat code until a condition is met - In your case you want the code to keep running indefinitely so we use a `while True` loop. True is al...
by McSuperb14
Tue Dec 13, 2016 4:47 pm
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

UPDATE : Nothing happened today RIP. The teacher in charge of the project exhibition was absent, so could not really show my project today. Oh and the exhibition date is postponed to 20th December [That's what rumors say!] That's enough time, maybe I would upgrade my code? Ahahaha :P and probably en...
by McSuperb14
Mon Dec 12, 2016 4:44 pm
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

I see... All I was doing was that trying to create something with the little knowledge I have. Should have researched more, anyways, tomorrow I'll be taking this little project to school =) I will leave it as it is. There isn't any time left, so yeah I will just take whatever I've done. Took me hour...
by McSuperb14
Mon Dec 12, 2016 12:44 pm
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

Apologies for me being unclear. I did some mistakes with my electronics, which I fixed. So the Pin 7 works fine now. This is what I want the code to do: 1) Keep printing "All good" when there is no input to Pin 7 2) If suddenly, input is received at Pin 7 I want it to spam "Something's wrong" 3) Go ...
by McSuperb14
Mon Dec 12, 2016 11:49 am
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

Alright, I managed to fix the problem, where my pins would act funny. The only problem left is with the part when the input becomes TRUE, and python has to print something. When the code is ran, and input is FALSE, it spams "All good" [Which is correct], however when the input is TRUE, the program t...
by McSuperb14
Mon Dec 12, 2016 11:21 am
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

I will do some research on the pins, but could you tell me why my code's screwing up?
It looks correct to me..?
by McSuperb14
Mon Dec 12, 2016 11:10 am
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

Seems like it broke again? Worked once with Pin 17, and when I would retry, does nothing again? Funny... Retried with Pin 7 and now its working again? Well? Seems like as if it won't work on the same pin twice, so I need to change the defined pins for it work for every run eh? Apparently my code doe...
by McSuperb14
Mon Dec 12, 2016 11:07 am
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

jbudd wrote:Does it do something different if you change from GPIO pin 7 to pin 17?
Hell yes it works!
WHY?
Why won't Pin 7 work?
And why does Pin 17 WORK? I do not get it D':

THANK YOU SO MUCH c:
You put a smile on my face!
by McSuperb14
Mon Dec 12, 2016 6:54 am
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

UPDATE: Today's a holiday for me, so will take my project to school tomorrw (Tuesday) Now, I was trying to make my code better. Facing problems, yet again... (I earlier used a simpler code, this time tried to use the 'if' statement) import RPi.GPIO as GPIO from time import sleep import os GPIO.setmo...
by McSuperb14
Sat Dec 10, 2016 1:29 pm
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Need someone to proof - read my code

Well then, if you guys wish to know what happens, I won't ask this thread to be locked.
Will keep this alive for a few more days, and post updates =)
by McSuperb14
Sat Dec 10, 2016 1:05 pm
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: [Solved - Req Lock]Need someone to proof - read my code

dasmanul wrote:Or, still better IMHO, you could use this thread to tell us how your project went and what solution you came up with. I, at least, would be interested to read the story to the end. ;)

Anyway, good luck and have fun!
Would PM you :D
by McSuperb14
Sat Dec 10, 2016 3:57 am
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

Alright, I know what I need to do now. This thread cleared everything for me. Thanks to each and everyone who did reply! I think the purpose of this thread has fulfilled it's purpose. So I'd request a lock. (Am I even allowed to request a lock? I mean I've been a member at other forums, but not sure...
by McSuperb14
Fri Dec 09, 2016 12:20 pm
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

This is kind of urgent because this is my school project and its due Monday(13/12/16), so must be finished by Sunday. Can someone show me how it's done with my code? I mean complete the code for me. I hope noone will complete the code for you, because then it won't be your project any more and it w...
by McSuperb14
Fri Dec 09, 2016 11:15 am
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

Alright. How should you end the while command? You guys told me what loop means, and how it works. But again, I don't really know the syntax to end the while loop command. I just need someone to help me out ending the command, because seriously. What do I do? :confused: Can someone show me how it's ...
by McSuperb14
Fri Dec 09, 2016 11:02 am
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Re: Need someone to proof - read my code

First of all, thank you for replying! Oh and yes, I know you guys were wondering why won't I try it, well it was because it was 1 AM, and my Pi was in another room where my dad was sleeping, and he is not a fan of been woken up midnight for nothing. I will try my code ASAP. B.Goode yeah I looked up ...
by McSuperb14
Thu Dec 08, 2016 6:48 pm
Forum: Troubleshooting
Topic: Need someone to proof - read my code
Replies: 44
Views: 4852

Need someone to proof - read my code

Hello! Newbie here, I've very little experience with Python as well as the Pi. I've decided to create a LDR [Light Dependant Resistor] based control switch to sent inputs to my Pi. I did the electronics for the LDR thingy, but I'm struggling with the code. Here's my code. I typed it down by myself a...

Go to advanced search