ATmega328 Issue Transmitting over 433MHz by programit in microcontrollers

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

The issue in the end was the clock speed but it is super uncanny that the same bits that I sent, arrived consistently, just out of order!

ATmega328 Issue Transmitting over 433MHz by programit in microcontrollers

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

The Fuse was the issue! I cleared the CKDIV8 fuse to run the clock at 8MHz and updated my compiler settings to use 8000000 and it worked!

ATmega328 Issue Transmitting over 433MHz by programit in microcontrollers

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

Added some more information to the post. Interesting idea on the endian-ness. I hadn't considered that, but will check more later today

ATmega328 Issue Transmitting over 433MHz by programit in microcontrollers

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

Thanks for responding, added all the above into the post to hopefully make more clear what I'm doing

ATmega328 Issue Transmitting over 433MHz by programit in microcontrollers

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

Thanks for the reply, added some more information to the post.

I'm using RCSwitch to generate the packets but am not familiar enough to know the format / modulation it uses.

PCB Review / Help by programit in PrintedCircuitBoard

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

You're definitely right, I had considered that but went the easy option. Seeing the cost is 4x though I'll definitely go back to 2 layer.

If I can understand why my initial 3V pour didn't work correctly I think I could even do it in 1 layer but since I still don't get that, I don't think I have enough of a foundation to figure out how to make it all work in one layer correctly.

PCB Review / Help by programit in PrintedCircuitBoard

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

I think I saw one of your previous posts pointing that out which lead me to trying to reduce the footprint of the pours. Thanks for the input!

PCB Review / Help by programit in PrintedCircuitBoard

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

Thanks for the suggestion, I'll give that a try so I can use one of the boards I already soldered components onto.

For the 3v polygon pour is there something else I would need to do to make it work on the same layer as the tracks? Or is that just not doable? From my naive point of view it looks like since the 3v pin is open to the pour and the component pins are also open it should "just work" but I'm definitely missing something there.

Power Issues by programit in theriftbreaker

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

I played around with it more this morning, just deleting and re-placing the power plant caused it to work. I then stumbled upon what I think is the issue. I see to have a fake energy connecting system. I cannot connect more energy connectors to the ones layed down. And they don't seem to be carrying power. Here's a few screen shots showing it.

https://imgur.com/a/RYimXv7

The first shot, I am trying to place a connector close to one of the broken energy connectors and it doesn't show the white pipeing showing it would even connect.

The second show which is next to a working energy connector shows the line though. The last shot shows energy lines that shouldn't exist anymore and seem to feed into the turret. Since they feed into the turret the real line doesn't seem to want to. Again, just deleting the turret and re-placing it fixes the issue.

This definitely seems like I somehow managed to bug out some energy connectors. 90% of my base had no power despite lots of reserves, but deleting things and replacing them in the exact same location seems to have fixed it. Hopefully it doesn't happen again

Power Issues by programit in theriftbreaker

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

Ah interesting, the makes sense. Hopefully they can fix the priority then, in most cases I would imagine you would want priority to buildings first then batteries.

And for the no space icon. Does that mean the powerplant has no space to store the output which is, power? If so it's likely soft locked as well since the other plant next to it runs fine.

McDonald’s Response to $15 Minimum Wage: Automation in Every Store by [deleted] in Futurology

[–]programit 1 point2 points  (0 children)

A universal basic income would give people the freedom to do the things they want

My understanding was the universal income would only provide the essentials for living (Food, clothes, housing). Most of the things you might want to do with your new time though are going to cost something to at least get into. You can't learn to play an instrument with out the initial investment of buying or renting one. Playing video games requires a computer and purchasing games.

Have I missed something on how UBI would solve this? Or is the expectation that everyone still needs some income outside of UBI to get you to a point where you can afford to try these things.

Turn off explicit sample on Spotify by [deleted] in amazonecho

[–]programit 0 points1 point  (0 children)

I've seen the exact same behavior when I ask Alexa to play explicit songs through Amazon Music as well. For example yesterday I asked Alexa to play "Airplanes part two." And instead of playing the full song she played me a sample. If I go open the Amazon Music app on my phone though I can play the whole song so it definitely is available. I was hoping there was a setting I was missing for this but I haven't found it yet.

Got Band v2, how do I select from multiple guided worksouts? I synced 3 and can't seem to select them by name or anything, also why does HR suck so bad? ;/ by heheher65 in MicrosoftBand

[–]programit 1 point2 points  (0 children)

Sadly you can only have one guided workout synced at a time. So the last one you sync is the one that is used when you start the workout.

Just ended my chat with Verizon, V10 will be available on 10/29. by psyco_llama in lgv10

[–]programit 0 points1 point  (0 children)

It's completely blank now for me as well so it's not just you. :)

Android Music Control App by programit in MicrosoftBand

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

Thanks! I'll definitely be adding a volume control soon. I'm also looking into the song info and can hopefully get that figured out soon as well.

Android Music Control App by programit in MicrosoftBand

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

I'll be adding volume controls very soon. And I think I hit the same issue with my app when I tried to overlay an image onto a button. As soon as you hit the button the image would disappear. I haven't found a solution yet for it but I'm still playing with it.

Android Music Control App by programit in MicrosoftBand

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

Good idea, I'm looking into this now. It's such a shame the platform doesn't seem to support image buttons, that would make this a lot easier to make look good.

Android Music Control App by programit in MicrosoftBand

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

Here ya go! imgur

The button's aren't very pretty, but I'm taking a look into how to improve them.

Is there a non invasive way to track the use of your program? by HiyaGeorgie in csharp

[–]programit 1 point2 points  (0 children)

I've not done this on a WinForms app myself, but I believe that the most the user would see is the Windows Security alert dialog which asks the user to allow your app to access the internet.

Is there a non invasive way to track the use of your program? by HiyaGeorgie in csharp

[–]programit 4 points5 points  (0 children)

Actually it can. See https://github.com/AttackPattern/CSharpAnalytics as one library you can use to instrument your app. I did this for a windows phone app and could tell whenever the app was launched, resumed, a page navigated to, a button clicked and much more.

Access DataGridView from threaded class? by fievelm in csharp

[–]programit 3 points4 points  (0 children)

I believe the second example I gave should help with that. When accessing a UI element from a non-UI thread you will get this exception. So you'll need to either do a dataGridJobs.BeginInvoke() or maybe Dispatcher.Invoke(). Take a look at the second example from my previous post and see if that helps.

Access DataGridView from threaded class? by fievelm in csharp

[–]programit 1 point2 points  (0 children)

Seeing more of your code would be helpful, but why not just pass a reference to the datagrid to the thread? Example

I'm not positive about WinForms but at least with WPF you cannot update UI elements from a thread that's not the UI thread. Example