Search
-
COGINIT not working if code not reloaded? - Fixed
I wanted to measure the time difference between 1. starting a cog with cog ram load 2. restarting the cog, no cog ram load The code below does (1) but (2) fails. What have I done wrong, please, I'm going round in circles? DAT ORG getct startcycle getct cycles sub cycles, startcycle ' cycles ends up = 2 cogid cog_id… -
Propeller Live Forum
-
RFLONG works in hub exec
I have tested RFLONG in hub exec and it works, contrary to what the documentation says. It removes the long after the next instruction from the FIFO. Possible uses for this are (a) to read long data embedded within hub exec code, maybe put there by another cog and (b) to skip an instruction without any time penalty. An… -
P2 ADC project
Brief description: I have three 12V 300Ah batteries that I want to keep track of. And I will be capturing the data and moving it over to my rpi device, for further data manipulation. Since the Activity Board is now eol, I am going to start using the P2. On the Activity board it was a simple matter of how to hook the wires… -
New robot with parallax 12v motors
Original plan was a self-balancing bot but that didn’t really work out… https://forums.parallax.com/discussion/176241/self-balancing-bot-w-12v-parallax-wheels-attempt#latest Next idea is to pivot to 4 wheels. Also replacing parallax wheels with these mecanum things. Idea for main board is that wheels are 12” apart both… -
Re: RFLONG works in hub exec
After returning from hub execution to cog execution, is the FIFO shut down immediately, of would a rflong from cog PASM get the next addressed hub long after the RET? These FIFO values are static once in the pipeline? A write to a hub address from a second process won't change the a FIFO value about to be read from the… -
Re: RFLONG works in hub exec
-
Re: RFLONG works in hub exec
-
Re: P2 ADC project
As per Jon's diagram, yes, add two resistors, a capacitor, and terminals to the mini prototype. Desoldering and resoldering the same components can be done in the process of getting it right. The mini prototype board is perfect for messing up with. It starts with no electronics and only gains what you add to it. It's easy…

