Recent content by Flenser

  1. F

    Is PICAXE support for Mac officially dead?

    tmkfam, If these new 64 bit Mac beta compilers work then you can consider using Visual Studio for Mac as the IDE. RevEd provide the "PICAXE extension for VS Code" that you need to download but these are text configuration files for VS Code which you need to install on any OS that you want to...
  2. F

    Is PICAXE support for Mac officially dead?

    Technical, you are correct. My Blocky was v1.4.0 and after downloading v1.4.1 I can online compile with no issue.
  3. F

    Is PICAXE support for Mac officially dead?

    Technical, FYI. Blocky is still reporting "The online compile service is not available. Please try again later " when I try to do an online compile.
  4. F

    AND

    westaust55, You are correct. I didn't look at the IF statement syntax carefully enough. {AND/OR variable ?? value ...} - That "..." at the end usually means that you can repeat the clause more times.
  5. F

    AND

    69-cat, From the PICAXE manual2 the IF statement only allows 1 or 2 tests so no, you can't specify 3: Syntax: IF variable ?? value {AND/OR variable ?? value ...} THEN {code} ELSEIF variable ?? value {AND/OR variable ?? value ...} THEN Seeing as the pinC.N values are either 1 or 0 a workaround...
  6. F

    Possible PE6 Simulator fault, or is it me?

    mortifyu, There is nothing wrong with the code in your original post and it works exactly as you expect it should This is a limitation of the simulation. - At very slow simulation speeds you can see the lines being highlighted as they are executed but the timer is being inncremented to a value...
  7. F

    Is PICAXE support for Mac officially dead?

    pleiser, Given that you describe the Blockly App (Intel Mac 64-bit) hanging when you try to compile this is a bit of a long shot but ... Open a terminal window, navigate to the Blocky compiler directory: <where you unzipped Blocky>\Blockly...
  8. F

    A timing question

    My understanding is that oscilloscopes are for accurately measuring time. They are not intended to be highly accurate voltmeters, hence 8-bit vertical resolution is not generally an issue. I'm sure I have seen scopes with a greater vertical resolution but they were probably more expensive...
  9. F

    A timing question

    Phil, DPScope has cursors but it also has a measurement window that can be opened to display things like period and the duration of the high and low portions of the pulse which is more convenient so I use it. I see the same behaviour as you describe when I am collecting the average of 100...
  10. F

    A timing question

    I've just done an oscilloscope measurement like PhilHornby on my 14M2, 18M2 & 20X2 chips. This is a 100 sample average using my DPScope at 400k sample/sec (i.e. 2.5 uS resolution). With this code: setfreq M32 main: HIGH B.2 LOW B.2 goto main The high pulse length is 14M2: 51.68 us...
  11. F

    A timing question

    wapo45001, Womai put this update about the dpscope "due to several different reasons it does not look like I will be able to offer the scopes and kits now or in the future ... By the way, my website moved to http://dpscope.freevar.com/ (no longer www.dpscope.com). " in this post...
  12. F

    Big number arithmetic problem

    cpedw, By including the remainder in the calculation you can calculate the answer with a resolution of 1. Also, because the numerator 40800 is exactly 1/4 of 163,200 the results after including the remainder are exactly correct. This code calculates the integer division. i.e. it truncates the...
  13. F

    Big number arithmetic problem

    Marks, I agree with cpedw, your second code is very neat. I would also be interested in a description of how to calculate the constant for other divisions?
  14. F

    Anyone know what this is?

    From this page What is a PICAXE? no PICAXE chip was ever based on the PIC 16f84 so it looks like this board could have been in the wrong draw. LCDs have a very standard connection using either a 1x14 row or a 2x7 row of header pins so it seems unlikely to be a serial LCD interface board. It...
  15. F

    Need one more Output

    There is a way to use an input pin on a PICAXE chip as an output described here: 08M2 and pin C.3 as output This will not be an option for you as the 18A is so old that the PULLUP command is not documented in manual 2. When I try PULLUP ON for the 18A in PE6 it generates a syntax error so it...
Top