Search found 35 matches

by Jacob1
Thu Apr 19, 2018 11:51 am
Forum: BTEC Unit 6
Topic: BTEC Unit 6 - SAMs (the egg timer) sample solution
Replies: 20
Views: 12167

Re: BTEC Unit 6 - SAMs (the egg timer) sample solution

Hi, I completely agree with being able to plan before the assessment, in terms of using datasheets for the comparison of the microcontrollers. I have done this now, but I am concerned about whether I can use this for the assessment, as if we have no internet then Pearson will suspect I have done thi...
by Jacob1
Wed Apr 18, 2018 7:54 pm
Forum: BTEC Unit 6
Topic: BTEC Unit 6 - SAMs (the egg timer) sample solution
Replies: 20
Views: 12167

Re: BTEC Unit 6 - SAMs (the egg timer) sample solution

Could we say that we have revised the technical data in our heads? But yes we would need datasheet copies if we are to compare hardware in detail

Jacob
by Jacob1
Wed Apr 18, 2018 2:39 pm
Forum: BTEC Unit 6
Topic: BTEC Unit 6 - SAMs (the egg timer) sample solution
Replies: 20
Views: 12167

Re: BTEC Unit 6 - SAMs (the egg timer) sample solution

Thanks for showing us your solution of this! I had a go at the egg timer over Easter, but did not have the knowledge of how to activate a buzzer at the end of the each timer routine, which I now do. Your sessions are really useful, especially the content you have done for the design section, such as...
by Jacob1
Sun Mar 04, 2018 5:38 pm
Forum: Flowcode V7
Topic: Printing a space bar using a keypad
Replies: 1
Views: 653

Re: Printing a space bar using a keypad

Hi everyone, Just thought I would let you know I have now solved this issue! :D By changing my program extensively to not using strings and instead using a variable for the cursor x which is incremented. For the space to show, I used print string and then just " ", should have thought of t...
by Jacob1
Sun Mar 04, 2018 11:45 am
Forum: Flowcode V7
Topic: Printing a space bar using a keypad
Replies: 1
Views: 653

Printing a space bar using a keypad

Hi All, I am having difficulty with printing a space when the * button is pressed. I have seen other members ask this question and I have had a look at other peoples keypad programs. I have tried using 32, as the keypad number, which in theory should be printed as the ASCII equivalent which is a spa...
by Jacob1
Thu Mar 01, 2018 11:33 am
Forum: User Components
Topic: How an EEPROM works?
Replies: 8
Views: 1536

Re: How an EEPROM works?

Hi Ben, I have had slow progress with the EEPROM program, but have now managed to successfully increment the adress variable by 1. I have changed the program now, so that it it will write untill 50, then it goes back to 0 and increment the adress by 1 and read from this untill 50 again. I don't know...
by Jacob1
Wed Feb 28, 2018 4:29 pm
Forum: Flowcode V7
Topic: Error code when compiling [Resolved]
Replies: 5
Views: 1195

Re: Error code when compliling

Hi,

Thanks for your help with this compiling issue, removing the "," now means the program compiles perfectly! Very grateful indeed for your help :D

Jacob
by Jacob1
Wed Feb 28, 2018 2:49 pm
Forum: User Components
Topic: How an EEPROM works?
Replies: 8
Views: 1536

Re: How an EEPROM works?

Thanks for your reply, that does make sense! I have changed my program now, so after writing, the adress = 0 and then I perform the read function, with a incremented count before. However, during simulation we can see that during write it counts up perfectly until 50 then resets to 0, but then durin...
by Jacob1
Wed Feb 28, 2018 11:13 am
Forum: User Components
Topic: How an EEPROM works?
Replies: 8
Views: 1536

Re: How an EEPROM works?

Ok I will try that also,

Apologies, I did attach my program on my first post but I think I have made some changes. Here it is,

Thanks for your help,
Jacob
by Jacob1
Wed Feb 28, 2018 9:51 am
Forum: User Components
Topic: How an EEPROM works?
Replies: 8
Views: 1536

Re: How an EEPROM works?

Hello, Still working on the EEPROM program, just wondered if anyone would be free to check my program for any errors. The program produces 0s on simulation, as there is no light but I just want to ensure I have set up the EEPROM correctly. I have added 1 to the address each time, hoping that this me...
by Jacob1
Wed Feb 21, 2018 5:27 pm
Forum: Flowcode V7
Topic: Error code when compiling [Resolved]
Replies: 5
Views: 1195

Re: Error code when compliling

Ok thanks I will try saving the file as a different name, and I will get back to you to see if this has resolved the issue.

Thanks for your help, but just out of curiosity why would this allow the program to be compiled? Is it because the file name I've saved it as is too long complicated?

Jacob
by Jacob1
Wed Feb 21, 2018 12:54 pm
Forum: Flowcode V7
Topic: Error code when compiling [Resolved]
Replies: 5
Views: 1195

Error code when compiling [Resolved]

Hi All, I am having trouble with a compiler error message. I have copy and pasted the program and inserted the program into a new one, which means the error code does not show and compiles perfectly. However, I have tried another program and done the same which still comes up with this error code wh...
by Jacob1
Thu Feb 15, 2018 9:37 pm
Forum: User Components
Topic: How an EEPROM works?
Replies: 8
Views: 1536

