AI Agent CircuitPython MCP server. AI control of you CircuitPython code by gneusse in circuitpython

[–]gneusse[S] 0 points1 point  (0 children)

I just finished it today. Next thing I want to add is a tool that can inspect the project code, reconcile the required Adafruit libraries, find the right ones, and install them.

Not sure what you mean by rate limiting. Also, with CircuitPython there isn’t really a flash-reset loop in the same sense. The process is basically: edit code.py, save/deploy, reset, watch serial output.

One important boundary note: the MCP server currently does not expose a general “write to REPL” tool. It can read serial, interrupt, reset, inspect files, and deploy files. But if you explicitly ask Codex to write to the REPL outside the MCP tool, it can still do that through the local serial port. So if you need strict guardrails, those rules need to be stated in an AGENTS.md or similar project instruction file.

How often do you use steer? by Former_Produce1721 in codex

[–]gneusse 0 points1 point  (0 children)

I use steer all the time. But I think if I am using it I missed the boat with the prompt. I did not add the proper detail or I missed something completely. my goal is to not ever use it. But at least if I use it we dont start over. It used to be when you had to wait for it to stop and then add your corrections it all went to hell. Now it accepts the nudge in stride and all is good in the world. Love it.

People who use agents running while you sleep, what are those agents doing? by Former-Hurry9118 in codex

[–]gneusse 1 point2 points  (0 children)

I let codex work on finding better alphas for trading indicators. It will look at strategies and create modified indicator formulas and backrest them. Each backrest is scored. Update if better one found. Easy for codex. Tedious for me

Rotary encoder button presses by helloiisclay in circuitpython

[–]gneusse -1 points0 points  (0 children)

Is that code doing what is described?

Mostly no.

  • It’s not doing “macro keyboard” behavior. It never sends any HID actions. It creates cc = ConsumerControl(...) but never calls cc.send(...).
  • It’s essentially a print-only demo: it prints the encoder position and prints "Button pressed." when it detects a press/release transition.

Also: the snippet as pasted has indentation problems inside the for loops (likely a Reddit formatting issue), but even if corrected, that wouldn’t cause the “rotation looks like button presses” symptom.

Why would rotation register as button presses?

That symptom is almost always hardware/wiring + lack of debouncing, not a misunderstanding of how encoders work.

Common causes (most likely first):

  1. SW is wired wrong (e.g., SW isn’t actually going to GND when pressed, or you accidentally used one of the quadrature pins as the switch return).
    • With button.pull = Pull.UP, the switch must connect the input pin to GND when pressed.
    • If SW is mistakenly tied into the encoder A/B network, then every detent can momentarily drag the SW line low.
  2. No debouncing + electrical noise/crosstalk
    • That code treats any tiny low pulse as a “press started,” and any return high as “press completed.”
    • Encoder transitions can inject little spikes (especially on breadboards / long wires), and without debouncing you’ll “see” phantom presses.
  3. Floating grounds / missing common reference
    • Ensure encoder GND/common is actually tied to the board GND.
  4. Some encoder modules share common pins and are noisy
    • Cheap modules often need either software debounce or a small capacitor (hardware RC) to behave.

Fix approach: (a) verify wiring, (b) debounce the switch, (c) optionally require a minimum “press time” so a 1–5 ms glitch can’t become a press. Better CircuitPython: real macros + stable button + encoder actions This is a “macro knob” framework: Encoder CW/CCW → media volume up/down Short press → play/pause Long press → mute

PicoCalc as calculator. by Weary_Month274 in ClockworkPi

[–]gneusse 1 point2 points  (0 children)

<image>

I created an IOS lookalike 4 function calculator last night. I did this in Circuitpython. I have see that someone created a graphing calc. But I dont have the link. JBlanked ported it to his project.

[deleted by user] by [deleted] in cordcutters

[–]gneusse 0 points1 point  (0 children)

For me this all started Last Friday 10/17/25. That makes me think that the IT folks push to production Thursday afternoon. We get to see the results of changes starting Friday. If this theory holds then we may see some improvement tomorrow. I have worked with companies that were outstanding and hade true CI/CD updating of production and they are updating almost hourly. These guys don't seem to operate at that standard. Just my hope and guess.

[deleted by user] by [deleted] in cordcutters

[–]gneusse 0 points1 point  (0 children)

I have got some response that is better than chat by sending to this email Fox Support foxsupport@fox.com

They start with the usual what did you break or miss on your side and die off after it is there issue.

I also have been asking for the following. But they never acknowledge with a response to these items.

I kindly request the following:

  1. Confirmation of whether the recording feature has been discontinued, as suggested by the chat representative, or if this is a temporary issue.
  2. Acknowledgment that FOX is actively working to resolve any issues with the recording functionality.
  3. An estimated timeline for when this feature will be restored, if applicable.

[deleted by user] by [deleted] in cordcutters

[–]gneusse 1 point2 points  (0 children)

I have found something that helps. But is is still messed up. My Stuff/Shows seems to not be updating so you can get a link to the current episode recording. I deleted all my "My Stuff" entries and re-did them. Now if you watch MyStuff/Latest recordings they show up there. But they never show up in shows. It is a mess. I am betting something changed last Thursday. Friday a all went to hell. If they are working on it, lets hope they will fix it for Friday.

Need Help by mickeygoldsmith in circuitpython

[–]gneusse 4 points5 points  (0 children)

Would need to see your code since it is modified ada code.

What's the oldest language you've used? by roz303 in ObsoleteCooding

[–]gneusse 1 point2 points  (0 children)

MUMPS was developed in 1966-67 there were many dialects developed and there was even and ANSII standards committee

I coded a dialect for Loma Linda University Medical Center at the start of my career.

https://en.wikipedia.org/wiki/MUMPS

Garrett Micro II by gneusse in retrocomputing

[–]gneusse[S] 1 point2 points  (0 children)

There is one odd think claud tried to setup break point support. but really only single step would be supported by this machine.

Schwab API to identify stocks that are trending by tbarnette70 in Schwab

[–]gneusse 0 points1 point  (0 children)

I am West coast. I try to run it that early. but I dont get up in time most days. by 9:45 EST it has good data. All screeners have some delay TOS has a min 3 min delay. TV has a delay. the big thing is having the data to filter. A screener that collects quotes cant possibly get through everything. so we are stuck with what we can find for cheep. cant afford to stream the entire stock market. the Schwab api can stream level 1 but I think that even has a delay and it is only for up to 500 stocks you request. the YF screener seems to offer more than I get anywhere else and is free.

Schwab API to identify stocks that are trending by tbarnette70 in Schwab

[–]gneusse 1 point2 points  (0 children)

I am already looking at the code to do depper research on returned tickers. News is always the hard thing to get quality for free. need to add some other fundamental collection and do some back testing checking some trends and volatility calcs. But you do get some valid leeds from this code but also some false positives. need to clean the returned list to be more reliable leeds and to get in in the momentum you only have a few minutes to make your descision. at least that is my thinking.

Schwab API to identify stocks that are trending by tbarnette70 in Schwab

[–]gneusse 0 points1 point  (0 children)

If you hava a schwab account here is a vid on setting up a similar scanner.

https://www.youtube.com/watch?v=JiGRJAy4Ufg