Search results

  1. Technical

    Hippy

    PICAXE products are used extensively in schools around the world, and the global pandemic has caused many school closures in many countries for several months, which has had a significant effect on educational sales, both direct and via our regional distributors. Therefore a number of Rev-Ed...
  2. Technical

    put and get don't work with s_wn variables in simulator

    Thanks, we'll look into this simulator bug.
  3. Technical

    PE6 Terminal, control character behaviour ?

    All feature requests/bugs are logged on our ticket system.
  4. Technical

    14m2 and Touch16 'channels' ids

    As stated above, the compiler will now auto-correct use of pin number to the corresponding channel number. So touch16 4, w0 won't work for B.4 (as channel 4 is C.4) so you need to use touch16 B.4, w0. PortC is channel 0-7 and portB is channel 8-15 On earlier generation chips we found that...
  5. Technical

    Micropower High pin solution?

    Pins are floating inputs by default until switched to be an output. So a pullup resistor with commands like 'low c.0' (output low) and 'input c.0' (floating input, so pulled up high) will do what you require.
  6. Technical

    What's next after M2?

    PICAXE products are based upon PIC microcontrollers from Microchip. Any new PICAXE generation chip therefore requires a suitable new (ie enhanced, improved and/or new features) base level PICmicro to enable any new generation of PICAXE chips to be developed. As new PICmicros are released every...
  7. Technical

    Motor controller with speed steps stack overflow error picaxe locks up

    People are only trying to help. Using a pencil follow your program line by line. When you get to a goto move the pencil to the next label and just carry on. When you get to a gosub think 'I will come back here whenever I next get to a return command'. Leave a pencil mark, then carry on. When...
  8. Technical

    Problems with hserout/hserptr

    Ok yes, we were referring to the simpler test program which implies an expectation that hserptr will increment for each hserout byte (which it does not). More information on the hardware setup would be beneficial for us all to understand what is being attempted.
  9. Technical

    Problems with hserout/hserptr

    You do not access the scratchpad at all in post 1? Scratchpad is accessed via put / get and @ptr
  10. Technical

    ADC channel numbers

    The historical answer is channel numbers often confused people, so we now recommend that you use the port.pin label and let the compiler sort out the rest!
  11. Technical

    Problems with hserout/hserptr

    In this context hserptr tells you how many bytes have been serially received and stored in the scratchpad memory. It is unrelated to how many bytes have been sent, hserptr does not increment just processing a hserout command. However if the device at the other end responds with some data, this...
  12. Technical

    Confused 40X2 pin count - labelling

    The TQFP is on page 40 of the manual https://picaxe.com/docs/picaxe_manual1.pdf The QFN part is only available to special order, normally only used by industrial partners as it is so small. It does have a few different pins, the pinouts of all 3 parts are side by side within the Microchip...
  13. Technical

    Dead links in the Picaxe store

    Thanks, we will get these old broken links redirected.
  14. Technical

    SPE035

    MDEFAULT is a constant, exactly the same format as M4 or M8 (and equivalent to either depending on the chip you are using). It's included in the latest compilers within PE6, PE5 has not been updated for many years as no longer supported. However if you were to manually copy the latest compilers...
  15. Technical

    PE6.1.0.0 Desktop Layout problem (Win. 10).

    Each pane has docking arrows, and can be docked with each other as you please, I think if you have a very small screen layout, as in your screenshots, panels and their arrows may overlap/conflict more than expected - it would probably be easier to use a larger overall window when aligning the...
  16. Technical

    PE6.1.0.0 Desktop Layout problem (Win. 10).

    To dock panels back together you need to grab the blue title bar at the top of the panel you want to move (e.g. simulation) and drag it over the other panel (e.g. workspace explorer). Wait until the grey arrow docking icons appear, and then move simulation panel until the 'bottom' docking arrow...
  17. Technical

    Technical

    Are you using the BLE112 dongle?
  18. Technical

    Converting input pin settings to decimal/binary numbers then to outputs

    You need to remember that any pinsB statement always controls/reads all 8 pins. So to read you need to mask off the 4 bits of importance, so something like let b1 = pinsC & %00001111 + 104 On the receiver end it is a bit more complex, as using outpinsB = xxx will control all 8 bits, not just...
  19. Technical

    08M2 pin c.5 as 'straight' high/low input in simulation

    You need to add a 'disconnect' command before using the serrxd pin as a normal input. Otherwise, as on a a real chip, it will reset the device.
  20. Technical

    S2Bot lego boost: details on turn motor on for secs

    All the official lego apps always use 0x64 (100 decimal) for maxPower regardless, so so do we! You then set the 'speed' and 'direction' by using a number between -100 and +100
Top