mmu_man, French
@mmu_man@m.g3l.org avatar

Is it true that the designers of the Arduino Uno didn't think it'd be useful to use a single port as a full 8-bit I/O and you have to make a composite thing with a lib because they used 2 bits on the D port to talk to the other uC on the board!???

😱

https://projecthub.arduino.cc/ambhatt/8-bit-io-port-library-for-arduino-432ebd

emily,
@emily@sparkly.uni.horse avatar

@mmu_man this is exactly what I expect from arduino tbh

mmu_man,
@mmu_man@m.g3l.org avatar

@emily well I suppose fault is also on Atmel's side for putting a serial I/O on this port but eh…

emily,
@emily@sparkly.uni.horse avatar

@mmu_man huh, thought it was remappable but I guess not? that's obnoxious

mmu_man,
@mmu_man@m.g3l.org avatar

@emily didn't check, oh well, I suppose I'll use some macros around that lib and map it so I can later just replace it with some bitmasking and pass the lower 2 bits on port B…

pulkomandy,
@pulkomandy@mastodon.tetaneutral.net avatar

@mmu_man @emily but if you work with AVR microcontrollers, you can pick one that doesn't have this problem. If you do Arduino, don't try to know what the underlying hardware really does, use the Arduino abstractions if you want to remain happy about it

mmu_man,
@mmu_man@m.g3l.org avatar

@pulkomandy @emily hmm yeah but I just want to make a simple uC programmer, not design 15 iterations of a PCB… But I'd rather have it program the chip in less than a week.

mmu_man,
@mmu_man@m.g3l.org avatar

maybe the MEGA is less braindead?

ScriptFanix,
@ScriptFanix@maly.io avatar

@mmu_man
You're brain-dead (bitch)!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • InstantRegret
  • slotface
  • osvaldo12
  • kavyap
  • khanakhh
  • Durango
  • megavids
  • everett
  • cisconetworking
  • normalnudes
  • tester
  • ngwrru68w68
  • cubers
  • modclub
  • tacticalgear
  • provamag3
  • Leos
  • anitta
  • JUstTest
  • lostlight
  • All magazines