Re: How an EEPROM works?

Hi, Thanks for your reply, that does help. I am still a bit confused though regarding when to use the write and read macros? For the example I attached which I am working on, I'm not sure if I correctly used the EEPROM. Would you write a variable to a certain address being 0-255? And then use the re...
by Jacob1
Mon Feb 12, 2018 7:43 pm
Forum: User Components
Topic: How an EEPROM works?
Replies: 8
Views: 1536

How an EEPROM works?

Hello, I am trying to understand how to use a EEPROM. The flow code wiki doesn't really clearly explain how to use the read and write macros and I have tried to look at other forums but I,m still confused, so I wondered if someone could explain what these are used for? I am trying to create a progra...
by Jacob1
Mon Jan 22, 2018 8:21 pm
Forum: General Programming
Topic: How to perform keypad as a calculator
Replies: 8
Views: 1755

Re: How to perform keypad as a calculator

Hi, Wondered if anyone knows how to assign a space to the button * for example? I am having trouble with this, and have looked at previous forum posts. One post seemed to use the variable = variable + 2 in order to skip to the next space with a decision which says "key press = decimal value acc...
by Jacob1
Wed Jan 17, 2018 3:46 pm
Forum: 16-Bit PIC
Topic: EB091 and sensors mother board
Replies: 20
Views: 8111

Re: EB091 and sensors mother board

Hello, I am not a very experienced programmer. I have been using the potentiometer and LDC recently. I have managed to display the output as a byte variable from analogue, which I understand. However, I do not understand why for analogue to displaying the voltage between 0-5v on the LDC requires a s...
by Jacob1
Mon Jan 15, 2018 7:44 pm
Forum: General Programming
Topic: How to perform keypad as a calculator
Replies: 8
Views: 1755

Re: How to perform keypad as a calculator

Hi medelec35, Yeah sorry for some reason the macro flowchart didn't show when i first downloaded it. Could you explain what the number = (number* 10) + key means? I'm guessing the result and number are the two values which are added. Also, The display result macro converts the number into a string a...
by Jacob1
Mon Jan 15, 2018 3:20 pm
Forum: General Programming
Topic: How to perform keypad as a calculator
Replies: 8
Views: 1755

Re: How to perform keypad as a calculator

Hi,

I will try and dissect the program later on. Can I ask what 10 and 11 represent in the switch icon? And is there meant to be a display result empty macro?

Thanks a lot
jac
by Jacob1
Mon Jan 15, 2018 2:55 pm
Forum: General Programming
Topic: How to perform keypad as a calculator
Replies: 8
Views: 1755

Re: How to perform keypad as a calculator

Hi,

This is for flow code 5, is there anyway you can convert it to flow code 7 or explain how the program works?

Cheers
Jac
by Jacob1
Mon Jan 15, 2018 12:01 pm
Forum: General Programming
Topic: How to perform keypad as a calculator
Replies: 8
Views: 1755

How to perform keypad as a calculator

Hello, I wondered if anyone would be able to perform a keypad as a calculator. I trying to create program which adds two numbers under 9999. Eg I enter 1,2,8 and then press * to add and then enter 3,4,7 and press # to = these numbers. So 128 + 347 = 475. Ive attached what I have created at the momen...
by Jacob1
Mon Jan 01, 2018 5:21 pm
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 3636

Re: HELP WITH A PROGRAM

I created the logic for changing LefthandPaddock value. for decreasing LefthandPaddock (sheep going from left to right): A1 A0 1 0 0 1 0 0 It's required to wait for 0 0 as it states the sheep can change their mind. to increase LefthandPaddock: A1 A0 0 1 1 0 0 0 so 1 1 is ignored. The switch icon is...
by Jacob1
Mon Jan 01, 2018 4:21 pm
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 3636

Re: HELP WITH A PROGRAM

Yeah the step into is great button! I get why the prev sensors is used now, as it will stay in the loop until both switches have been turned on and one has been turned off, as this then means the while statement is false? However, I'm a bit unsure as to why when both switches have been turned on and...
by Jacob1
Mon Jan 01, 2018 11:37 am
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 3636

Re: HELP WITH A PROGRAM

Hi Jacob, I have created a flowchart that uses loops, Switch component (2 branches) and decision icons. In order to follow flowchart you need to know how the Switch component:Switch Comonent.pngworks. You also need to know how to do bitwise e.g & | etc. Logic manipulation using && || et...
by Jacob1
Sun Dec 31, 2017 7:14 pm
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 3636

Re: HELP WITH A PROGRAM

Opened in Flowcode v7, there are two pushbuttons. Port A0 and PortA1 connected. I upload a Flowcode v6-v7 compatible program. When the switches are pressed no LEDs light up. I think it is opening it wrong on my laptop for some reason, I'm guessing as I can see it works on your You tube video fine. ...
by Jacob1
Sun Dec 31, 2017 6:06 pm
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 3636

Re: HELP WITH A PROGRAM

Hi Jacob1, It looks like you're reading Introduction To Microprogramming - The complete course. Have you been jumping straight into all the exercises, without reading from page 39 onwards first? The idea is to complete the exercises only after reading the relevant parts of the course. If you can't ...