Search found 23 matches

by ctesla75
Sat Feb 18, 2023 8:12 am
Forum: General
Topic: Timing Problems
Replies: 11
Views: 1886

Re: Timing Problems

Hi All , Thanks for the replies , I've had no luck yet but have just started trying, hopefully get more time to try now. I have a question about delays and interupts as both kersing and alanwms have said not to use them together . does that include the delays already in my program, as there are many...
by ctesla75
Thu Feb 16, 2023 8:08 pm
Forum: General
Topic: Timing Problems
Replies: 11
Views: 1886

Re: Timing Problems

Thanks for the help everybody, I think the problem lies with what kersing pointed out my numbers were too big ,thats why my hours delay ran for seconds.I have no real experience with interupts, so i will make a program using interupts to turn on a led and see how it goes
by ctesla75
Wed Feb 15, 2023 8:45 pm
Forum: General
Topic: Timing Problems
Replies: 11
Views: 1886

Timing Problems

Hi All, I am making a program to turn my fish tank light on for a certain amount of time when pressing a button. I have most of the program working except timing. By playing around with values I have accurate minute timing, but if I use the same calculations and multiply by 60 for hours it only runs...
by ctesla75
Thu Jan 26, 2023 7:17 pm
Forum: General
Topic: ESP32 ports
Replies: 7
Views: 1073

Re: ESP32 ports

Thankyou for the help that explains it perfectly
by ctesla75
Thu Jan 26, 2023 11:07 am
Forum: General
Topic: ESP32 ports
Replies: 7
Views: 1073

Re: ESP32 ports

Thanks for your help can i ask where the values of 4 and 128 came from in switch
by ctesla75
Thu Jan 26, 2023 4:39 am
Forum: General
Topic: ESP32 ports
Replies: 7
Views: 1073

Re: ESP32 ports

Hi
I have realised the error due to me not having the license for the switch, is there a way to know the port codes in the switch command
by ctesla75
Thu Jan 26, 2023 3:28 am
Forum: General
Topic: ESP32 ports
Replies: 7
Views: 1073

Re: ESP32 ports

Hi Thanks for the reply, i cannot get your example to work in simulation. i dont know if it is a faulty download although i have downloaded it twice .First time it said it was made on a newer version, so i upgraded and tried again. Flowcode states. Unknown or missing component: switch_array_push1:Re...
by ctesla75
Wed Jan 25, 2023 11:14 pm
Forum: General
Topic: ESP32 ports
Replies: 7
Views: 1073

ESP32 ports

Hi All, Just trying to use ports on esp32 im using 3 pins designated as input only , but donr know how to figure out the address in a switch command. In AVR i was able to use the hex equivalent of binary e.g. 00000001 was 1 on the switch with portb as input , I cant find any documentation giving por...
by ctesla75
Fri Jan 20, 2023 8:43 pm
Forum: General
Topic: Errors while compiling
Replies: 12
Views: 1795

Re: Errors while compiling

Thanks for the replies I have downloaded realterm and will have a play after work, I also found this link https://randomnerdtutorials.com/esp32-pinout-reference-gpios/ after reading chipfryer27's post. It looks like some of pins I have assigned might be input only. Hopefully will be able to fix afte...
by ctesla75
Fri Jan 20, 2023 12:09 pm
Forum: General
Topic: Errors while compiling
Replies: 12
Views: 1795

Re: Errors while compiling

Hi
Have been away from project ,just got back to trying again. I have put a usb logic analyser on the 4 bit interface , but data is only coming out of two pins. I have also put the print string comand back in a loop