Search results

  1. T

    hspiout setup for output only (to PGA2311)

    This line from the PICAXE manual sounds like nonsense to me. They probably confused it with something else in the raw PIC datasheet (hint: MSSP slave mode SCK input), so I don't see a problem here. But it is best to tie unused inputs to ground, including the hspiin pin, so they don't float...
  2. T

    hi2clast and hi2cflag, when are they valid

    I second that. I have a 28X2 hooked up to the serial and i2c pins of a Raspberry Pi, the serial for reprogramming and telemetry, and i2c for setting values in the 28X2's scratchpad (temperature thresholds, time delays, PID control gains etc.). It runs a solar thermal system and has a lot of...
  3. T

    Ever wonder how long PICAXE projects can last?

    I have a 20x2, 28x1, 18m2 and 2x 14m2's on stripboard circuits running a central heating thermostat and 3 bar rainwater pump controller 24/7 for 7 years - no faults at all. I also have raspberry Pis running 24/7 for a few years, but I had to reinstall the OS on all of them once a year to keep...
  4. T

    Syntax check: Memory Full with MINUS 251 bytes over

    This confusing issue is still present 8 years later in the 28x2 compiler in PE 6.1.0.0 and had me searching the manuals and then the forums yesterday. See the attached demonstrator code (too big to post here). It appears that the 'memory used' count on successful compilation increases pro-rata...
  5. T

    Preprocessor directives, colons, curly brackets & comments

    I program in C and am mindful that directives have to be on their own line with no inline comments. Directives in PE6 behave similarly to C code. e.g. the directive #define number 8 'comment would literally substitute if number > 8 then to if 8 'comment > 8 then
  6. T

    18X i2c

    I know the 18X is now totally yesteryear but I still have some lying around, and I'm sure others will. I had difficulty interfacing an i2c pressure sensor with an 18X (firmware v8.8), and read about others on the forum reporting similar problems in the past. I probed the SDA and SCL lines with...
  7. T

    Slow rising/falling input signals and TTL inputs

    I'm using an 18M2+ in a circuit that controls a 600W water pump (via a relay). For its inputs, float switches in a rainwater tank outside are connected to the 18M2 via long wires. The problem was, every time the pump turns on or off (even by an external switch downstream) it creates a lot of...
  8. T

    MacAxePad issues (or quirks, should I say?)

    MacAxePad 1.3.2 problems Hi, I've just upgraded from 1.2.0 to 1.3.2, and when I check syntax of a large 1968-byte (out of 2048) 18m2 program that was successful on 1.2.0, but on 1.3.2, instead I get this error message: at first, I thought its to do with the use of read and write commands...
  9. T

    PE installer vs. SmartScreen security

    Hi all, I got a stern series of security messages after a PE download using IE9 that may scare other users: "bas805.exe is not commonly downloaded and could harm your computer" clicking into "actions", a security popup (not like the usual ones) comes up and states "Smartscreen filter has...
  10. T

    When no MacAxePad windows are open, the File>New and Open menu items are greyed out,

    When no MacAxePad windows are open, the File>New and Open menu items are greyed out, When no MacAxePad windows are open, the File>New and Open menu items are greyed out, when they shouldn't be. Also erroneously greyed out are the View>Options and the whole of the Help menu. This means, to...
  11. T

    Any Beta releases?

    Hi, are there any beta releases of VSM ready with maybe just the X2 parts, or also with the 18M2? While we're still waiting... :) Thanks T
  12. T

    Pic16F88 ASM mode doesn't accept any __config value

    Hi there, When programming in assembler code in PE set to PIC16F88, the __config directive doesn't seem to accept any configuration value, including the defaults and including b'1111111111111111'. I have made a custom p16f88.inc file as correctly as I could, and I re-checked the config section...
  13. T

    Increasing the number of iterations without convergence allowed

    Hello there, How do I increase the amount of iterations without convergence allowed? This is so I won't get the too many iterations without convergence error so often.
  14. T

    VSM license renewal

    Hi there, I need to know how a VSM license renewal works. Does the renewal let me update the software for a year after I buy it, no matter when it expired, or does it simply extend the licence's expiry date by a year? The thing is, my license expired 13/05/2009 (more than a year ago) and I...
  15. T

    Strange program-at-address fault for X1 PICAXEs in VSM

    Here's the symptoms of the AXEVSM1 post-4000 bug that was difficult for me to trace until now: When a command (or any part of it) in an X1's program lies at any program memory address $4000 and beyond, and the program steps onto that command, it: improperly executes, does something not...
  16. T

    Illegal switch

    I have got the bas800 to do some assembler programming for fast signal manipulation which the PICAXE can't do. I needed to adapt the p12f627.inc, looking at the memory organisation section in the datasheet, for the pic12f683, so I created the p12f683.inc file. After working out all the...
  17. T

    PE stops responding, and does not close at all

    Hi, I am running windows vista 64-bit. I have PE open with the code in the attachment. This has happened 2 times today, and I think this never happened before: I changed "spimode01" into "spimode11" on both of the times. When I click the run button (did not save), PE stops responding...
  18. T

    Timer "t1s_4" value discreptancy!

    Hi, I have just found a widespread discreptancy with t1s_4 being 49910. This is where I think this has started: The internal timer part of the settimer command reference manual pages say: "Finally 65536 - 15625 = 49910, so our preload value become 49910." All I could say about this calculation...
  19. T

    Keyboard code table errors

    Hi, running editor 5.2.6: I have an RM 5211A keyboard, and I spotted a couple of code mismatches in the keyboard value table, after I have been echoing values from the keyboard to the serial terminal unchanged via a picaxe. 1. the \ key has a code of $61 on rm kb, but the table reads $5d...
  20. T

    Quick syntax checker needs updating

    Hello, I saw the quick syntax checker, and it does not have: adcsetup, booti2c, calibadc, calibadc10, clearbit, compsetup, disconnect, doze, get, hibernate, hintsetup, hpwm, hpwmduty, hserin, hserout, hsersetup, hspiin, hspiout, hspisetup, irin, irout, kbin, owin, owout, pauseus, peeksfr...
Top